1
0
Fork 0
forked from DGNum/lab-infra
lab-infra/machines/dns01/nsd.nix
Constantin Gierczak--Galle 862168b2bc feat(dns01): init DNS config (#9)
Reviewed-on: DGNum/lab-infra#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; });
};
};
};
}