1#
| 1#
|
2# $FreeBSD: head/etc/ntp.conf 195652 2009-07-13 05:51:33Z dwmalone $
| 2# $FreeBSD: head/etc/ntp.conf 239464 2012-08-20 18:45:16Z delphij $
|
3# 4# Default NTP servers for the FreeBSD operating system. 5# 6# Don't forget to enable ntpd in /etc/rc.conf with: 7# ntpd_enable="YES" 8# 9# The driftfile is by default /var/db/ntpd.drift, check 10# /etc/defaults/rc.conf on how to change the location. 11# 12 13# 14# The following three servers will give you a random set of three 15# NTP servers geographically close to you. 16# See http://www.pool.ntp.org/ for details. Note, the pool encourages 17# users with a static IP and good upstream NTP servers to add a server 18# to the pool. See http://www.pool.ntp.org/join.html if you are interested. 19# 20# The option `iburst' is used for faster initial synchronisation.
| 3# 4# Default NTP servers for the FreeBSD operating system. 5# 6# Don't forget to enable ntpd in /etc/rc.conf with: 7# ntpd_enable="YES" 8# 9# The driftfile is by default /var/db/ntpd.drift, check 10# /etc/defaults/rc.conf on how to change the location. 11# 12 13# 14# The following three servers will give you a random set of three 15# NTP servers geographically close to you. 16# See http://www.pool.ntp.org/ for details. Note, the pool encourages 17# users with a static IP and good upstream NTP servers to add a server 18# to the pool. See http://www.pool.ntp.org/join.html if you are interested. 19# 20# The option `iburst' is used for faster initial synchronisation.
|
21# The option `maxpoll 9' is used to prevent PLL/FLL flipping on FreeBSD.
| |
22#
| 21#
|
23server 0.freebsd.pool.ntp.org iburst maxpoll 9 24server 1.freebsd.pool.ntp.org iburst maxpoll 9 25server 2.freebsd.pool.ntp.org iburst maxpoll 9 26#server 3.freebsd.pool.ntp.org iburst maxpoll 9
| 22server 0.freebsd.pool.ntp.org iburst 23server 1.freebsd.pool.ntp.org iburst 24server 2.freebsd.pool.ntp.org iburst 25#server 3.freebsd.pool.ntp.org iburst
|
27 28# 29# If you want to pick yourself which country's public NTP server 30# you want sync against, comment out the above servers, uncomment 31# the next ones and replace CC with the country's abbreviation. 32# Make sure that the hostnames resolve to a proper IP address! 33#
| 26 27# 28# If you want to pick yourself which country's public NTP server 29# you want sync against, comment out the above servers, uncomment 30# the next ones and replace CC with the country's abbreviation. 31# Make sure that the hostnames resolve to a proper IP address! 32#
|
34# server 0.CC.pool.ntp.org iburst maxpoll 9 35# server 1.CC.pool.ntp.org iburst maxpoll 9 36# server 2.CC.pool.ntp.org iburst maxpoll 9
| 33# server 0.CC.pool.ntp.org iburst 34# server 1.CC.pool.ntp.org iburst 35# server 2.CC.pool.ntp.org iburst
|
37 38# 39# Security: Only accept NTP traffic from the following hosts. 40# The following configuration example only accepts traffic from the 41# above defined servers. 42# 43# Please note that this example doesn't work for the servers in 44# the pool.ntp.org domain since they return multiple A records. 45# (This is the reason that by default they are commented out) 46# 47#restrict default ignore 48#restrict 0.pool.ntp.org nomodify nopeer noquery notrap 49#restrict 1.pool.ntp.org nomodify nopeer noquery notrap 50#restrict 2.pool.ntp.org nomodify nopeer noquery notrap 51#restrict 127.0.0.1 52#restrict -6 ::1 53#restrict 127.127.1.0 54 55# 56# If a server loses sync with all upstream servers, NTP clients 57# no longer follow that server. The local clock can be configured 58# to provide a time source when this happens, but it should usually 59# be configured on just one server on a network. For more details see 60# http://support.ntp.org/bin/view/Support/UndisciplinedLocalClock 61# The use of Orphan Mode may be preferable. 62# 63#server 127.127.1.0 64#fudge 127.127.1.0 stratum 10
| 36 37# 38# Security: Only accept NTP traffic from the following hosts. 39# The following configuration example only accepts traffic from the 40# above defined servers. 41# 42# Please note that this example doesn't work for the servers in 43# the pool.ntp.org domain since they return multiple A records. 44# (This is the reason that by default they are commented out) 45# 46#restrict default ignore 47#restrict 0.pool.ntp.org nomodify nopeer noquery notrap 48#restrict 1.pool.ntp.org nomodify nopeer noquery notrap 49#restrict 2.pool.ntp.org nomodify nopeer noquery notrap 50#restrict 127.0.0.1 51#restrict -6 ::1 52#restrict 127.127.1.0 53 54# 55# If a server loses sync with all upstream servers, NTP clients 56# no longer follow that server. The local clock can be configured 57# to provide a time source when this happens, but it should usually 58# be configured on just one server on a network. For more details see 59# http://support.ntp.org/bin/view/Support/UndisciplinedLocalClock 60# The use of Orphan Mode may be preferable. 61# 62#server 127.127.1.0 63#fudge 127.127.1.0 stratum 10
|