mirror of
https://github.com/ellmau/nixos.git
synced 2025-12-19 09:29:36 +01:00
Open firewall for DNS
This commit is contained in:
parent
6ff8738cda
commit
5d8043201e
@ -20,10 +20,12 @@ with lib; {
|
||||
enable = true;
|
||||
settings.server.interface = [ "127.0.0.0" "::1" ];
|
||||
};
|
||||
|
||||
};
|
||||
networking = {
|
||||
nameservers = [ "127.0.0.1" "::1"];
|
||||
resolvconf.useLocalResolver = true;
|
||||
firewall.allowedUDPPorts = [ 52 ];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user