Carlos E. R. wrote:
On 07/08/2019 08.50, Per Jessen wrote:
James Knott wrote:
> Now that you've switched, what does "ntpq -pn" tell you?
> I have just enabled and configured ntpd on a test machine, eventually
> it also prefers IPv4, but that's because it has a higher stratum:
> # ntpq -pn
> remote refid st t when poll reach delay offset
.DCFa. 1 u 37 64 77 0.222
*fe80::202:a5ff: 192.168.2.254 2 b 14 16 376 0.115
I don't remember why the IPv6 address only is stratum 2, but there
is some explanation.
So that I can try, how does ntp know that a server has both IPv4 and 6
on the same network? By setting both addresses on the dns server?
Yes, exactly. Or in my case, I use ipv6 multicast. If you just specify
one server in ntp.conf, I think you also only ought to see one opf the
I tried adding the IPv6 entry in /etc/hosts, but
doesn't work. This
machine uses bind since ages, and I don't know how to add IPv6 entries
to it... I have being considering changing to dnsmasq instead, but...
You add IPv6 the same way you add IPv4 - edit the zone file, add
a 'AAAA' record.
Per Jessen, Zürich (18.6°C)
- your owncloud, hosted in Switzerland.
To unsubscribe, e-mail: opensuse+unsubscribe(a)opensuse.org
To contact the owner, e-mail: opensuse+owner(a)opensuse.org