I have a CentOS 6.4 server, it does not have any iptable rules, it runs NTP daemon as service using the following configuration:
driftfile /var/lib/ntp/drift
server 0.pool.ntp.org
server 1.pool.ntp.org
server 2.pool.ntp.org
server 3.pool.ntp.org
restrict default ignore
restrict 127.0.0.1
When I run ntpq
to query peers, the following response is received:
ntpq> peers
localhost.localdomain: timed out, nothing received
dig
shows that:
localhost.localdomain. 86400 IN A 127.0.0.1
Why doesn't ntp query work?