[ntp:questions] ***SPAM*** Re: Restrict accepts also hostname ?!
mayer at ntp.isc.org
Sun Mar 25 18:03:03 UTC 2007
Hal Murray wrote:
>> You _can_ use a host-name on a restrict line only _if_ that host-name
>> resolves to _one_ IP address.
> Here's a possibly crazy suggestion...
> Suppose that ntpd remembered the results of any DNS lookups. The
> server line would load the cache and the restrict line would
> use the same answer.
> I see lots of variations on the details.
It should. It's one of the items on my list to fix. It's also
complicated by the fact that we SHOULD be remembering ALL of the IP
addresses returned by the lookup and not just the first one.
More information about the questions