SG2005P-PD Switch is the top (by >3x) DNS querier in the entire network!

I was looking at some DNS stats and noticed one host was by far top of the most DNS lookups list, with more than 3x the next highest host... I was curious and went looking to find out what it was - only to see that it is my SG2005P-PD, doing mltiple DNS lookups of multiple NTP hosts every few seconds - why would it be doing this, and how do I fix it so it stops? Every omada device on the network should have the same NTP config, so it is really odd that this one device is behaving so badly on its own.
Small snapshot of multiple DNS requests for multiple NTP hosts every few seconds from 192.168.4.92
Confirming that 192.168.4.92 is this Omada managed switch:
By far this one switch is dominating DNS lookup, all for these NTP hosts (30% of ALL DNS requests):
My Site NTP config only has the single "time-dot-nist-dot-gov" (using "-dot-" to prevent illegal link blocking) host specified, so I don't even know where it is getting the other "ntp1-dot-glb-dot-nist-dot-gov" NTP hostname from... and it shouldn't be looking up either multiple times a second (it shouldn't be attemptig to sync time multiple times a second either)!
- Copy Link
- Subscribe
- Bookmark
- Report Inappropriate Content
@Clive_A I rebooted it, when coming up, it connects to pool[dot]ntp[dot]org (must be hard coded?) and then as soon as it is up it returns to querying my configured cloudflare ntp server every 8 seconds:
- Copy Link
- Report Inappropriate Content
Hi @daubstep
Thanks for posting in our business forum.
daubstep wrote
@Clive_A I rebooted it, when coming up, it connects to pool[dot]ntp[dot]org (must be hard coded?) and then as soon as it is up it returns to querying my configured cloudflare ntp server every 8 seconds:
Noted. Sent an email to the dev and see what they need or should review on the code level. Let's see. Will update you soon as I am updated.
- Copy Link
- Report Inappropriate Content
Hi @daubstep
Thanks for posting in our business forum.
daubstep wrote
@Clive_A I rebooted it, when coming up, it connects to pool[dot]ntp[dot]org (must be hard coded?) and then as soon as it is up it returns to querying my configured cloudflare ntp server every 8 seconds:
It replies with IPv6?
If the reply is an IPv6 address, the switch will not think it has a proper NTP IP, so it will send again because it fails to get an IPv4 NTP.
Consider disabling the IPv6 reply on your DNS server. The dev confirmed the issue is fixed. IPv6 is the problem you have after the update.
- Copy Link
- Report Inappropriate Content
@Clive_A This goes back to the tcpdump - the switch queries for both A and AAAA records, and the DNS server responds with both
https://community.tp-link.com/en/business/forum/topic/708010?replyId=1490000
The pattern hasn't changed at all and it is the switch that requests both ipv4 and ipv6 resolution of the ntp hostname:
Is it possible the firmware update for the sg2008p got packaged without the fix accidentally?
- Copy Link
- Report Inappropriate Content
Hi @daubstep
Thanks for posting in our business forum.
daubstep wrote
@Clive_A This goes back to the tcpdump - the switch queries for both A and AAAA records, and the DNS server responds with both
https://community.tp-link.com/en/business/forum/topic/708010?replyId=1490000
The pattern hasn't changed at all and it is the switch that requests both ipv4 and ipv6 resolution of the ntp hostname:
Is it possible the firmware update for the sg2008p got packaged without the fix accidentally?
Disable V6 and see if that works out or not. The first reply from the NTP has to be v4.
- Copy Link
- Report Inappropriate Content
@Clive_A Disabling IPv6 DNS did indeed fix this issue - as soon as the switch received *just* the A response and not the AAAA it stopped making further requests. I guess this explains the intermittency sometimes, as often AAAA would resolve first, but I guess sometimes the A would, and that would cause things to work normally for a while.
I can leave IPv6 off for a while, but this still feels like a bug in need of fixing, especially given I will be running IPv6 (or rather, dual-stack) in production soon, and so will need to resolve AAAA DNS. If the switch can't handle AAAA DNS, it should stop requesting it, right?
- Copy Link
- Report Inappropriate Content
Hi @daubstep
Thanks for posting in our business forum.
daubstep wrote
@Clive_A Disabling IPv6 DNS did indeed fix this issue - as soon as the switch received *just* the A response and not the AAAA it stopped making further requests. I guess this explains the intermittency sometimes, as often AAAA would resolve first, but I guess sometimes the A would, and that would cause things to work normally for a while.
I can leave IPv6 off for a while, but this still feels like a bug in need of fixing, especially given I will be running IPv6 (or rather, dual-stack) in production soon, and so will need to resolve AAAA DNS. If the switch can't handle AAAA DNS, it should stop requesting it, right?
If you enable NTP, it will request. As long as the first reply is not replied to properly, it will keep asking for this.
We suspect that your IPv6 is not working properly. If it can give a proper v6 address, it should stop.
- Copy Link
- Report Inappropriate Content

Information
Helpful: 0
Views: 960
Replies: 27
Voters 0
No one has voted for it yet.