add udp 53

This commit is contained in:
Joseph Hanson 2024-07-07 14:38:38 -05:00
parent a834ad0dd6
commit ecd2ad3b0f
Signed by: jahanson
SSH key fingerprint: SHA256:vy6dKBECV522aPAwklFM3ReKAVB086rT3oWwiuiFG7o

View file

@ -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;