Try switching back to default nsd
This commit is contained in:
parent
1671cece1c
commit
5c42fb187f
|
@ -102,14 +102,19 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
imports = [ ./nsd.nix ];
|
# imports = [ ./nsd.nix ];
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
services.fudo-nsd = {
|
fileSystems."/var/lib/nsd" = {
|
||||||
|
device = cfg.state-directory;
|
||||||
|
options = [ "bind" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
services.nsd = {
|
||||||
enable = true;
|
enable = true;
|
||||||
identity = cfg.identity;
|
identity = cfg.identity;
|
||||||
interfaces = cfg.listen-ips;
|
interfaces = cfg.listen-ips;
|
||||||
stateDirectory = cfg.state-directory;
|
# stateDirectory = cfg.state-directory;
|
||||||
zones = let
|
zones = let
|
||||||
forwardZones = mapAttrs' (domain:
|
forwardZones = mapAttrs' (domain:
|
||||||
{ ksk, zone, notify, ... }:
|
{ ksk, zone, notify, ... }:
|
||||||
|
|
Loading…
Reference in New Issue