Add ip-host-map option

This commit is contained in:
niten 2023-11-03 11:07:26 -07:00
parent cb58f7b80d
commit 779e877c54

View File

@ -73,6 +73,13 @@ in {
type = str; type = str;
description = "Timestamp to attach to zone record."; description = "Timestamp to attach to zone record.";
}; };
ip-host-map = mkOption {
type = attrsOf str;
description =
"Map of IP address to authoritative hostname. Unneeded hosts will be ignored.";
default = { };
};
}; };
imports = [ ./nsd.nix ]; imports = [ ./nsd.nix ];