IPv6 logging noise

Doug Freed dwfreed at isc.org
Thu Nov 20 23:04:42 UTC 2025


On 11/20/25 11:07, 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
> 
> (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.
> 
> I ask the second question because of the format of the config file, newlines and spaces are arbitrary so there’s no single canonical format I can search for.
> 
> Thanks,
> 
> -Philip

Starting with 9.20.5, you can use `query-source-v6 { none; };` to 
disable IPv6 for upstream queries.  Thus `-4` effectively becomes:

listen-on-v6 { none; };
query-source-v6 { none; };

The difference is that the config settings can be changed at runtime 
with a reload, whereas changing the state of `-4` requires restarting named.

-Doug


More information about the bind-users mailing list