[ntp:questions] question about my ntpd.conf

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


Hello

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

restrict 127.0.0.1
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 255.255.255.255 nomodify notrap noquery
8. restrict 1.pool.ntp.org mask 255.255.255.255 nomodify notrap noquery
9  restrict 2.pool.ntp.org mask 255.255.255.255 nomodify notrap noquery
10. restrict 10.0.0.0 mask 255.255.255.0 nomodify notrap

server	127.127.1.0	# local clock
fudge	127.127.1.0 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 255.255.255.255 nomodify notrap no
query

thank




More information about the questions mailing list