forked from burnbabyburn/docker-samba-dc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathntp.conf
34 lines (25 loc) · 868 Bytes
/
ntp.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#more logging in logfile
#_logconfig =all
driftfile /var/lib/ntp/ntp.drift
#_logfile {{ DIR_NTP_LOG }}
ntpsigndsocket {{ DIR_NTP_SOCK }}
# Leap seconds definition provided by tzdata
leapfile /usr/share/zoneinfo/leap-seconds.list
# Enable this if you want statistics to be logged.
statsdir {{ DIR_NTP_STATS }}
# Where to retrieve the time from
{{ NTPSERVER }}
# Access control
# Default restriction: Disallow everything
#restrict default ignore
# No restrictions for localhost
restrict 127.0.0.1
restrict -6 ::1
# Access control
# Default restriction: Allow clients only to query the time
restrict -4 default kod limited nomodify notrap nopeer mssntp
restrict -6 default kod limited nomodify notrap nopeer mssntp
# Enable the time sources only to only provide time to this host
#
{{ NTPSERVERRESTRICT }}
tinker panic 0