]> git.pld-linux.org Git - packages/ntp.git/blob - ntp.conf
- allow ntpq -p to work by default from localhost
[packages/ntp.git] / ntp.conf
1 #
2 # Default ntp stratum 1 servers:
3 #
4 # server        ntp.nasa.gov
5 # server        clock.isc.org
6 #
7 restrict default kod nomodify notrap nopeer noquery
8
9 # localhost access
10 restrict 127.0.0.1
11
12 # restrict      default         ignore
13 # restrict      ntp.nasa.gov    noquery noserve
14 # restrict      clock.isc.org   noquery noserve
15 # restrict      127.0.0.1
16 # restrict      127.127.1.0
17
18 # Undisciplined Local Clock. This is a fake driver intended for backup
19 # and when no outside source of synchronized time is available. The
20 # default stratum is usually 3, but in this case we elect to use stratum
21 # 0. Since the server line does not have the prefer keyword, this driver
22 # is never used for synchronization, unless no other other
23 # synchronization source is available. In case the local host is
24 # controlled by some external source, such as an external oscillator or
25 # another protocol, the prefer keyword would cause the local host to
26 # disregard all other synchronization sources, unless the kernel
27 # modifications are in use and declare an unsynchronized condition.
28
29 server  127.127.1.0     # local clock
30 fudge   127.127.1.0 stratum 10
31
32 # Drift file.  Put this in a directory which the daemon can write to.
33 # No symbolic links allowed, either, since the daemon updates the file
34 # by creating a temporary in the same directory and then rename()'ing
35 # it to the file.
36 #
37 driftfile /etc/ntp/drift
38 multicastclient                 # listen on default 224.0.1.1
39 broadcastdelay  0.008
40
41 #
42 # Authentication delay.  If you use, or plan to use someday, the
43 # authentication facility you should make the programs in the auth_stuff
44 # directory and figure out what this number should be on your machine.
45 #
46 disable auth
47
48 #
49 # Keys file.  If you want to diddle your server at run time, make a
50 # keys file (mode 600 for sure) and define the key number to be
51 # used for making requests.
52 #
53 #keys           /etc/ntp/keys
54 #trustedkey     65535
55 #requestkey     65535
56 #controlkey     65535
57
58 # some sane servers
59 server 1.pool.ntp.org
60 server 2.pool.ntp.org
61 server 3.pool.ntp.org
62
63 # some other sane servers
64 #server 150.254.183.15 # vega
65 #server 213.222.193.35 # certum
66 #server 193.0.71.133 # icm
67 #server 153.19.250.123 # task
68 #server 198.123.30.132 # nasa
This page took 0.16479 seconds and 4 git commands to generate.