summaryrefslogtreecommitdiffstats
path: root/files/common/ntp.conf
blob: 9cfa2c1a63df15d957196704fab135be6b71fa34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
## Set up restrictions for services.
restrict default kod nomodify notrap nopeer noquery
restrict -6 default kod nomodify notrap nopeer noquery
restrict 127.0.0.1 
restrict -6 ::1

# setup a set of servers that we all look at.
server 66.187.233.4   # [clock.redhat.com]
server 192.43.244.18  # [time.nist.gov]
server 128.118.25.5   # [otc1.psu.edu]
server 204.152.184.72 # [clock.isc.org]

# [localhost]
# Undisciplined Local Clock. This is a fake driver intended for backup
# and when no outside source of synchronized time is available. 
server 127.127.1.0     # local clock
fudge  127.127.1.0 stratum 10  

# Key file containing the keys and key identifiers used when operating
# with symmetric key cryptography. 
keys /etc/ntp/keys

# Watch drift
driftfile /var/lib/ntp/drift