An empty tcpdump capture over half a minute may mean no plaintext DNS crossed that WAN during the window. Traffic may also use PPPoE, another WAN or a VPN. First send a recognizable plaintext test query to confirm that the capture can see it.
Send two recognizable queries over the isolated WAN
The recording uses SSH and ubus call system board on an isolated OpenWrt 25.12.6 x86/64 guest. Run the commands on the router. The lab resolver is 198.18.71.10 and ip route get identified eth1 as its egress device. On your isolated network substitute a resolver you control and synthetic names. Leave household firewall protections in place.
ip route get 198.18.71.10
work=$(mktemp -d) || exit 1
cd "$work" || exit 1
umask 077
tcpdump -ni eth1 -s 256 -c 2 -w dns.pcap 'dst host 198.18.71.10 and udp dst port 53' &
capture=$!
Wait for tcpdump to start listening before running the second block. A separate SSH session can send queries. If the endpoint is unreachable or too few packets arrive, stop a foreground capture with Ctrl+C. In the shell that started the background capture, use kill -INT "$capture" and read back the packets already saved.
nslookup -type=A film36.test 198.18.71.10
nslookup -type=AAAA film36.test 198.18.71.10
wait "$capture"
tcpdump -nn -r dns.pcap
Both packets go to 198.18.71.10.53. Their question types are A and AAAA. The second answer contains an IPv6 address even though the query used IPv4. This positive control verifies visibility on this interface for this test. No household queries were sent over the internet. Remove the test pcap and its empty temporary directory when finished.
Check the client's normal DNS path
Restore normal settings. From a managed client, use its default DNS resolver to query a fresh name in your test domain. Record the time, client address, local filter result and upstream. On the router, briefly run tcpdump -nni EGRESS '(udp or tcp) and dst port 53' on the actual egress, then stop with Ctrl+C. With multiple WANs or policy marks, verify the paths used by the client, DNS service and failover separately. Test IPv6 with a reachable IPv6 endpoint and its own positive control.
When checking an adblock port 53 redirect on OpenWrt 25.12.2, a capture on br-lan or any can show the external DNS address originally requested. Reverse translation can also put that address on the reply. Start a new query with a fresh client source port, watch the actual WAN for the destination and query name, and correlate it with the local resolver log. If the WAN positive control is visible but the test query stays local and gets a local answer, the result is consistent with redirection. If the query leaves the WAN, check the ingress device, rule counters, transport and address family. Leave the network's connection table intact.
If you see plaintext, separate normal queries from proxy bootstrap names and intentional local conditional forwarding. Trace the time and destination back to the configuration. If you see no plaintext, also verify that the query succeeded through the intended proxy. A connection to port 443 alone cannot identify the application protocol. Retest after a cold start or failover during maintenance. Record the interface, address family, time window and exceptions. Trace DNS leaks after enabling DoH on OpenWrt
Comments