OpenWrt DHCPv6-only LAN intermittently fails to reach IPv4-only websites after enabling PD-only mode
Environment
Home OpenWrt router (21.02), DHCPv6 PD enabled and configured to advertise only IPv6 addresses; dual-stack client phones and laptops set to prefer IPv6; firewall: default OpenWrt rules; NAT64/DNS64 service (tayga + bind9) installed on separate Raspberry Pi on LAN.
Symptoms
Clients can fetch IPv6-native sites reliably but intermittently time out or stall when opening IPv4-only websites (examples: legacy payment portals). Symptoms appear as DNS resolution returning synthesized IPv6 addresses sometimes, other times DNS returns A records and connection stalls.
Observations
tcpdump on router shows occasional DNS queries for A records to upstream resolver with no response; when DNS64 synthesizes AAAA the client attempts TCP to synthesized address but receives RST or no response. NAT64 (tayga) logs show 'ICMP unreachable - admin prohibited' in bursts. Some clients show working IPv4 via tethering.
Already attempted
Rebooted router and NAT64 host; swapped upstream DNS servers; disabled RA-only mode briefly and re-enabled; tested curl from Raspberry Pi directly to problematic IPv4 sites (works); captured client and NAT64 traffic for failing flows.
Question
What configuration or packet path could cause intermittent failures for IPv4-only sites after moving client LAN to DHCPv6/PD-only mode, and how can I reliably restore IPv4 access while keeping IPv6-only client addressing?
Verified community troubleshooting
First check whether your DNS64 is consistently synthesizing AAAA records and whether the NAT64 host forwards those connections. On a failing client, point DNS to the local DNS64 (dig A and AAAA) and confirm AAAA appears. On the NAT64 box, temporarily set iptables -P FORWARD ACCEPT and tail tayga/syslog while reproducing; if flows succeed, re-enable firewall and inspect conntrack counters (cat /proc/sys/net/netfilter/nf_conntrack_count). If conntrack is exhausted, raise nf_conntrack_max or tune timeouts; if DNS bypassing is observed, enforce local DNS via DHCP options. Roll back iptables changes after testing.
Incident analysis
Most likely causes
Summary
Suggested Fixes
Continue troubleshooting
Related troubles
Matched from the title, description and tags
- Networking53% match
Clients receive IPv6 addresses but no default route after enabling DHCPv6-only mode on OpenWrt router
Open0 answers - Networking49% match
OpenWrt DHCPv6-only LAN: intermittent inability to reach IPv4-only sites after enabling PD-only mode
Open1 answer - Networking41% match
OpenWrt: DHCPv6 PD present but clients intermittently lack IPv6 default route after enabling RA firewall filtering
Open1 answer - Networking38% match
IPv6-only home network times out on IPv4-only websites after switching to DHCPv6-only LAN
Open0 answers - Networking33% match
Clients time out to IPv4-only sites after enabling DNS64/NAT64 on OpenWrt router (intermittent synthesis failures)
Open0 answers