[Dnsmasq-discuss] How to NOT bind dnsmasq to lo?

Sven Geuer sge at debian.org
Wed Jul 10 21:06:26 UTC 2024


Additionally:

On Wed, 2024-07-10 at 21:55 +0200, Tim Tassonis wrote:
> [...]
> DHCP_OPT="192.168.8.9,192.1688.8.99,255.255.255.0,192.168.8.255,8h"
> dnsmasq --log-queries --user=dnsmasq \
>          --dhcp-leasefile=/var/lib/misc/qemu-vde-dnsmasq.leases \
>          --dhcp-range=$DHCP_RANGE \
>          --listen-address=192.168.8.1 \
>          --interface=tap0 --except-interface=lo \
>          --domain=decentral.ch \
>          --enable-tftp  \
>          --dhcp-boot=/var/lib/qemu-vde/pxeboot/pxelinux.0 \
>          --pid-file=/run/qemu-vde-dnsmasq.pid
> 
> This works fine, but only if the local dnsmasq is not started.

Does it? Your setting DHCP_OPT while evaluating DHCP_RANGE, plus, the
range DHCP_OPT is set to contains an invalid IPv4 address:
192.1688.8.99

Cheers,
Sven
-- 
GPG Fingerprint
3DF5 E8AA 43FC 9FDF D086 F195 ADF5 0EDA F8AD D585
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 854 bytes
Desc: This is a digitally signed message part
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20240710/5ef7c4e3/attachment.sig>


More information about the Dnsmasq-discuss mailing list