knot: add zentralwerk catalog

This commit is contained in:
Sandro - 2024-04-24 22:38:44 +02:00
parent cc434eeea9
commit e37ba9ef5a
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
1 changed files with 23 additions and 0 deletions

View File

@ -68,6 +68,11 @@
];
action = "transfer";
}
{
id = "dns.serv.zentralwerk.org_notify";
address = [ /*"172.20.73.2"*/ "2a00:8180:2c00:282:2::2" ];
action = "notify";
}
];
log = [ {
@ -92,6 +97,10 @@
{
id = "ns1.supersandro.de";
address = [ "188.34.196.104" "2a01:4f8:1c1c:1d38::1" ];
} {
id = "dns.serv.zentralwerk.org";
# IPv4 doesn't work because of nat
address = [ /*"172.20.73.2"*/ "2a00:8180:2c00:282:2::2" ];
}
];
@ -142,6 +151,12 @@
storage = "/var/lib/knot/zones";
zonefile-load = "difference-no-serial";
}
{
id = "zentralwerk_template";
acl = "dns.serv.zentralwerk.org_notify";
master = "dns.serv.zentralwerk.org";
storage = "/var/lib/knot/catalog/zentralwerk";
}
];
zone = [
@ -152,6 +167,14 @@
notify = [ "ns1.supersandro.de" ];
storage = "/var/lib/knot/catalog";
}
{
acl = "dns.serv.zentralwerk.org_notify";
catalog-role = "interpret";
catalog-template = "zentralwerk_template";
domain = "zentralwerk.";
master = "dns.serv.zentralwerk.org";
storage = "/var/lib/knot/catalog";
}
] ++ map ({ acl ? [], notify ? [], ... }@zone: {
inherit (zone) domain;
template = "c3d2";