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:
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user