[ntp:questions] ntpd access restrictions: Server allowed works only with ipaddress

E-Mail Sent to this address will be added to the BlackLists Null at BlackList.Anitech-Systems.invalid
Tue Apr 1 18:30:13 UTC 2014

On 3/28/2014 1:50 AM, Witt, Stefan wrote:
> Hello, looking for an answer of the following misbehaviour:
> Server entries are only valid and accepted if I use ip-address
>  and not if I user fqdn of the timeserver1/2!
> Resolving of Timeserver-fqdn is successful!
> Do anybody have an explanation of this unexpected behavior?
> the ntp.conf looks quite like that:
> restrict mask nomodify nopeer

# try adding restrict source,
#  necessary if the fqdn is a pool (returns more than one IP Address)

restrict source nomodify notrap noquery

> server
> fudge stratum 5

# Try orphan instead;
#  Orphan will likely behave less broken less often than Local 127.127.1 ends up

tos cohort 1 orphan 11

> ### internal timeserver:
> ##server fqdn-timeserver1 prefer
> ##server fqdn-timeserver2

# Also try pool instead of server?

pool fqdn-timeserver1 iburst preempt #prefer
pool fqdn-timeserver1 iburst preempt
pool pool.ntp.org iburst preempt

> # internal  timeserver:
> server <ipv4-adress-timeserver1> prefer
> server <ipv4-adress-timeserver2>

# try adding manycast / multicast for easier LAN client / server support?

keys "/etc/ntp.keys" # e.g. contains: 123 M YOUR_MD5_KEY
trustedkey 123

manycastclient key 123 preempt
multicastclient key 123 preempt

E-Mail Sent to this address <BlackList at Anitech-Systems.com>
  will be added to the BlackLists.

More information about the questions mailing list