2
0

dnsmasq: Pass --bind-interfaces

This allows users to run another DNS server, such as unbound, and have
dnsmasq use it as the upstream.
This commit is contained in:
Peter Collingbourne
2026-05-03 00:23:53 -07:00
parent d0376d4101
commit 86e55ff3cf

View File

@@ -48,6 +48,7 @@ longrun {
--domain=${domain} \
--group=${group} \
--interface=$(output ${interface} ifname) \
--bind-interfaces \
${lib.concatStringsSep " " (builtins.map (r: "--dhcp-range=${r}") ranges)} \
${lib.concatStringsSep " " (builtins.map (r: "--server=${r}") upstreams)} \
--keep-in-foreground \