Skip to content
Dorian FINKEL
DNSAdGuard HomeTroubleshootingLessons learned · 2026 · 3 min read · Updated 9 October 2026

The 10-second channel switch: DNS was to blame

Changing TV channels took 5 to 10 seconds. Neither Wi-Fi nor multicast had anything to do with it: the DNS resolver was silently dropping queries, because its rate limit was shared by the whole network.

01The symptom

On the TV box (Android TV), every channel change paused for several seconds. The rest of the network looked normal: smooth browsing, no error message.

An IPTV channel starts with names to resolve: the platform, the streams, the artwork, the analytics. A box queries dozens of them in a burst at every channel change.

02The false leads

Multicast was the ideal suspect: IGMP snooping and IGMP proxy turned on and off, with no effect at all. Not Wi-Fi either: the problem existed over cable.

The right reflex was to measure instead of assume: send a burst of queries to the resolver and count those left unanswered. dig returns a non-zero exit code when no answer arrives.

Example · Bash
# 100 queries in a row, 1 s max each: how many go unanswered?
for i in $(seq 1 100); do
  dig +tries=1 +time=1 @192.0.2.53 "test$i.example.com" > /dev/null || echo "lost: $i"
done

03The mechanism

AdGuard Home limits the rate to 20 queries per second by default. Beyond that it doesn’t answer: the documentation states that the excess is silently dropped. The client then waits for its timeout before retrying: 5 seconds by default for the standard C library on Linux, hence pauses of 5 to 10 seconds.

The trap: since version 0.107.41, the limit doesn’t apply to an address but to a whole subnet (a /24 in IPv4, a /56 in IPv6 by default). The whole local network therefore shares the same quota. And on a remote resolver reached through a tunnel or NAT, every query from the network arrives under a single address: the quota runs out even faster.

04The fix

The limit was raised to 500 queries per second, a value suited to a whole network, on the primary resolver; the sync tool copies the setting to the secondary.

Two variants exist. On a resolver only the local network can reach, the documentation says the limit can safely be disabled (0). On an exposed resolver, you can keep a low limit for the Internet and exempt the tunnel address with the allow list.

Example · YAML
# AdGuardHome.yaml (or Settings › DNS settings)
dns:
  ratelimit: 500                # queries per second per subnet (default 20, 0 = disabled)
  ratelimit_subnet_len_ipv4: 24
  ratelimit_subnet_len_ipv6: 56
  ratelimit_whitelist: []       # or the tunnel address, exempted

05Verify

The same burst of queries loses nothing any more, and channel switching is instant again. A silent failure is diagnosed by measurement: a resolver that doesn’t answer leaves no visible error on the client, only waiting.

Key takeaways

  • Slowness without errors is often a dropped query and a timeout.
  • AdGuard Home: 20 queries per second by default, per subnet, excess silently dropped.
  • Behind a tunnel or NAT, the whole network shares a single quota.
  • Raise the limit to whole-network scale, or exempt the tunnel address.
  • Measure with a burst of queries before touching multicast or Wi-Fi.

Documentation-reserved addresses.

Official sources