diff options
Diffstat (limited to 'source/n/ntp/ntp.conf')
-rw-r--r-- | source/n/ntp/ntp.conf | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/source/n/ntp/ntp.conf b/source/n/ntp/ntp.conf index b2476786e..74aae4c19 100644 --- a/source/n/ntp/ntp.conf +++ b/source/n/ntp/ntp.conf @@ -13,7 +13,10 @@ # server 127.127.1.0 # local clock fudge 127.127.1.0 stratum 10 -#server pool.ntp.org + +# +# NTP server (list one or more) to synchronize with: +#server pool.ntp.org iburst # # Drift file. Put this in a directory which the daemon can write to. @@ -22,8 +25,12 @@ fudge 127.127.1.0 stratum 10 # it to the file. # driftfile /etc/ntp/drift -multicastclient # listen on default 224.0.1.1 -broadcastdelay 0.008 + +# +# Uncomment to use a multicast NTP server on the local subnet: +#multicastclient 224.0.1.1 # listen on default 224.0.1.1 +# Set an optional compensation for broadcast packet delay: +#broadcastdelay 0.008 # # Keys file. If you want to diddle your server at run time, make a @@ -37,8 +44,11 @@ broadcastdelay 0.008 #requestkey 65535 #controlkey 65535 +# # Don't serve time or stats to anyone else by default (more secure) restrict default noquery nomodify + +# # Trust ourselves. :-) restrict 127.0.0.1 |