From 779e877c543b374a74271111990c70c9093f834d Mon Sep 17 00:00:00 2001 From: niten Date: Fri, 3 Nov 2023 11:07:26 -0700 Subject: [PATCH] Add ip-host-map option --- authoritative-dns.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/authoritative-dns.nix b/authoritative-dns.nix index 82996d7..e697f82 100644 --- a/authoritative-dns.nix +++ b/authoritative-dns.nix @@ -73,6 +73,13 @@ in { type = str; 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 ];