[ntp:questions] question about my ntpd.conf

Cong congngo at yahoo.com
Wed Oct 25 21:20:16 UTC 2006


Everything is working.  I just have a few questions about my ntp.conf
from lines 6-10

server 0.us.pool.ntp.org
server 1.us.pool.ntp.org
server 2.us.pool.ntp.org

6. restrict default kod nomodify notrap noquery
7. restrict 0.pool.ntp.org mask nomodify notrap noquery
8. restrict 1.pool.ntp.org mask nomodify notrap noquery
9  restrict 2.pool.ntp.org mask nomodify notrap noquery
10. restrict mask nomodify notrap

server	# local clock
fudge stratum 10
driftfile /var/lib/ntp/drift
logfile /var/log/ntp.log
broadcastdelay	0.008
keys		/etc/ntp/keys

Since I already have line 6 do I really need to add lines 7-10 because
of the word  default in line 6?

shouldn't I have this line for my server instead like below
restrict a.b.c.d (my server) mask nomodify notrap no


More information about the questions mailing list