306b941068d21e3902188f687535a3aceca46ced
[ntp-cn.git] / ntp.conf.tmpl
1 # /etc/ntp.conf, configuration for ntpd
2
3 driftfile /var/lib/ntp/ntp.drift
4 statsdir /var/log/ntpstats/
5
6 statistics loopstats peerstats clockstats
7 filegen loopstats file loopstats type day enable
8 filegen peerstats file peerstats type day enable
9 filegen clockstats file clockstats type day enable
10
11
12 # You do need to talk to an NTP server or two (or three).
13 server zg1.ntp.carnet.hr
14 server ri.ntp.carnet.hr
15 server zg2.ntp.carnet.hr
16 server st.ntp.carnet.hr
17 server os.ntp.carnet.hr
18
19 # pool.ntp.org maps to more than 300 low-stratum NTP servers.
20 # Your server will pick a different set every time it starts up.
21 #  *** Please consider joining the pool! ***
22 #  *** <http://www.pool.ntp.org/join.html> ***
23 #server 0.debian.pool.ntp.org iburst
24 #server 1.debian.pool.ntp.org iburst
25 #server 2.debian.pool.ntp.org iburst
26 #server 3.debian.pool.ntp.org iburst
27
28 # By default, exchange time with everybody, but don't allow configuration.
29 # See /usr/share/doc/ntp-doc/html/accopt.html for details.
30 restrict -4 default kod notrap nomodify nopeer noquery
31 restrict -6 default kod notrap nomodify nopeer noquery
32
33 # Local users may interrogate the ntp server more closely.
34 restrict 127.0.0.1
35 restrict ::1
36
37 # Clients from this (example!) subnet have unlimited access,
38 # but only if cryptographically authenticated
39 #restrict 192.168.123.0  mask  255.255.255.0 notrust
40
41 # If you want to provide time to your local subnet, change the next line.
42 # (Again, the address is an example only.)
43 #broadcast 192.168.123.255
44
45 # If you want to listen to time broadcasts on your local subnet,
46 # de-comment the next lines. Please do this only if you trust everybody
47 # on the network!
48 #disable auth
49 #broadcastclient