[Dnsmasq-discuss] Bug report

Simon Kelley simon at thekelleys.org.uk
Thu Dec 19 00:18:33 UTC 2024


I don't think that this configuration makes sense.

--bind-dynamic means listen on all the addresses associated with 
specified interfaces and all specified addresses

0.0.0.0 is the wildcard address: the kernel won't let you bind the 
wildcard address AND a specific address at the same port.

If you want to listen on the wildcard address, just don't set 
bind-dynamic or bind-interfaces.

Simon.


On 12/10/24 09:27, Dmitry Levin wrote:
> Hi, I have this configuration
> 
>     bind-dynamic
>     listen-address=0.0.0.0
>     interface=lo
> 
> After 744231d99505cdead314d13506b5ff8c44a13088 it fails with "failed to 
> create listening socket for 0.0.0.0 <http://0.0.0.0>: Address already in 
> use". Please revert this patch, or am I missing something? It also helps 
> to remove lo from configuration, but clever bind should resolve conflicts.
> 
> -- 
> Best regards, Dmitry.
> 
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss




More information about the Dnsmasq-discuss mailing list