fix *.mil DNS lookups

This commit is contained in:
Sebastien Bourdeauducq 2023-01-28 09:53:13 +08:00
parent dd0ebf1c47
commit 3210289ebf
2 changed files with 14 additions and 0 deletions

View File

@ -87,6 +87,13 @@ in
listenOnIpv6 = []; listenOnIpv6 = [];
forwarders = []; forwarders = [];
extraOptions = "listen-on-v6 port 5354 { ::1; };"; extraOptions = "listen-on-v6 port 5354 { ::1; };";
extraConfig = ''
zone "mil." IN {
type forward;
forward only;
forwarders { 74.82.42.42; };
};
'';
cacheNetworks = [ "::1/128" ]; cacheNetworks = [ "::1/128" ];
}; };
services.dnsmasq = { services.dnsmasq = {

View File

@ -199,6 +199,13 @@ in
]; ];
}; };
}; };
extraConfig = ''
zone "mil." IN {
type forward;
forward only;
forwarders { 74.82.42.42; };
};
'';
}; };
services.hostapd = { services.hostapd = {