forked from M-Labs/it-infra
fix *.mil DNS lookups
This commit is contained in:
parent
dd0ebf1c47
commit
3210289ebf
|
@ -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 = {
|
||||||
|
|
|
@ -199,6 +199,13 @@ in
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
extraConfig = ''
|
||||||
|
zone "mil." IN {
|
||||||
|
type forward;
|
||||||
|
forward only;
|
||||||
|
forwarders { 74.82.42.42; };
|
||||||
|
};
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
services.hostapd = {
|
services.hostapd = {
|
||||||
|
|
Loading…
Reference in New Issue