I have an ipv6-only host (accessible through a tunnel) and another host (webserver) with many subdomains on ipv4 and ipv6-wildcards
v6only.example.org AAAA 2001:DB8::1
*.example.org AAAA 2001:DB8::2
*.example.org A 203.0.113.2
How do I prevent v6only.example.org A to match the wildcard, resolving it to 203.0.113.2
You don't. An explicit label (in this case
v6only.example.org
) will always be used in preference to a label generated from a wildcard. Just add anA
record for thev6only.example.org
name and it'll work as you want.