IPv6 logging noise

Carsten Strotmann carsten at strotmann.de
Thu Nov 20 18:17:38 UTC 2025


Hello Philip

On Thursday 20 November 2025 06:07:39 PM (+01:00), Philip Prindeville via bind-users wrote:

> Hi,
> 
> I’m on a US residential ISP, and they don’t support IPv6.  As a result, I’ve disabled it locally as well with `options { listen-on-ipv6 { none; }; };`.  Well, there are more options than that, but that’s the relevant one.
> 
> If I run with `-4` then the noise goes away.
> 
> I was wondering if:
> 
> (1) that `listen-on-ipv6 { none;}` should imply `-4` (the simplest) or

"listen-on-ipv6" only applies to incoming DNS traffic, but not the outgoing DNS traffic. It is a valid configuration to have a DNS resolver or authoritative DNS server to listen only on IPv4 but have it use IPv6 for queries towards other DNS servers.

> 
> (2) that there’s an easy way to parse and dump the options so my startup script can see if this option is set or not, and if it, add `-4` to the arguments it uses to start up named.

The command

named-checkconf -p


prints the content of "named.conf" and all included files in canonical form. That for can be parsed.


Greetings


Carsten-- 
strotmann.de


More information about the bind-users mailing list