I'm configuring ntp inside a corporate network.
I've done
restrict default ignore
restrict -6 default ignore
and listed server
s explicitly (I'm using public servers from pool.ntp.org
). I also didn't enable broadcastclient
.
After a while, ntpq -p
keeps showing only a particular server inside the local network that I did not add in the configuration file.
Shouldn't restrict default ignore
make ntpd ignore all packets from servers not explicitly mentioned?
I've checked the servers I'm using with dig
, and the addresses seem correct.
Here's ntpq -pn
:
remote refid st t when poll reach delay offset jitter
==============================================================================
10.200.10.253 .INIT. 16 u - 64 0 0.000 0.000 0.000
And my current ntp.conf
(comments removed)
driftfile /var/lib/ntp/ntp.drift
statsdir /var/log/ntpstats/
statistics loopstats peerstats clockstats
filegen loopstats file loopstats type day enable
filegen peerstats file peerstats type day enable
filegen clockstats file clockstats type day enable
server 2.europe.pool.ntp.org
restrict default ignore
restrict -6 default ignore
restrict 2.europe.pool.ntp.org nomodify
restrict 127.0.0.1
restrict ::1