Skip to content
Contents
GuidesOpenWrt

Unbound returns a global IPv6 address for a local name. Check GUA filtering

When locally resolving a name to a global IPv6 address, it first checks the AAAA record—determining whether the record is generated by the local region or obtained from upstream. Filtering of local addresses and filtering of public DNS responses occur at distinct stages.

Applies to · OpenWrt 25.12.5 · Unbound + odhcpd · exclude_ipv6_ga=1

What to check

For a AAAA request with the same local area network name, distinguish between global unicast addresses and ULA addresses.

Connect over Ethernet and run the following commands in an SSH session on the router.

uci show unbound
ip -6 addr show

How to interpret the result

Compare the return value with the IPv6 address on the interface one by one. If the same record is found within the local region, inspect the options used to generate it and the reload results. If the record is not found in the region, then check the resolver used for the query and the cache.

Verify and recover

Clear the test client’s cached answer and query the same local AAAA record again. It should match the intended naming policy. Revert only the changed setting and regenerate the local zone to compare.

Related guide · Troubleshoot OpenWrt IPv6 prefix delegation when only WAN has IPv6

Explore hardware

Comments