diff --git a/hosts/sid/services/coredns.nix b/hosts/sid/services/coredns.nix index e5c0904..df9b3bb 100644 --- a/hosts/sid/services/coredns.nix +++ b/hosts/sid/services/coredns.nix @@ -10,7 +10,7 @@ enable = true; config = with constants; '' .:53 { - bind 127.0.0.1 + bind 0.0.0.0 hosts { ${hosts.sid.ip} ${ca-fqdn} @@ -29,4 +29,7 @@ } ''; }; + + networking.firewall.allowedUDPPorts = [ 53 ]; + networking.firewall.allowedTCPPorts = [ 53 ]; }