dnsmasq on loopback only

This commit is contained in:
Geoffrey Frogeye 2025-10-19 10:33:21 +02:00
parent 6aa3c3a443
commit b91d2b406d

View file

@ -8,6 +8,10 @@
# Not an issue for routing, but we need local DNS with conditional forwarding. # Not an issue for routing, but we need local DNS with conditional forwarding.
enable = true; enable = true;
resolveLocalQueries = 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
};
}; };
}; };
} }