[ntp:questions] Pool returns IPv6 address to IPv4 query

Danny Mayer mayer at ntp.org
Mon Nov 18 21:01:39 UTC 2013


On 11/18/2013 2:44 PM, A C wrote:
> On 11/18/2013 11:18, Majdi S. Abbas wrote:
> 
>>
>> 	The fact that it's even trying means you didn't start ntpd with
>> -4, and the host has at least one IPv6 interface (this might be as
>> simple as v6 enabled on the loopback.)
>>
>> 	So, either ensure that v6 is fully disabled on the host, or add
>> -4 to your ntpd startup parameters.
>>
> 
> lo0 did indeed have a v6 address configured (hadn't noticed) though my
> eth0 does not.  I would not have expected ntpd to use v6 if any one
> interface did not have it.  Up until this point it never returned a v6
> address on lookup so that's probably why I never noticed that v6 had
> been enabled again (recent upgrade of OS).  I've disabled all v6 now and
> added -4 for good measure.

ntpd will use whatever addresses it gets back from DNS. If you don't
specify that you only want IPv4 addresses and it gets an IPv6 address it
will attempt to use it. This is a DNS and configuration issue not an ntp
issue. This is true of all applications (whether client or server) these
days.

Danny



More information about the questions mailing list