Subject: Re: bin/30745: ntp dies on IPv4-only kernels
To: "Martin Husemann <>
From: Frederick Bruckman <>
List: netbsd-bugs
Date: 09/03/2005 11:45:20
In article <>,
	Martin Husemann <> writes:
> When upgrading a machine to 3.0_BETA or -current, ntpd might stop working.
> If you have a time server in your /etc/ntp.conf that has a IPv6 address,
> like the former public server at
> is an alias for
> has address
> is an alias for
> has IPv6 address 2001:660:5001:100::6
> is an alias for
> and you are running a IPv4 only kernel, ntpd logs:
> sendto(2001:660:5001:100::6): Address family not supported by protocol family
> and dies!
> I'm sure this is part of the conspiracy to force everyone into IPv6 - but
> please start pushing ISPs first instead of users.

Ha! Indeed. I'm starting to think that global IPv6 is never going
to happen.

You can put "-4 " before the name of the server to force IPv4.
Does that help?

There's an open request to have ntpd try all addresses in turn:

A more general solution would be to train the resolver to do IPv4
only.  In lieu of that, if you can run a nameserver, the latest
version of bind9 has a "-4" option, which is "politically correct"
by virtue of there also being a "-6" option.