NTP does not sync over IPv6

0

I deployed an NTP server on Debian 8.5 with the following hosts:

server time1.example.com
server time2.example.com
---
server time5.example.com

time5 is an ipv6-only host.

Further down the config, I have

restrict -6 1:1:1:::1 kod noquery nopeer nomodify notrap

# Local users may interrogate the ntp server more closely.
restrict 127.0.0.1
restrict ::1

# Restrict everything else
restrict default ignore

When I run ntpq -p, it shows me

 time5.example.com .INIT.  16 u - 512 0 0.000 0.000 0.000

Is there something wrong in my config? I ran an ip6tables -L command and there are no rules, and it's set to allow.

IPv6 is enabled on the host. It's on Digital Ocean.

debianuse1

Posted 2016-06-28T21:11:06.110

Reputation: 13

1It is a good idea to paste your entire config. You are probably not the best judge of what is relevant, if you were, you would not be posting this question. Please post entire config, and what commands you have used to verify connectivity to the ipv6 timeserver. finally you realize your example restrict line uses an ipv4 address? – dfc – 2016-06-28T21:36:45.840

IPv4 is working fine. I'm only having issues with IPv6 for NTP. – debianuse1 – 2016-06-28T21:54:17.477

You are looking for help but you failed to address any of my comments and questions; you simply restates tour question. Why would people want to take time out of their day to help when you behave like this? – dfc – 2016-06-28T22:09:23.017

1@debianuse1 1.1.1.1 is not an IPv6 address. Try default instead. – BillThor – 2016-06-29T01:09:03.847

1Your edited address, 1:1:1:::1 is not a valid IPv6 address. – Ron Maupin – 2016-06-29T13:30:13.313

I used it as an example. – debianuse1 – 2016-06-29T13:45:27.187

Also, I can ping6 IP_ADDR and ping6 HOST_NAME from the host and it works. – debianuse1 – 2016-06-29T13:48:14.517

No answers