[FreeBSD] Newbie question. Is my /etc/ntp.conf correct?
[FreeBSD] Newbie question. Is my /etc/ntp.conf correct?
Hello WHT! I'm new to FreeBSD 6.3 and am trying to set up NTPD on my server. I'm not sure about the restrict part. I'm trying to block accesses from all servers, but would like to be able to synchronize with the list I added.
The way I understand it is that, if I use restrict without any flag, then it should allow access to the servers on the list to update the time, and should bypass the default rule. Am I correct?
Also, is there a way to test if my NTPD is updating correctly? I tried googling but couldn't find anything useful. Thanks!
Code:server 0.pool.ntp.org server 1.pool.ntp.org server 2.pool.ntp.org server pool.ntp.org driftfile /var/db/ntp.drift restrict default ignore restrict 0.pool.ntp.org restrict 1.pool.ntp.org restrict 2.pool.ntp.org restrict pool.ntp.org