Re: IPv6 logging noise

Doug Freed <[email protected]>
Newsgroups gmane.network.dns.bind.user
Message-ID <[email protected]>
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
-- 
Visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.