• Print
  • Share
  • Dark
    Light

I want to use IPv6 locally but I don't have an external IPv6 connection. External lookups are slow.

  • Updated on 19 Dec 2018
  • 1 minute to read
  • Contributors

On some networks, IPv6 is used internally, but is not supported by the link to the rest of the Internet. This degrades resolver performance due to named attempting to send IPv6 queries that can never be answered.

To prevent IPv6 queries outside the network, while still allowing them inside, use a pair of server clauses:

server fd81:ec6c:bd62::/48 { bogus no; }; // site ULA prefix 
server ::/0 { bogus yes; };

This allows IPv6 queries to be sent to addresses in the fd81:ec6c:bd62::/48 network prefix, but not to any other IPv6 addresses.

IPv6 can also be disabled entirely by using the named -4 command line option.

Was this article helpful?