diff options
author | Franz Pletz <fpletz@fnordicwalking.de> | 2022-09-05 15:18:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-05 15:18:23 +0200 |
commit | 54cca744d9cfa621b215679f7f2f1f5331fce778 (patch) | |
tree | 49adb0272bcb398de86a4fe6fcdea27d6dfd9f49 /pkgs/servers/dns | |
parent | 40c09ba560a6ab8c6d35fcb652f42a24dbbcb9ff (diff) | |
parent | 53c3bec163ea284fda384f17dded1d9f32faf065 (diff) |
Merge pull request #176126 from posch/bind2
Diffstat (limited to 'pkgs/servers/dns')
-rw-r--r-- | pkgs/servers/dns/bind/default.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/servers/dns/bind/default.nix b/pkgs/servers/dns/bind/default.nix index 1406cc7d77001..41b5b2918b065 100644 --- a/pkgs/servers/dns/bind/default.nix +++ b/pkgs/servers/dns/bind/default.nix @@ -48,6 +48,15 @@ stdenv.mkDerivation rec { for f in "$lib/lib/"*.la "$dev/bin/"bind*-config; do sed -i "$f" -e 's|-L${openssl.dev}|-L${lib.getLib openssl}|g' done + + cat <<EOF >$out/etc/rndc.conf + include "/etc/bind/rndc.key"; + options { + default-key "rndc-key"; + default-server 127.0.0.1; + default-port 953; + }; + EOF ''; doCheck = false; # requires root and the net |