lab-infra/machines/dns01/nsd.nix
Constantin Gierczak--Galle a13acaedff
All checks were successful
lint / check (push) Successful in 23s
feat(dns01): switch to lab.dgnum.eu subdomain
2024-12-06 14:44:40 +01:00

22 lines
404 B
Nix

{ sources, lib, ... }:
let
dns = import sources.dns-nix { };
in
{
services.nsd = {
enable = true;
zones = {
"lab.dgnum.eu" = {
# provideXFR = [ ... ];
# notify = [ ... ];
data = dns.lib.toString "lab.dgnum.eu" (import ./lab.dgnum.eu.nix { inherit dns lib; });
};
};
};
networking = {
firewall = {
allowedUDPPorts = [ 53 ];
};
};
}