FULL AI ANALYSIS

OpenWrt DHCPv6-only LAN intermittently fails to reach IPv4-only websites after enabling PD-only mode

Generated Oct 26, 2026, 9:23:15 AM

Analysis summary

Symptoms point to intermittent break in translation path: either DNS64 sometimes failing to synthesize AAAA or NAT64 (tayga) blocking translated TCP flows. Observations show A queries leaving router, and when DNS64 provides AAAA, NAT64 returns ICMP 'admin prohibited', suggesting firewall/NAT rules or kernel forwarding limits on the NAT64 host. Another possibility is inconsistent DNS forwarding between clients and the DNS64 server causing mixed A/AAAA responses. Client-side dual-stack happy eyeballs might choose the wrong path when translation misbehaves.

Possible causes

Local DNS64 server intermittently failing/saturating and returning raw A records causing clients to attempt native IPv4 without a working NAT64 path

80%

Firewall on NAT64 host (Raspberry Pi) or router blocking translated connections intermittently due to conntrack or rate-limiting rules

65%

tayga (user-space NAT64) hitting resource limits or kernel tun interface dropping packets under load causing ICMP admin-prohibited

50%

Split DNS: some clients using external DNS over TLS/HTTPS bypassing local DNS64 and receiving A records

40%

Suggested fixes

1

Diagnostic step 1

On NAT64 host: monitor syslog and tayga logs, increase logging for conntrack and firewall, check dmesg for netfilter drops; temporarily allow all forwarding (iptables -P FORWARD ACCEPT) and test a failing client.

2

Diagnostic step 2

On DNS64 host: enable debug logging in bind9 or dnsmasq to confirm when AAAA synthesis occurs versus raw A responses; run 'dig +short @127.0.0.1 A example.com' and 'dig +short @127.0.0.1 AAAA example.com' during failure.

3

Diagnostic step 3

Temporarily bypass client-stub DNS (set a failing client to use local DNS64 IP) and reproduce; compare tcpdump on NAT64 host for SYN packets and ICMP replies.

4

Diagnostic step 4

If conntrack limits hit, raise nf_conntrack_max and tune net.netfilter.nf_conntrack_tcp_timeout_established temporarily and retest.