summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/dns.nix11
1 files changed, 11 insertions, 0 deletions
diff --git a/config/dns.nix b/config/dns.nix
new file mode 100644
index 0000000..edf9a0e
--- /dev/null
+++ b/config/dns.nix
@@ -0,0 +1,11 @@
+# dnssec-signzone -A -3 $(head -c 1000 /dev/urandom | sha1sum | cut -b 1-16) -N unixtime -o $zone -t db.${zone}
+{ config, lib, pkgs, ... }:
+{
+ services.bind = {
+ enable = true;
+ };
+
+ systemd.services.bind = {
+ preStart = lib.mkAfter "echo test";
+ };
+}