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