dnsmasq: add a new "bind" configuration option
authorRui Salvaterra <rsalvaterra@gmail.com>
Thu, 8 Jul 2021 10:33:07 +0000 (11:33 +0100)
committerJo-Philipp Wich <jo@mein.io>
Sun, 26 Jan 2025 13:09:26 +0000 (14:09 +0100)
commit995b855b1bb79bf83e46303c0316ce10a8dd041f
tree8014fa030ccea2812b3d14a6c05750060b978984
parentc283600b9ef4ca95b007d1edb64ea4bcbf95f934
dnsmasq: add a new "bind" configuration option

The nonwildcard option only allows to choose between the default behaviour (bind
to the wildcard address only, which unfeasible when running multiple instances
of dnsmasq) and --bind-dynamic (bind to any existing/new interfaces which aren't
explicitly configured otherwise). Add a new "bind" option, which can take the
value of "dynamic" or "interfaces", allowing the user to additionally choose the
--bind-interfaces behaviour (bind only to explicitly configured interfaces).

The dnsmasq man page [1] contains more detailed information about these
arguments. Finally, the nonwildcard option is kept for backwards compatibility.

[1] https://thekelleys.org.uk/dnsmasq/docs/dnsmasq-man.html

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
package/network/services/dnsmasq/files/dhcp.conf
package/network/services/dnsmasq/files/dnsmasq.init