On 07/08/2019 11.59, Per Jessen wrote:
Carlos E. R. wrote:
...
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 addresses.
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.
Gosh. I tremble every time I touch them. :-} I have two zone files: /etc/named/zone/1.168.192: $TTL 86400 1.168.192.in-addr.arpa. SOA Telcontar.valinor. root.Telcontar.valinor. ( 2018071501 28800 7200 604800 86400 ) NS Telcontar.valinor. ... 14 PTR Telcontar.valinor. 15 PTR AmonLanc.valinor. 16 PTR Isengard.valinor. /etc/named/zone/valinor: $TTL 86400 valinor. SOA Telcontar.valinor. root.Telcontar.valinor. ( 2018071501 28800 7200 604800 86400 ) NS Telcontar MX 10 Telcontar ... Telcontar A 192.168.1.14 MX 10 Telcontar AmonLanc A 192.168.1.15 Isengard A 192.168.1.16 As you see, I don't cover IPv6 at all. I would not know how to start. Maybe find some sample files on google :-? -- Cheers / Saludos, Carlos E. R. (from 15.0 x86_64 at Telcontar)