dns-ops/dns-rest-api1.sunet.se/overlay/etc/knot/conf.d/0sunet.catalog.conf
2025-03-10 11:01:10 +01:00

32 lines
823 B
Text

# 0sunet.catalog (catalog generator)
acl:
- id: txt_ddns_allow
action: update
key: knot-ladok
update-type: [TXT]
update-owner: name
update-owner-name: [ _acme-challenge.*.ladok.se., _acme-challenge.*.alt.ladok.se., _acme-challenge.*.alternativ.ladok.se. ]
update-owner-match: pattern
template:
- id: 0sunet-catz
catalog-role: member
catalog-zone: 0sunet.catalog.
notify: [ ns1-sunet-se, sunic-node1, sunic-node2, sunic-node3 ]
storage: "/var/lib/knot/catzones"
file: "%s.zone"
zone:
- domain: 0sunet.catalog.
catalog-role: generate
notify: [ ns1-sunet-se, sunic-node1, sunic-node2, sunic-node3 ]
- domain: alternativ.ladok.se.
template: 0sunet-catz
acl: [txt_ddns_allow]
- domain: alt.ladok.se.
template: 0sunet-catz
acl: [txt_ddns_allow]