lab-infra/machines/dns01/nsd.nix
Constantin Gierczak--Galle 862168b2bc
Some checks failed
lint / check (push) Successful in 23s
build configuration / build_krz01 (push) Failing after 1m23s
feat(dns01): init DNS config (#9)
Reviewed-on: #9
Co-authored-by: Constantin Gierczak--Galle <git.cst1@mailbox.org>
Co-committed-by: Constantin Gierczak--Galle <git.cst1@mailbox.org>
2024-12-07 12:53:31 +01:00

19 lines
411 B
Nix

{ sources, lib, ... }:
let
dns = import sources.dns-nix { };
in
{
services.nsd = {
enable = true;
verbosity = 1000;
interfaces = [ "2a0e:e701:1120:1000:ffff::45.13.104.26" ];
zones = {
"lab.dgnum.eu" = {
# provideXFR = [ ... ];
# notify = [ ... ];
data = dns.lib.toString "lab.dgnum.eu" (import ./lab.dgnum.eu.nix { inherit dns lib; });
};
};
};
}