Commit e3c2e7c7 authored by Gustavo Zacarias's avatar Gustavo Zacarias Committed by Thomas Petazzoni
Browse files

ntp: update sample config



Drop redundant IP version and double default restrict.
Tweak KoD and other defaults for properness.

Signed-off-by: default avatarGustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
parent 5d5c9a8d
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
server 0.pool.ntp.org iburst
server 1.pool.ntp.org iburst

restrict default kod nomodify notrap nopeer noquery
restrict -6 default kod nomodify notrap nopeer noquery

# Allow only time queries, at a limited rate, sending KoD when in excess.
# Allow all local queries (IPv4, IPv6)
restrict default nomodify nopeer noquery limited kod
restrict 127.0.0.1
restrict -6 ::1
restrict [::1]