ntpd / time synchronization

Zbigniew Szalbot z.szalbot at lcwords.com
Mon Jul 27 23:08:31 UTC 2009

Chuck Swiger pisze:

> You can't readily combine a restrict statement with using random 
> timeservers from the NTP pool; you would need to list specific servers 
> and add blank restrict statements for each server you trust.  What 
> you've configured is likely querying the 4 servers listed for time, but 
> not trusting their responses so your clock never find a server which it 
> is willing to sync to.
> Running "ntpq -p -c rv" would be informative....

Well, it seems you are right :)

$ ntpq -p -c rv
ntpq: read: Connection refused
ntpq: read: Connection refused

I took it from

If you want to deny all machines from accessing your NTP server, add the 
following line to /etc/ntp.conf:

restrict default ignore

OK. So removing the restrictions should cause the time to be synced?

Thank you for your patience and help!

           Zbigniew Szalbot

More information about the freebsd-questions mailing list