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

Dominik dl6er at dl6er.de
Mon Jul 6 13:54:15 BST 2020


Hey Matthias,

more out of curiosity than anything else: What is a proper reason to
bind only to IPv4 but not IPv6 (or vice versa)?
Just checking here that your customer doesn't maybe want something silly
and you should rather explain to them why they actually don't want this.

Best,
Dominik

On 06.07.20 14:09, Matthias May wrote:
> 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
>
>
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss



More information about the Dnsmasq-discuss mailing list