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