]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - etc/ntp.conf
Rework locking and reference counting in ipx_control to be consistent with
[FreeBSD/FreeBSD.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://en.wikipedia.org/wiki/NTP_pool for details.
17 #
18 # The option `iburst' is used for faster initial synchronisation.
19 # The option `maxpoll 9' is used to prevent PLL/FLL flipping on FreeBSD.
20 #
21 server 0.pool.ntp.org iburst maxpoll 9
22 server 1.pool.ntp.org iburst maxpoll 9
23 server 2.pool.ntp.org iburst maxpoll 9
24
25 #
26 # If you want to pick yourself which country's public NTP server
27 # you want sync against, comment out the above servers, uncomment
28 # the next ones and replace CC with the country's abbrevation.
29 # Make sure that the hostnames resolve to a proper IP address!
30 #
31 # server 0.CC.pool.ntp.org iburst maxpoll 9
32 # server 1.CC.pool.ntp.org iburst maxpoll 9
33 # server 2.CC.pool.ntp.org iburst maxpoll 9
34
35 #
36 # Security: Only accept NTP traffic from the following hosts.
37 # The following configuration example only accepts traffic from the
38 # above defined servers.
39 #
40 # Please note that this example doesn't work for the servers in
41 # the pool.ntp.org domain since they return multiple A records.
42 # (This is the reason that by default they are commented out)
43 #
44 #restrict default ignore
45 #restrict 0.pool.ntp.org nomodify nopeer noquery notrap
46 #restrict 1.pool.ntp.org nomodify nopeer noquery notrap
47 #restrict 2.pool.ntp.org nomodify nopeer noquery notrap
48 #restrict 127.0.0.1
49 #restrict -6 ::1
50 #restrict 127.127.1.0
51
52 #
53 # If we lose sync against all configured servers, the NTP clients
54 # syncing against this server will lose sync too. To overcome this,
55 # we will act as a stratum 10 server with our own internal clock
56 # so that everybody at least will have the same time as we have.
57 #
58 server 127.127.1.0
59 fudge 127.127.1.0 stratum 10