]> git.pld-linux.org Git - packages/ntp.git/blame - ntp.conf
- allow ntpq -p to work by default from localhost
[packages/ntp.git] / ntp.conf
CommitLineData
d2dd7019
SZ
1#
2# Default ntp stratum 1 servers:
3#
4# server ntp.nasa.gov
5# server clock.isc.org
192efee3 6#
7cbf232a
SZ
7restrict default kod nomodify notrap nopeer noquery
8
7d4a7cf3
ER
9# localhost access
10restrict 127.0.0.1
11
192efee3
SZ
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
91f83bd9 17
91f83bd9
JR
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.
143625c2 28
7cbf232a
SZ
29server 127.127.1.0 # local clock
30fudge 127.127.1.0 stratum 10
143625c2 31
91f83bd9
JR
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#
37driftfile /etc/ntp/drift
38multicastclient # listen on default 224.0.1.1
39broadcastdelay 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#
263e8815 46disable auth
91f83bd9
JR
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#
04cdf15a
JK
53#keys /etc/ntp/keys
54#trustedkey 65535
55#requestkey 65535
56#controlkey 65535
2786e2b8
ER
57
58# some sane servers
59server 1.pool.ntp.org
60server 2.pool.ntp.org
61server 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.039713 seconds and 4 git commands to generate.