[Dnsmasq-discuss] Ability to not bind :: for DNS when binding wildcard

Matthias May matthias.may at westermo.com
Mon Jul 6 13:09:50 BST 2020


Hi List

I have run into the situation, that a customer wants to only bind the DNS service to 0.0.0.0 but not to ::

I'm not sure this is possible.
While i was able to make a config which binds only to 0.0.0.0 through a combination of
--use-interfaces and --except-interface this results in a dnsmasq instance which does not handle DHCP anymore.
I'm think i understand why this does not work.

However i want to check with the list, if this is a reasonable need, and if i should send a patch
which adds support for something like:
--disable-ipv6-on-wildcard and --disable-ipv4-on-wildcard
which would change the behaviour of
void create_wildcard_listeners(void)
so it doesn't unconditionally bind ipv4 and ipv6.

BR
Matthias




More information about the Dnsmasq-discuss mailing list