s/dnsmasq/bind/

This commit is contained in:
Greg Hellings
2023-05-05 16:37:31 -05:00
parent 7e642c7dfe
commit b70f6179db
+5 -12
View File
@@ -26,8 +26,7 @@ in
networking = {
hostName = "mm";
domain = "mindmazeroom.lan";
nameservers = [ "127.0.0.1" ];
networkmanager.enable = true;
nameservers = [ lanIpAddress ];
interfaces = {
"${wanInterface}".useDHCP = true;
"${lanInterface}" = {
@@ -51,16 +50,10 @@ in
lan = [ lanInterface ];
};
services = {
dnsmasq = {
enable = true;
settings = {
expand-hosts = true;
log-queries = true;
server = [
"1.1.1.1"
"8.8.4.4"
];
};
bind = {
enable = false;
cacheNetworks = [ "127.0.0.1/24" "${lanIpAddress}/24" ];
listenOn = [ lanInterface ];
};
create_ap = {
enable = false;