[Dnsmasq-discuss] Method to get Dnsmasq serve address of a host from interface address
0zl
0zl at riseup.net
Mon Mar 13 00:31:03 UTC 2023
Well, it seems like dnsmasq just ignores addresses with /32s. I see in
src/network.c for some reason if an interface has 255.255.255.255 it
just skips it (line 363)?
This might possibly the cause for the issue, I'm not sure if this is
intentional or some sort of bug.
Thanks again and sorry for the noise!
On 3/13/23 02:08, 0zl wrote:
> Hi everyone,
>
> Previously on Debian Stable, I was using dynamic-host as a weird hack
> to get Dnsmasq to serve my PPPOE interface's IP address however this
> no longer seems to work with the Dnsmasq supplied in Debian Testing.
>
> It was OK to just specify 0.0.0.0 as my ISP would allocate for me a
> /32 and so this thankfully matched my interface address and worked
> properly.
>
> Now that this no longer works on 2.89, are there any alternatives I
> could use?
>
> (What no longer works is
> `dynamic-host=myip.my.local.domain,0.0.0.0,dsl-provider` and Dnsmasq
> fails with `warning: no addresses found for interface dsl-provider`)
>
> TIA
>
>
>
More information about the Dnsmasq-discuss
mailing list