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