Allow zone transfers
This commit is contained in:
parent
ded49ebc4e
commit
b4c5177f6c
3 changed files with 15 additions and 11 deletions
|
@ -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; };
|
||||
};
|
||||
'';
|
||||
|
|
|
@ -1,11 +1,13 @@
|
|||
globals: dns:
|
||||
with dns.lib.combinators; {
|
||||
TTL = 300;
|
||||
|
||||
CAA = letsEncrypt "caa@kun.is";
|
||||
|
||||
SOA = {
|
||||
nameServer = "ns1";
|
||||
adminEmail = "webmaster.kun.is";
|
||||
serial = 2024041302;
|
||||
serial = 2025070600;
|
||||
};
|
||||
|
||||
NS = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue