[Dnsmasq-discuss] [PATCH] localhost-service support

Petr Menšík pemensik at redhat.com
Tue Oct 5 12:55:30 UTC 2021

Hi Simon,

We have chosen to listen by default just on localhost interface, like
default configuration of BIND9 and Unbound has. However I have received
multiple bug reports since that. People do not reconfigure defaults,
because that was not required before. They stumble often on the default.

It would be nice, if default configuration could be ignored the same way
for local-service. But local-service default conflicts with
systemd-resolved for example. Therefore I made a change and propose
listening on just localhost. But behaving similar way to local-service.

The second patch adds simpler way to skip reading default configuration.
Just handle --conf-file= as skipping config file reading. It were just
ignored until now.

What would you think of it?


Petr Menšík
Software Engineer
Red Hat, http://www.redhat.com/
email: pemensik at redhat.com
PGP: DFCF908DB7C87E8E529925BC4931CA5B6C9FC5CB
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Introduce-new-locahost-service-option.patch
Type: text/x-patch
Size: 5983 bytes
Desc: not available
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20211005/ad2d63d4/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Simplify-skipping-default-conf-file.patch
Type: text/x-patch
Size: 2020 bytes
Desc: not available
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20211005/ad2d63d4/attachment-0001.bin>

More information about the Dnsmasq-discuss mailing list