add ddns support for ladok
This commit is contained in:
parent
dac959b288
commit
aec4b7297e
1 changed files with 16 additions and 6 deletions
|
@ -1,15 +1,24 @@
|
||||||
# 0sunet.catalog (catalog generator)
|
# 0sunet.catalog (catalog generator)
|
||||||
|
|
||||||
#acl:
|
# hmac-sha256:knot-ladok:NkiX/2BhxLFO8FPWGp6g0F9uHNvKw0I8GufIFkGOuYM=
|
||||||
# - id: slave_xfr
|
key:
|
||||||
# address: [ <needs to be IPs> ]
|
- id: knot-ladok
|
||||||
# action: transfer
|
algorithm: hmac-sha256
|
||||||
|
secret: NkiX/2BhxLFO8FPWGp6g0F9uHNvKw0I8GufIFkGOuYM=
|
||||||
|
|
||||||
|
acl:
|
||||||
|
- id: txt_ddns_allow
|
||||||
|
action: update
|
||||||
|
key: knot-ladok
|
||||||
|
update-type: [CNAME]
|
||||||
|
update-owner: name
|
||||||
|
update-owner-name: [ _acme-challenge.*.ladok.se. ]
|
||||||
|
update-owner-match: pattern
|
||||||
|
|
||||||
template:
|
template:
|
||||||
- id: 0sunet-catz
|
- id: 0sunet-catz
|
||||||
catalog-role: member
|
catalog-role: member
|
||||||
catalog-zone: 0sunet.catalog.
|
catalog-zone: 0sunet.catalog.
|
||||||
#acl: slave_xfr
|
|
||||||
notify: [ ns1-sunet-se, sunic-node1, sunic-node2, sunic-node3 ]
|
notify: [ ns1-sunet-se, sunic-node1, sunic-node2, sunic-node3 ]
|
||||||
storage: "/var/lib/knot/catzones"
|
storage: "/var/lib/knot/catzones"
|
||||||
file: "%s.zone"
|
file: "%s.zone"
|
||||||
|
@ -17,12 +26,13 @@ template:
|
||||||
zone:
|
zone:
|
||||||
- domain: 0sunet.catalog.
|
- domain: 0sunet.catalog.
|
||||||
catalog-role: generate
|
catalog-role: generate
|
||||||
#acl: slave_xfr
|
|
||||||
notify: [ ns1-sunet-se, sunic-node1, sunic-node2, sunic-node3 ]
|
notify: [ ns1-sunet-se, sunic-node1, sunic-node2, sunic-node3 ]
|
||||||
|
|
||||||
- domain: alternativ.ladok.se.
|
- domain: alternativ.ladok.se.
|
||||||
template: 0sunet-catz
|
template: 0sunet-catz
|
||||||
|
acl: [txt_ddns_allow]
|
||||||
|
|
||||||
- domain: alt.ladok.se.
|
- domain: alt.ladok.se.
|
||||||
template: 0sunet-catz
|
template: 0sunet-catz
|
||||||
|
acl: [txt_ddns_allow]
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue