extra queries for TLD NS (e.g. `sk. NS`)
It seems that kresd is sending queries for TLD NS (like sk. NS
) way more often that it should.
You can see this when you load kresd with traffic (e.g. from ODVR) and watch traffic between kresd and root servers. To watch traffic I'm using this command:
tcpdump -i any 'ip host 192.33.4.12 or ip6 host 2001:500:2::c or ip host 198.41.0.4 or ip6 host 2001:503:ba3e::2:30 or ip host 192.5.5.241 or ip6 host 2001:500:2f::f or ip host 192.112.36.4 or ip6 host 2001:500:12::d0d or ip host 199.7.91.13 or ip6 host 2001:500:2d::d or ip host 192.203.230.10 or ip6 host 2001:500:a8::e or ip host 192.58.128.30 or ip6 host 2001:503:c27::2:30 or ip host 193.0.14.129 or ip6 host 2001:7fd::1 or ip host 198.97.190.53 or ip6 host 2001:500:1::53 or ip host 192.36.148.17 or ip6 host 2001:7fe::53 or ip host 199.7.83.42 or ip6 host 2001:500:9f::42 or ip host 202.12.27.33 or ip6 host 2001:dc3::35 or ip host 192.228.79.201 or ip6 host 2001:500:84::b'
Tcpdump produces log like this:
11:25:39.539752 IP6 2001:1488:fffe:20::160.51402 > l.root-servers.net.domain: 62848% [1au] NS? Sk. (31)
11:25:39.540377 IP6 l.root-servers.net.domain > 2001:1488:fffe:20::160.51402: 62848- 0/6/9 (599)
11:25:39.645489 IP6 2001:1488:fffe:20::160.41289 > m.root-servers.net.domain: 53044% [1au] NS? Sk. (31)
11:25:39.662901 IP6 m.root-servers.net.domain > 2001:1488:fffe:20::160.41289: 53044- 0/6/9 (601)
11:25:39.762686 IP6 2001:1488:fffe:20::160.58534 > k.root-servers.net.domain: 58823% [1au] NS? SK. (31)
11:25:39.763341 IP6 k.root-servers.net.domain > 2001:1488:fffe:20::160.58534: 58823- 0/6/9 (599)
11:25:39.852020 IP6 2001:1488:fffe:20::160.52047 > j.root-servers.net.domain: 43613% [1au] NS? sK. (31)
Alternative way to confirm this is to look into attached kresd.log.bz2 and grep for m12n: '[sS][kK].' type: 'NS'
. You will see it more often than you would expect :-)
The issue is present at least in versions 1.3.0 and newer, I did not dig into older versions. Disabling all modules did not help so it is not an issue in workarounds module.
Kresd is running with single process, starting with a clean cache, cache size 2 GB.