I have to force clients to always connect to the same IPv6 address for a demonstration.
I have a similar zone:
; BIND db file for *
$TTL 86400
@ IN SOA . name.surname.me. (
2013101001 ; serial number YYMMDDNN
28800 ; Refresh
7200 ; Retry
864000 ; Expire
86400 ; Min TTL
)
NS ns1.example.net.
* IN AAAA fdeb:cadf:715c:f2ef:0:0:0:1
When I request an AAAA record the trick works fine, but normally the client requests only an A record, and since named returns an empty NOERROR response, the client stops trying and doesn't try the AAAA record.
How can I force named to return NXDOMAIN instead of NOERROR on inexistent A records? Or, is there any other way to force a (dual stack) client to use only the AAAA records?