dnsmasq on loopback only
This commit is contained in:
parent
6aa3c3a443
commit
b91d2b406d
1 changed files with 4 additions and 0 deletions
|
|
@ -8,6 +8,10 @@
|
|||
# Not an issue for routing, but we need local DNS with conditional forwarding.
|
||||
enable = true;
|
||||
resolveLocalQueries = true;
|
||||
settings = {
|
||||
interface = "lo"; # Bind on loopback interface only, so other interface (e.g. libvirt) can run their own DNS server
|
||||
bind-interfaces = true; # Required for above to do anything
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue