]> CyberLeo.Net >> Repos - FreeBSD/releng/8.2.git/blob - etc/ntp.conf
Fix named(8) DNSSEC validation Denial of Service.
[FreeBSD/releng/8.2.git] / etc / ntp.conf
1 #
2 # $FreeBSD$
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 #
23 server 0.freebsd.pool.ntp.org iburst maxpoll 9
24 server 1.freebsd.pool.ntp.org iburst maxpoll 9
25 server 2.freebsd.pool.ntp.org iburst maxpoll 9
26 #server 3.freebsd.pool.ntp.org iburst maxpoll 9
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 #
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
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