add udp 53
This commit is contained in:
parent
a834ad0dd6
commit
ecd2ad3b0f
1 changed files with 5 additions and 0 deletions
|
@ -14,6 +14,11 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
|
networking.firewall = {
|
||||||
|
allowedTCPPorts = [ 53 ];
|
||||||
|
allowedUDPPorts = [ 53 ];
|
||||||
|
};
|
||||||
|
|
||||||
# Forces the machine to use the resolver provided by the network
|
# Forces the machine to use the resolver provided by the network
|
||||||
networking.resolvconf.useLocalResolver = mkForce false;
|
networking.resolvconf.useLocalResolver = mkForce false;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue