Configure BIND to prefer IPv4 without disabling IPv6
I have used this to help while enabling IPv6 on a network. Need to keep the name servers working while still digging out the bugs in the IPv6 routing.
In named.conf:
// disable lookup over IPv6
server ::/0 {
bogus yes;
};
It then pretends that IP addresses in the IPv6 range are non reachable and does it with IPv4 instead.
