]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - etc/ntp.conf
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.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 #
22 server 0.freebsd.pool.ntp.org iburst
23 server 1.freebsd.pool.ntp.org iburst
24 server 2.freebsd.pool.ntp.org iburst
25 #server 3.freebsd.pool.ntp.org iburst
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 #
33 # server 0.CC.pool.ntp.org iburst
34 # server 1.CC.pool.ntp.org iburst
35 # server 2.CC.pool.ntp.org iburst
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