r2:
[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
17 # pool.ntp.org maps to more than 300 low-stratum NTP servers.
18 # Your server will pick a different set every time it starts up.
19 #  *** Please consider joining the pool! ***
20 #  *** <http://www.pool.ntp.org/join.html> ***
21 #server 0.debian.pool.ntp.org iburst
22 #server 1.debian.pool.ntp.org iburst
23 #server 2.debian.pool.ntp.org iburst
24 #server 3.debian.pool.ntp.org iburst
25
26 # By default, exchange time with everybody, but don't allow configuration.
27 # See /usr/share/doc/ntp-doc/html/accopt.html for details.
28 restrict -4 default kod notrap nomodify nopeer noquery
29 restrict -6 default kod notrap nomodify nopeer noquery
30
31 # Local users may interrogate the ntp server more closely.
32 restrict 127.0.0.1
33 restrict ::1
34
35 # Clients from this (example!) subnet have unlimited access,
36 # but only if cryptographically authenticated
37 #restrict 192.168.123.0  mask  255.255.255.0 notrust
38
39 # If you want to provide time to your local subnet, change the next line.
40 # (Again, the address is an example only.)
41 #broadcast 192.168.123.255
42
43 # If you want to listen to time broadcasts on your local subnet,
44 # de-comment the next lines. Please do this only if you trust everybody
45 # on the network!
46 #disable auth
47 #broadcastclient