summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKjetil Orbekk <kjetil.orbekk@gmail.com>2017-05-21 08:43:19 -0400
committerKjetil Orbekk <kjetil.orbekk@gmail.com>2017-05-21 08:43:19 -0400
commitebca5f0a25bbd7649083669bb838b29c9191716b (patch)
treeb01fa3cfcdd3afff7cb5341a7f5e6f09eb4e46ef
parent0e3bc295a31cd344fae821c4295a3e748018efa9 (diff)
dns: Begin service file.
-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";
+ };
+}