Allow zone transfers

This commit is contained in:
Pim Kunis 2025-07-06 17:30:19 +02:00
parent ded49ebc4e
commit b4c5177f6c
3 changed files with 15 additions and 11 deletions

View file

@ -30,16 +30,20 @@ in {
forwarders { };
directory "/run/named";
pid-file "/run/named/named.pid";
allow-transfer { none; };
allow-recursion { none; };
version none;
notify no;
};
key "kun.is." {
algorithm hmac-sha512;
secret "ref+sops://secrets.yml#/bind/zoneTransferKeys/kunis+";
};
zone "kun.is" {
type master;
file "/etc/bind/kun.is.zone";
allow-transfer { };
allow-transfer { 192.168.20.91; };
allow-query { any; };
};
'';