[ntp:questions] Restrict accepts also hostname ?!
kostecke at ntp.isc.org
Wed Mar 14 12:17:08 UTC 2007
On 2007-03-14, RICCARDO <castellani.riccardo at tiscali.it> wrote:
> restrict ntp1.inrim.it nomodify noquery notrap nopeer
> I found into this group that "restrict" requires only ipaddress but
> also with hostname I had no problems.
You _can_ use a host-name on a restrict line only _if_ that host-name
resolves to _one_ IP address.
You _can_ _not_ use a host-name that resolves to _multiple_ IP addresses
on a restrict line.
This is because the restrict line uses only the first IP address that is
This obviously rules out the use of pool.ntp.org host-names in restrict
Steve Kostecke <kostecke at ntp.isc.org>
NTP Public Services Project - http://ntp.isc.org/
More information about the questions