Hi,
I am running NTP client which triggers A/AAA DNS lookup upon configuring hostname. I did the following configuration
- Configured DNS client and NTP client which has a common DNS/NTP server.
- Configured the hostname.
Once doing that the NTP Client starts sending DNS A/AAA query for localhost.
Wondering if it is a expected behavior ? whats the reason behind it ?
Is there a way we can prevent this DNS queries for localhost ?
My ntp client config:
interface ignore wildcard
interface listen eth0.0001
restrict default ignore
restrict -6 default ignore
restrict 127.0.0.1 nomodify noserve notrap nopeer
restrict ::1 nomodify noserve notrap nopeer
server 192.168.20.77 version 4 minpoll 6 maxpoll 10
restrict 192.168.20.77 nomodify notrap nopeer noquery
pidfile /var/run/ntpd.pid
driftfile /var/lib/ntp/ntp.drift
~
Thanks,
Swarna