lab-infra/machines/dns01/nsd.nix

25 lines
430 B
Nix
Raw Normal View History

{
sources,
lib,
meta,
...
}:
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 meta dns lib; });
};
};
};
}