Configure BIND to prefer IPv4 without disabling IPv6

Can't remember where I found this solution, but here it is

In /etc/bind/named.conf.local:

// 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.