knot conf templating
This commit is contained in:
parent
cb7937c282
commit
7a809fe7b5
3 changed files with 35 additions and 8 deletions
11
dns-rest-api1.sunet.se/overlay/etc/knot/conf.d/example.conf
Normal file
11
dns-rest-api1.sunet.se/overlay/etc/knot/conf.d/example.conf
Normal file
|
@ -0,0 +1,11 @@
|
|||
# Example zones, playground for the DNS REST API users
|
||||
|
||||
zone:
|
||||
# Primary zones
|
||||
- domain: example.com
|
||||
dnssec-signing: off
|
||||
notify: [ localhost ]
|
||||
|
||||
- domain: example.net
|
||||
dnssec-signing: off
|
||||
notify: [ localhost ]
|
|
@ -0,0 +1,8 @@
|
|||
# Template (copy me)
|
||||
# (if non-standard remote:s is to be used, they need to be in specified here)
|
||||
#
|
||||
#zone:
|
||||
# # Primary zone(s)
|
||||
# - domain: mydomain.com
|
||||
# dnssec-signing: off
|
||||
# notify: [ ns1-sunet-se, sunic-sunet-se, sunic-node1, sunic-node2, sunic-node3 ]
|
|
@ -17,6 +17,21 @@ database:
|
|||
remote:
|
||||
- id: localhost
|
||||
address: 127.0.0.1@53
|
||||
- id: sunic-sunet-se
|
||||
address: 192.36.125.2@53
|
||||
address: 2001:6b0:7::2@53
|
||||
- id: ns1-sunet-se
|
||||
address: 89.47.185.240@53
|
||||
address: 2001:6b0:5a:4020::384@53
|
||||
- id: sunic-node1
|
||||
address: 130.242.3.49@53
|
||||
address: 2001:6b0:1e:2::22d@53
|
||||
- id: sunic-node2
|
||||
address: 130.242.3.241@53
|
||||
address: 2001:6b0:1e:2::22f@53
|
||||
- id: sunic-node3
|
||||
address: 130.242.3.125@53
|
||||
address: 2001:6b0:1e:2::231@53
|
||||
|
||||
template:
|
||||
- id: default
|
||||
|
@ -25,12 +40,5 @@ template:
|
|||
|
||||
include: conf.d/*.conf
|
||||
|
||||
zone:
|
||||
# Primary zones
|
||||
- domain: example.com
|
||||
dnssec-signing: off
|
||||
notify: [ localhost ]
|
||||
# All zone:s conf ^^^ should go into that directory
|
||||
|
||||
- domain: example.net
|
||||
dnssec-signing: off
|
||||
notify: [ localhost ]
|
||||
|
|
Loading…
Add table
Reference in a new issue