]> git.ipfire.org Git - thirdparty/unbound.git/commit
dns64: Fall back to plain AAAA query with synthall but no A records
authorDaniel Gröber via Unbound-users <unbound-users@lists.nlnetlabs.nl>
Mon, 9 Oct 2023 12:46:35 +0000 (14:46 +0200)
committerGeorge Thessalonikefs <yorgos@nlnetlabs.nl>
Wed, 18 Oct 2023 10:03:40 +0000 (12:03 +0200)
commitc1e5e6781ee60ca7136b122b44742b2d035da032
treeab48ea0775e98a3527afff6155599ef6ee415d3e
parentdd086e5bfd81080596112e02294d4d202ea9d69f
dns64: Fall back to plain AAAA query with synthall but no A records

Networks which only have tunneled IPv6 access but still want to go
IPv6-only internally can use unbound's DNS64 module together with the
dns64-synthall or dns64-ignore-aaaa options to direct most traffic (any
dualstack domain) to their NAT64.

There is only one problem with this setup, currently domains with only AAAA
records will fail to resolve.

To allow for this use-case arrange for the A sub-query to make the AAAA
super query advance along the module stack when no records are returned.

Signed-off-by: Daniel Gröber <dxld@darkboxed.org>
dns64/dns64.c