]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Use controls template in named configs where rndc key was inlined
authorNicki Křížek <nicki@isc.org>
Wed, 8 Jul 2026 18:13:26 +0000 (18:13 +0000)
committerNicki Křížek <nicki@isc.org>
Thu, 23 Jul 2026 08:18:11 +0000 (08:18 +0000)
Replace all occurences of rndc_key and controls channel config with the
standard _common/controls.conf.j2 template.

The server's IP address will be automatically filled in based on the
instance's directory name (nsX -> 10.53.0.X) using the @ns.ip@
dir-specific template variable.

The controls template also include the `rndc_key`, so any uses of that
remain functional.

If present, the empty controls section were removed, since they were
redundant.

The logfileconfig configs used quoted `"rndc-key"` and were switched to
`rndc_key` instead. The specific use-case of quoted key using a hyphen
will be re-added in one of the followup commits as a dedicated test.

Assisted-by: Claude:claude-fable-5
327 files changed:
bin/tests/system/acl/ns2/named.conf.j2
bin/tests/system/acl/ns2/named2.conf.j2
bin/tests/system/acl/ns2/named3.conf.j2
bin/tests/system/acl/ns2/named4.conf.j2
bin/tests/system/acl/ns2/named5.conf.j2
bin/tests/system/acl/ns3/named.conf.j2
bin/tests/system/acl/ns4/named.conf.j2
bin/tests/system/addzone/ns1/named.conf.j2
bin/tests/system/allow_query/ns3/named.conf.j2
bin/tests/system/allow_query/ns3/named2.conf.j2
bin/tests/system/allow_query/ns3/named3.conf.j2
bin/tests/system/allow_query/ns3/named4.conf.j2
bin/tests/system/allow_query/ns3/named5.conf.j2
bin/tests/system/allow_query/ns3/named6.conf.j2
bin/tests/system/allow_query/ns3/named7.conf.j2
bin/tests/system/allow_query/ns3/named8.conf.j2
bin/tests/system/auth_res_deleg/ns2/named.conf.j2
bin/tests/system/autosign/ns1/named.conf.j2
bin/tests/system/autosign/ns2/named.conf.j2
bin/tests/system/autosign/ns3/named.conf.j2
bin/tests/system/cache_delegns/ns2/named.conf.j2
bin/tests/system/cacheclean/ns2/named.conf.j2
bin/tests/system/camp/ns3/named.conf.j2
bin/tests/system/camp/ns9/named.conf.j2
bin/tests/system/cap_glues/ns3/named.conf.j2
bin/tests/system/cdnxdomain/ns1/named.conf.j2
bin/tests/system/cdnxdomain/ns2/named.conf.j2
bin/tests/system/chain/ns7/named.conf.j2
bin/tests/system/chase_ds/ns3/named.conf.j2
bin/tests/system/checkds/ns10/named.conf.j2
bin/tests/system/checkds/ns2/named.conf.j2
bin/tests/system/checkds/ns3/named.conf.j2
bin/tests/system/checkds/ns4/named.conf.j2
bin/tests/system/checkds/ns5/named.conf.j2
bin/tests/system/checkds/ns6/named.conf.j2
bin/tests/system/checkds/ns7/named.conf.j2
bin/tests/system/checkds/ns8/named.conf.j2
bin/tests/system/checkds/ns9/named.conf.j2
bin/tests/system/class/ns1/named.conf.j2
bin/tests/system/class/ns2/named.conf.j2
bin/tests/system/class/ns3/named.conf.j2
bin/tests/system/configloading/ns1/named.conf.j2
bin/tests/system/cookie/ns1/named.conf.j2
bin/tests/system/cookie/ns3/named.conf.j2
bin/tests/system/cookie/ns4/named.conf.j2
bin/tests/system/cookie/ns5/named.conf.j2
bin/tests/system/cookie/ns6/named.conf.j2
bin/tests/system/cookie/ns8/named.conf.j2
bin/tests/system/cyclic_glue/ns1/named.conf.j2
bin/tests/system/cyclic_glue/ns4/named.conf.j2
bin/tests/system/database/ns1/named.conf.j2
bin/tests/system/delegation_ttl/ns2/named.conf.j2
bin/tests/system/delegdb_flush/ns1/named.conf.j2
bin/tests/system/dispatch/ns1/named.conf.j2
bin/tests/system/dispatch/ns2/named.conf.j2
bin/tests/system/dlzexternal/ns1/named.conf.j2
bin/tests/system/dnssec/ns2/named.conf.j2
bin/tests/system/dnssec/ns3/named.conf.j2
bin/tests/system/dnssec/ns4/named.conf.j2
bin/tests/system/dnssec/ns5/named.conf.j2
bin/tests/system/dnssec/ns9/named.conf.j2
bin/tests/system/dnstap/ns1/named.conf.j2
bin/tests/system/dnstap/ns2/named.conf.j2
bin/tests/system/dnstap/ns3/named.conf.j2
bin/tests/system/dnstap/ns4/named.conf.j2
bin/tests/system/dnstap/ns5/named.conf.j2
bin/tests/system/dyndb/ns1/named.conf.j2
bin/tests/system/ede24/ns1/named.conf.j2
bin/tests/system/ede24/ns2/named.conf.j2
bin/tests/system/emptyzones/ns1/named.conf.j2
bin/tests/system/enginepkcs11/ns1/named.conf.j2
bin/tests/system/expiredglue/ns1/named.conf.j2
bin/tests/system/expiredglue/ns2/named.conf.j2
bin/tests/system/expiredglue/ns3/named.conf.j2
bin/tests/system/expiredglue/ns4/named.conf.j2
bin/tests/system/fetchlimit/ns2/named.conf.j2
bin/tests/system/fetchlimit/ns3/named.conf.j2
bin/tests/system/fetchlimit/ns3/named2.conf.j2
bin/tests/system/fetchlimit/ns3/named3.conf.j2
bin/tests/system/fetchlimit/ns5/named.conf.j2
bin/tests/system/fetchlimit/ns5/named2.conf.j2
bin/tests/system/fetchlimit/ns5/named3.conf.j2
bin/tests/system/filters/ns1/named.conf.j2
bin/tests/system/filters/ns2/named.conf.j2
bin/tests/system/filters/ns3/named.conf.j2
bin/tests/system/filters/ns4/named.conf.j2
bin/tests/system/filters/ns5/named.conf.j2
bin/tests/system/forward/ns3/named.conf.j2
bin/tests/system/forward/ns3/named2.conf.j2
bin/tests/system/forward/ns9/named.conf.j2
bin/tests/system/forward/ns9/named2.conf.j2
bin/tests/system/forward/ns9/named3.conf.j2
bin/tests/system/forward/ns9/named4.conf.j2
bin/tests/system/geoip2/ns2/named.conf.j2
bin/tests/system/geoip2/ns2/named10.conf.j2
bin/tests/system/geoip2/ns2/named11.conf.j2
bin/tests/system/geoip2/ns2/named12.conf.j2
bin/tests/system/geoip2/ns2/named2.conf.j2
bin/tests/system/geoip2/ns2/named3.conf.j2
bin/tests/system/geoip2/ns2/named4.conf.j2
bin/tests/system/geoip2/ns2/named5.conf.j2
bin/tests/system/geoip2/ns2/named6.conf.j2
bin/tests/system/geoip2/ns2/named7.conf.j2
bin/tests/system/geoip2/ns2/named8.conf.j2
bin/tests/system/geoip2/ns2/named9.conf.j2
bin/tests/system/gluecache/ns1/named.conf.j2
bin/tests/system/hooks/ns1/named.conf.j2
bin/tests/system/hooks/ns2/named.conf.j2
bin/tests/system/ixfr/ns1/named.conf.j2
bin/tests/system/ixfr/ns3/named.conf.j2
bin/tests/system/ixfr/ns4/named.conf.j2
bin/tests/system/ixfr/ns5/named.conf.j2
bin/tests/system/journal/ns1/named.conf.j2
bin/tests/system/journal/ns2/named.conf.j2
bin/tests/system/kasp/ns2/named.conf.j2
bin/tests/system/kasp/ns3/named-common.conf.j2
bin/tests/system/kasp/ns4/named.conf.j2
bin/tests/system/kasp/ns5/named.conf.j2
bin/tests/system/kasp/ns6/named.conf.j2
bin/tests/system/keepalive/ns1/named.conf.j2
bin/tests/system/keepalive/ns2/named.conf.j2
bin/tests/system/keepalive/ns3/named.conf.j2
bin/tests/system/ksr/ns1/named.conf.j2
bin/tests/system/legacy/ns1/named.conf.j2
bin/tests/system/logfileconfig/ns1/named.abspath.conf.j2
bin/tests/system/logfileconfig/ns1/named.dir.conf.j2
bin/tests/system/logfileconfig/ns1/named.inc.conf.j2
bin/tests/system/logfileconfig/ns1/named.iso8601-utc.conf.j2
bin/tests/system/logfileconfig/ns1/named.iso8601.conf.j2
bin/tests/system/logfileconfig/ns1/named.pipe.conf.j2
bin/tests/system/logfileconfig/ns1/named.plain.conf.j2
bin/tests/system/logfileconfig/ns1/named.plainlog.conf.j2
bin/tests/system/logfileconfig/ns1/named.sym.conf.j2
bin/tests/system/logfileconfig/ns1/named.ts.conf.j2
bin/tests/system/logfileconfig/ns1/named.unlimited.conf.j2
bin/tests/system/logfileconfig/ns1/named.vers.conf.j2
bin/tests/system/masterformat/ns1/named.conf.j2
bin/tests/system/masterformat/ns3/named.conf.j2
bin/tests/system/masterformat/ns4/named.conf.j2
bin/tests/system/masterformat/ns4/named2.conf.j2
bin/tests/system/migrate2kasp/ns3/named.conf.j2
bin/tests/system/migrate2kasp/ns4/named.conf.j2
bin/tests/system/minimalresponses/ns1/named.conf.j2
bin/tests/system/minimalresponses/ns2/named.conf.j2
bin/tests/system/minimalresponses/ns3/named.conf.j2
bin/tests/system/minimalresponses/ns4/named.conf.j2
bin/tests/system/mirror/ns2/named.conf.j2
bin/tests/system/mirror/ns3/named.conf.j2
bin/tests/system/mirror_root_zone/ns1/named.conf.j2
bin/tests/system/mkeys/ns1/named.conf.j2
bin/tests/system/mkeys/ns1/named2.conf.j2
bin/tests/system/mkeys/ns1/named3.conf.j2
bin/tests/system/mkeys/ns2/named.conf.j2
bin/tests/system/mkeys/ns3/named.conf.j2
bin/tests/system/mkeys/ns4/named.conf.j2
bin/tests/system/mkeys/ns5/named.conf.j2
bin/tests/system/mkeys/ns6/named.conf.j2
bin/tests/system/mkeys/ns7/named.conf.j2
bin/tests/system/multisigner/ns2/named.conf.j2
bin/tests/system/multisigner/ns3/named.conf.j2
bin/tests/system/multisigner/ns4/named.conf.j2
bin/tests/system/multisigner/ns5/named.conf.j2
bin/tests/system/notify/ns2/named.conf.j2
bin/tests/system/nsec3/ns2/named.conf.j2
bin/tests/system/nsec3/ns3/named-common.conf.j2
bin/tests/system/nsec_ixfr/ns1/named.conf.j2
bin/tests/system/nsec_ixfr/ns2/named.conf.j2
bin/tests/system/nsec_piggyback/ns2/named.conf.j2
bin/tests/system/nslimit_outdomain/ns4/named.conf.j2
bin/tests/system/nsprocessinglimit/ns1/named.conf.j2
bin/tests/system/nsprocessinglimit/ns2/named.conf.j2
bin/tests/system/nsprocessinglimit/ns3/named.conf.j2
bin/tests/system/nsprocessinglimit/ns4/named.conf.j2
bin/tests/system/nsupdate/ns1/named.conf.j2
bin/tests/system/nsupdate/ns10/named.conf.j2
bin/tests/system/nsupdate/ns2/named.conf.j2
bin/tests/system/nsupdate/ns3/named.conf.j2
bin/tests/system/nsupdate/ns5/named.conf.j2
bin/tests/system/nsupdate/ns6/named.conf.j2
bin/tests/system/nsupdate/ns7/named.conf.j2
bin/tests/system/nsupdate/ns7/named2.conf.j2
bin/tests/system/nsupdate/ns8/named.conf.j2
bin/tests/system/nsupdate/ns9/named.conf.j2
bin/tests/system/nta/ns2/named.conf.j2
bin/tests/system/nta/ns3/named.conf.j2
bin/tests/system/nta/ns4/named.conf.j2
bin/tests/system/nta/ns9/named.conf.j2
bin/tests/system/nzd2nzf/ns1/named.conf.j2
bin/tests/system/padding/ns1/named.conf.j2
bin/tests/system/padding/ns2/named.conf.j2
bin/tests/system/padding/ns3/named.conf.j2
bin/tests/system/padding/ns4/named.conf.j2
bin/tests/system/pipelined/ns1/named.conf.j2
bin/tests/system/pipelined/ns2/named.conf.j2
bin/tests/system/pipelined/ns3/named.conf.j2
bin/tests/system/pipelined/ns4/named.conf.j2
bin/tests/system/qmin/ns5/named.conf.j2
bin/tests/system/qmin/ns6/named.conf.j2
bin/tests/system/qmin/ns7/named.conf.j2
bin/tests/system/qpcache_rrsig_any/ns2/named.conf.j2
bin/tests/system/query_source/ns1/named.conf.j2
bin/tests/system/query_source/ns2/named.conf.j2
bin/tests/system/query_source/ns3/named.conf.j2
bin/tests/system/query_source/ns4/named.conf.j2
bin/tests/system/query_source/ns5/named.conf.j2
bin/tests/system/randomizens/ns2/named.conf.j2
bin/tests/system/randomizens/ns3/named.conf.j2
bin/tests/system/randomizens/ns4/named.conf.j2
bin/tests/system/randomizens/ns5/named.conf.j2
bin/tests/system/randomizens/ns6/named.conf.j2
bin/tests/system/reclimit/ns3/named.conf.j2
bin/tests/system/reclimit/ns3/named2.conf.j2
bin/tests/system/reclimit/ns3/named3.conf.j2
bin/tests/system/reclimit/ns3/named4.conf.j2
bin/tests/system/reclimit/ns3/named5.conf.j2
bin/tests/system/reclimit/ns3/named6.conf.j2
bin/tests/system/redirect/ns2/named.conf.j2
bin/tests/system/redirect/ns4/named.conf.j2
bin/tests/system/resolver/ns1/named.conf.j2
bin/tests/system/resolver/ns1/named2.conf.j2
bin/tests/system/resolver/ns4/named.conf.j2
bin/tests/system/resolver/ns5/named.conf.j2
bin/tests/system/resolver/ns6/named.conf.j2
bin/tests/system/resolver/ns7/named.conf.j2
bin/tests/system/resolver/ns7/named2.conf.j2
bin/tests/system/rfc5011/ns1/named.conf.j2
bin/tests/system/rndc/ns3/named.conf.j2
bin/tests/system/rndc/ns6/named.conf.j2
bin/tests/system/rndc/ns7/named.conf.j2
bin/tests/system/rollover/ns2/named.conf.j2
bin/tests/system/rollover/ns3/named.common.conf.j2
bin/tests/system/rollover/ns4/named.common.conf.j2
bin/tests/system/rpz/ns1/named.conf.j2
bin/tests/system/rpz/ns10/named.conf.j2
bin/tests/system/rpz/ns2/named.conf.j2
bin/tests/system/rpz/ns3/named.conf.j2
bin/tests/system/rpz/ns4/named.conf.j2
bin/tests/system/rpz/ns5/named.conf.j2
bin/tests/system/rpz/ns6/named.conf.j2
bin/tests/system/rpz/ns7/named.conf.j2
bin/tests/system/rpz/ns8/named.conf.j2
bin/tests/system/rpz/ns9/named.conf.j2
bin/tests/system/rpzextra/ns2/named.conf.j2
bin/tests/system/rpzextra/ns3/named.conf.j2
bin/tests/system/rpzrecurse/ns1/named.conf.j2
bin/tests/system/rpzrecurse/ns2/named.conf.header.j2
bin/tests/system/rpzrecurse/ns4/named.conf.j2
bin/tests/system/rrl/ns2/named.conf.j2
bin/tests/system/rrl/ns4/named.conf.j2
bin/tests/system/rrsig/ns1/named.conf.j2
bin/tests/system/runtime/ns2/named1.conf.j2
bin/tests/system/selfpointedglue/ns4/named.conf.j2
bin/tests/system/serve_stale/ns1/named.conf.j2
bin/tests/system/serve_stale/ns3/named.conf.j2
bin/tests/system/serve_stale/ns3/named1.conf.j2
bin/tests/system/serve_stale/ns3/named2.conf.j2
bin/tests/system/serve_stale/ns3/named3.conf.j2
bin/tests/system/serve_stale/ns3/named4.conf.j2
bin/tests/system/serve_stale/ns3/named5.conf.j2
bin/tests/system/serve_stale/ns3/named6.conf.j2
bin/tests/system/serve_stale/ns3/named7.conf.j2
bin/tests/system/serve_stale/ns3/named8.conf.j2
bin/tests/system/serve_stale/ns3/named9.conf.j2
bin/tests/system/serve_stale/ns4/named.conf.j2
bin/tests/system/serve_stale/ns5/named.conf.j2
bin/tests/system/serve_stale/ns6/named.conf.j2
bin/tests/system/serve_stale/ns7/named.conf.j2
bin/tests/system/serve_stale/ns7/named1.conf.j2
bin/tests/system/serve_stale_tcp/ns1/named.conf.j2
bin/tests/system/serve_stale_tcp/ns2/named.conf.j2
bin/tests/system/sfcache/ns2/named.conf.j2
bin/tests/system/sfcache/ns5/named.conf.j2
bin/tests/system/showconf/ns1/named.conf.j2
bin/tests/system/shutdown/ns1/named.conf.j2
bin/tests/system/shutdown/ns2/named.conf.j2
bin/tests/system/sig0/ns1/named.conf.j2
bin/tests/system/srtt/ns6/named.conf.j2
bin/tests/system/ssumaxtype/ns1/named.conf.j2
bin/tests/system/ssutoctou/ns1/named.conf.j2
bin/tests/system/staticstub/ns2/named.conf.j2
bin/tests/system/staticstub/ns3/named.conf.j2
bin/tests/system/statistics/ns2/named1.conf.j2
bin/tests/system/statistics/ns2/named2.conf.j2
bin/tests/system/statistics/ns3/named.conf.j2
bin/tests/system/statschannel/ns1/named.conf.j2
bin/tests/system/statschannel/ns2/named.conf.j2
bin/tests/system/statschannel/ns2/named2.conf.j2
bin/tests/system/statschannel/ns3/named.conf.j2
bin/tests/system/statschannel/ns4/named.conf.j2
bin/tests/system/stress/ns3/named.conf.j2
bin/tests/system/stub/ns3/named.conf.j2
bin/tests/system/synthfromdnssec/ns1/named.conf.j2
bin/tests/system/synthfromdnssec/ns2/named.conf.j2
bin/tests/system/synthfromdnssec/ns3/named.conf.j2
bin/tests/system/synthfromdnssec/ns4/named.conf.j2
bin/tests/system/synthfromdnssec/ns5/named.conf.j2
bin/tests/system/synthfromdnssec/ns6/named.conf.j2
bin/tests/system/synthrecord/ns1/named.conf.j2
bin/tests/system/tcp/ns1/named.conf.j2
bin/tests/system/tcp/ns2/named.conf.j2
bin/tests/system/tcp/ns3/named.conf.j2
bin/tests/system/tcp/ns4/named.conf.j2
bin/tests/system/tcp/ns5/named.conf.j2
bin/tests/system/tcp/ns7/named.conf.j2
bin/tests/system/tkeyleak/ns1/named.conf.j2
bin/tests/system/tsiggss/ns1/named.conf.j2
bin/tests/system/ttl/ns1/named.conf.j2
bin/tests/system/ttl/ns2/named.conf.j2
bin/tests/system/upforwd/ns3/named.conf.j2
bin/tests/system/upforwd/ns3/named2.conf.j2
bin/tests/system/views/ns2/named.conf.j2
bin/tests/system/views/ns2/named2.conf.j2
bin/tests/system/views/ns2/named3.conf.j2
bin/tests/system/views/ns3/named.conf.j2
bin/tests/system/views/ns3/named2.conf.j2
bin/tests/system/views/ns5/named.conf.j2
bin/tests/system/xfer/ns2/named.conf.j2
bin/tests/system/xfer/ns3/named.conf.j2
bin/tests/system/xfer/ns4/named.conf.j2
bin/tests/system/xfer_servers_list/ns1/named.conf.j2
bin/tests/system/xfer_servers_list/ns2/named.conf.j2
bin/tests/system/xfer_servers_list/ns3/named.conf.j2
bin/tests/system/xfer_servers_list/ns4/named.conf.j2
bin/tests/system/xferquota/ns1/named.conf.j2
bin/tests/system/xferquota/ns3/named.conf.j2
bin/tests/system/zonechecks/ns1/named.conf.j2
bin/tests/system/zonechecks/ns2/named.conf.j2

index 21f832daf86d009e90b55c5edc875cb9d77caa4f..d932199a3b69ee7c3fba138f85fadd372fc4ee8d 100644 (file)
@@ -1,11 +1,4 @@
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 options {
        query-source address 10.53.0.2;
index ba5b26d81e3b17af8478a848d8135994d586b782..15d9e2f24994d6805ce4b7c4f405e4e2da862d6a 100644 (file)
@@ -1,11 +1,4 @@
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 options {
        query-source address 10.53.0.2;
index b0d7863111dcfc63d3f313c9109c48c80934ff9d..7833044d25f8fdab5c905aaf2a08244f97e9905b 100644 (file)
@@ -1,11 +1,4 @@
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 options {
        query-source address 10.53.0.2;
index 5cdac06fde2a679b26df8bdecdd4d95fb50fb098..87d3482a7c9b53b33021cd86265855dfd19f2fcd 100644 (file)
@@ -1,11 +1,4 @@
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 options {
        query-source address 10.53.0.2;
index 963e104bae3bb1abe74335b4085d4a2fbe9036a2..2e476c3359863f58414871480dcdba84867f66fa 100644 (file)
@@ -1,11 +1,4 @@
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 options {
        query-source address 10.53.0.2;
index c05a0d7953a46f8985df1817e1bd029092a93272..2bcad4b4793815ba01df6302956994b8853a23ff 100644 (file)
@@ -13,14 +13,7 @@ options {
        dnssec-validation no;
 };
 
-controls {
-       inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
-
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
+{% include "_common/controls.conf.j2" %}
 
 template "allow-xfr" {
        type primary;
index e9d5764a161cc070afa01e622f51536069c35b2c..2768fa40857eae55b3f7dc6b1b2c0ad16d2406df 100644 (file)
@@ -13,14 +13,7 @@ options {
        dnssec-validation no;
 };
 
-controls {
-       inet 10.53.0.4 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
-
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "existing" {
        type primary;
index b97f12aaeb5e454e5a3525791e4ba837d4ffd72d..0213610d8da7502fa47f7b2ff10d6fdcf4d70fdf 100644 (file)
@@ -1,13 +1,6 @@
 {% set allownewzones = allownewzones | default(True) %}
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 options {
        port @PORT@;
index e0ac810bb81efbdf76818c6af398d61638910788..6eeda13943e375290a65d288be289a03cba432ef 100644 (file)
@@ -7,14 +7,7 @@ options {
        dnssec-validation no;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "." {
        type hint;
index 484109987eaadd0b8f0685c30e5fbf740146a41f..236657096ab11269fab7e51b179f8184adadb0e1 100644 (file)
@@ -10,14 +10,7 @@ options {
        dnssec-validation no;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "." {
        type hint;
index dff402e4ff29e22b04427caf8cc6ee7b95baad49..31898b6d97e1f394565946759ec2e50c56602213 100644 (file)
@@ -10,14 +10,7 @@ options {
        dnssec-validation no;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "." {
        type hint;
index 07195a69c2521100b097cc30e747366246bdefd1..42f347def6305f3877c3f6a65325ebf019021758 100644 (file)
@@ -10,14 +10,7 @@ options {
        dnssec-validation no;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "." {
        type hint;
index 3b0f6b29e43404244686a99ba475c1f887d80940..7190acb002b6068e7b75fa921f50b32aa8b7ecc5 100644 (file)
@@ -8,14 +8,7 @@ options {
        dnssec-validation no;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 view internal {
         match-destinations { 10.53.0.3; };
index 21d8d2a5739e41f3e3b55e5d3042e23518b2b7b5..37980e39731887c719e76e5d5084baf915f4b2d5 100644 (file)
@@ -8,14 +8,7 @@ options {
        dnssec-validation no;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 view internal {
         match-destinations { 10.53.0.3; };
index 001c0079530ee2a4a0b4466d3ff4ac360a05e9c7..2ea932ac124c0a1914b17b752d8d5831889dd0f5 100644 (file)
@@ -8,14 +8,7 @@ options {
        dnssec-validation no;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 view internal {
         match-destinations { 10.53.0.3; };
index cfcbe45d636cc605bde7b9c9c6dbbfcacef90ff9..d03e27297976e99dcb96f7df307ff2b0061fcac0 100644 (file)
@@ -8,14 +8,7 @@ options {
        dnssec-validation no;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 view internal {
         zone "." {
index 2ac382e0032472244bc526ef7dd90a5f8075e6d4..fb5a71a7efbbf7d679cccedd39a1f4bcbd7142ba 100644 (file)
@@ -18,11 +18,4 @@ zone "." {
        file "example.db";
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
index 154067e98ec29f837113642f83976452fd51a83f..05ec5d147986f184360ba9143694652e2cd4df8b 100644 (file)
@@ -14,14 +14,7 @@ options {
        dnssec-validation yes;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "." {
        type primary;
index 92ff6a9835e24cd532ba08fa182590ae11c25d57..9ab22a0da2dacd2e4a61643a5e12c301c4bf3d7e 100644 (file)
@@ -15,14 +15,7 @@ options {
        dnssec-loadkeys-interval 30;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 dnssec-policy "autosign" {
        keys {
index 72bb03d447c148e84e3bd207ff4216337a177e47..08ff163a8e091a0840d8ef2a1e57be4a51680b1e 100644 (file)
@@ -1,7 +1,5 @@
 // NS3
 
-controls { /* empty */ };
-
 options {
        query-source address 10.53.0.3;
        notify-source 10.53.0.3;
@@ -19,14 +17,7 @@ options {
        allow-new-zones yes;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 # The default
 dnssec-policy "autosign" {
index 6ab4db605791674375244470f45157376caf08e5..8f5bea44ba539c2a9ad31c2c707edf223627d5ef 100644 (file)
@@ -43,11 +43,4 @@ zone "." {
        file "root.hint";
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
index b6dd7f7429c53e16c7628551b1bc65820fe81d7e..1b9e51273fdb27c678c7443f34103bc0f75516b1 100644 (file)
@@ -17,14 +17,7 @@ options {
 };
 
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "." {
        type hint;
index 71ea0ed83b0b31c7c2f5271916d2da627b561983..c255ca9af8bc22893d9820213e8cfce60af0e073 100644 (file)
@@ -14,14 +14,7 @@ options {
        max-query-count 150;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "final.tld0" {
        type primary;
index 176c2c4e5bbe696c524d3624cdf5e8065b0d81ca..5fc254a6e00d4d8f29f40ff13b2989cb7eb6f9e6 100644 (file)
@@ -16,13 +16,6 @@ options {
        max-query-count 50;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.9 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "." { type hint; file "hints.db"; };
index 32a161cf2b26350501fb24b2d9b1f4f3841491c7..f5863da1a25a7c5dc8fd95380764591fa4739982 100644 (file)
@@ -21,11 +21,4 @@ zone "." {
        file "root.hint";
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
index bd75facb6dd020736821fbb0e2d242d5eb815ab7..64f316253f48ed1d859f5effd5d563cc2555e0c0 100644 (file)
@@ -1,13 +1,6 @@
 // NS1 - validating resolver, forwards "example" to the signed NS2
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 options {
        query-source address 10.53.0.1;
index f05dd33c7339b157dd34a16be0b17265b1789cdb..4624efedf08d29cb483555639fda26bbbf048a89 100644 (file)
@@ -1,13 +1,6 @@
 // NS2 - signed authoritative server for "example"
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 options {
        query-source address 10.53.0.2;
index 076c79caf3086bd9974da2d162fbbd35048c4b54..2ff410965a6dc8cafc5aedaed3d80eddca84c2e2 100644 (file)
@@ -19,19 +19,12 @@ options {
 };
 
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
 key restart16 {
        secret "1234abcd8765";
        algorithm @DEFAULT_HMAC@;
 };
 
-controls {
-       inet 10.53.0.7 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 view restart16 {
        match-clients { key restart16; none; };
index 6cca4413771435991fed48ab752823774b7d7aa1..90af32b9cac693f050abaaf86b9f3b61bc81368e 100644 (file)
@@ -15,13 +15,6 @@ zone "." {
        file "../../_common/root.hint";
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 include "trusted.conf";
index c0062a6bcd27333c54fd42c3ebf494080effb5d8..1f971d3e7df55087fcee58bfe5183b9c1885b705 100644 (file)
@@ -13,14 +13,7 @@ options {
        dnssec-validation no;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.10 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "ns2" {
        type secondary;
index 8e5b8115bfa7472bc94bc1ff64f046531b283c80..d92f1b6fc47ceef79a8c35ec0690b7272515bf99 100644 (file)
@@ -13,14 +13,7 @@ options {
        dnssec-validation no;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "." {
        type hint;
index d49b614cd9fc0838c7d9ceed78c80d7f22136329..a44cdff7fe1c326f49188c7f4631c0748bda4d84 100644 (file)
@@ -11,14 +11,7 @@ options {
        session-keyfile "session.key";
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "." {
        type hint;
index a97b5b351db4ab42b2165eea77155a293166e111..24dd9ea86c66a4c09d6dfef03d9ecf0f1c4bb0a9 100644 (file)
@@ -13,14 +13,7 @@ options {
        dnssec-validation no;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.4 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "ns2" {
        type secondary;
index 5146e214c77dd518385b096591272f2812f0f97a..ceb65eea8176c3cd8dc0b48027465c8f57b87bd7 100644 (file)
@@ -13,14 +13,7 @@ options {
        dnssec-validation no;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.5 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "." {
        type hint;
index 34ae89b79b3cfb358000ddae6454f56531683473..7a1c726b2771f8344638333cd8faa17d251e9345 100644 (file)
@@ -13,14 +13,7 @@ options {
        dnssec-validation no;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.6 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "." {
        type hint;
index 616e94cdf69b88f617925f8398f0cf99d2532376..ddd5c883d21fa6655745878223be95d403853e41 100644 (file)
@@ -13,14 +13,7 @@ options {
        dnssec-validation no;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.7 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "ns2" {
        type secondary;
index 30d406272204d76abc6c765ff7b8650a66e2aece..518dfe584c12fdf40fc85df873af2994bd9b27a0 100644 (file)
@@ -13,14 +13,7 @@ options {
        dnssec-validation no;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.8 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "ns2" {
        type secondary;
index c128563a82faffd45c36cda7e44ca2f4c37df3c5..b42d222434cc5e241b5242bfab900d229a531fa1 100644 (file)
@@ -15,14 +15,7 @@ options {
        dnssec-validation yes;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.9 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 remote-servers "ns8" port @PORT@ {
        10.53.0.8;
index cdf9f2de332c1cb0ffed70d1ea4018643195310d..66ead536c844a8df63373f71d5f78bf7b9e01c4a 100644 (file)
@@ -8,11 +8,4 @@ options {
        listen-on-v6 { none; };
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
index 08fe4fced47b57df168080e36d898ba3cc5c9de2..af6630a9be3c1f09faf8770f2647f374fa4cb864 100644 (file)
@@ -9,14 +9,7 @@ options {
        listen-on-v6 { none; };
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 view default {
        match-clients { any; };
index 98b955162b5d4e2db1038c6650fd736e1be79107..524708e158753c37f109581e5d85b69f1cbfeaf0 100644 (file)
@@ -9,11 +9,4 @@ options {
        listen-on-v6 { none; };
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
index 034432237fdc8636c26f21164f0d6d2a0e6e4a5e..861339e5217dcd9dd9d6723d86a19ab1a336eec7 100644 (file)
@@ -8,14 +8,7 @@ options {
        recursion no;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 view "default" {
        zone "example." {
index 153de1e0c54c8c238cd4610a82dc6fc9fe86a296..b11e8e032416c39a9c039276a8c94758fae89a7a 100644 (file)
@@ -1,8 +1,3 @@
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
 key foo {
        secret "aaaaaaaaaaaa";
        algorithm @DEFAULT_HMAC@;
@@ -12,9 +7,7 @@ server 10.53.0.10 {
        keys foo;
 };
 
-controls {
-       inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 options {
        query-source address 10.53.0.1;
index 1030e3ecc0772cd621a97684905d45373f6fa3b6..8ad600762c7da8df1f15b42a54384aad62b99d2c 100644 (file)
@@ -1,11 +1,4 @@
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 options {
        query-source address 10.53.0.3;
index 60bce3bcdadffdd77bf4599b0fe0266144be6744..a08c6371dc08a2ab8c249525741bf6b4e37202c1 100644 (file)
@@ -1,11 +1,4 @@
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.4 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 options {
        query-source address 10.53.0.4;
index ec04a5dd62f74c6da3f2391c0ca7f1aec1de21fc..1ca3a38b0c9e0142ed40848dc42353c923c5014d 100644 (file)
@@ -1,11 +1,4 @@
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.5 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 options {
        query-source address 10.53.0.5;
index 2092c9cebb081c5b35cd366fb506751bf8d234a9..0192fe1cdc92bade5bdacbf2dd14559bba32b901 100644 (file)
@@ -1,11 +1,4 @@
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.6 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 options {
        query-source address 10.53.0.6;
index 137397a10a0cf548bf6fe195cd89d51e1128b132..9ad6dbe56acf4b94a9bcf49463dcfa5ba92a6892 100644 (file)
@@ -1,11 +1,4 @@
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.8 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 options {
        query-source address 10.53.0.8;
index 44f64403e4fdfe92802b0c1763a4a30f5d156b85..83f0b18acd8bbc5dca8caf2c2033be8ff53977e9 100644 (file)
@@ -16,11 +16,4 @@ zone "." {
        file "root.db";
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
index 68886228740d464958e8475ba34691ff60d7280b..8566d2afbcab7a02725cc7e1e8a466cce77c8ecb 100644 (file)
@@ -15,11 +15,4 @@ zone "." {
        file "../../_common/root.hint";
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.4 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
index 6459dcad42da47080578574d1719e2ba62abfb89..1df289aa7cf72fe25a6988963dcbdc2f6aeb35b8 100644 (file)
@@ -1,13 +1,6 @@
 // NS1
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 options {
        query-source address 10.53.0.1;
index 04a64c15ef80f1d789cc3ea06e0557adeb032187..b425652cde533435bb8f6deaed9279c94851b607 100644 (file)
@@ -23,11 +23,4 @@ zone "." {
        file "root.hint";
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
index e9204885fcc41a966a85226f171fcdd7c9e2f1c7..d10647de51f939fb8728038d08cb1c45f47cfb31 100644 (file)
@@ -9,11 +9,4 @@ statistics-channels {
        inet 10.53.0.1 port @EXTRAPORT1@;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
index 248c4a5efd758ffdc38106d149aff91eb65078e6..7573a5308e13b08a096322e9962bd922e3e4b1d5 100644 (file)
@@ -1,11 +1,4 @@
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 options {
        port @PORT@;
index c334793d6d5a760c01cbe0c7d2089aeb05c5182e..4c5244b86a9027644282b546e99ce58033edef49 100644 (file)
@@ -1,11 +1,4 @@
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 options {
        port @PORT@;
index 972a078f820297645cb15f7561f325eae584a70b..9b053f04cac95186339cfa22828d0f2ecfb9f321 100644 (file)
@@ -13,16 +13,9 @@ options {
        dnssec-validation no;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
 include "ddns.key";
 
-controls {
-       inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 dlz "example one" {
        database "dlopen @TOP_BUILDDIR@/testlib-driver-dlzexternal.@DYLIB@ example.nil";
index f492c7cc1c51e12975cdf29bc1e176ba948d1993..947d9e29a9a2f31ff67774cb6cd5e93a393a0d5a 100644 (file)
@@ -17,14 +17,7 @@ options {
        notify-delay 1;
 };
 
-key rndc_key {
-        secret "1234abcd8765";
-        algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-        inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 dnssec-policy "dnssec" {
        keys {
index 4e1dc2c5d2bb258f31a42e17d1e2c80b89ae1e95..32ece18c4bcd48ea69736c67ac6ade70d401c3d2 100644 (file)
@@ -19,14 +19,7 @@ options {
        session-keyfile "session.key";
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 dnssec-policy "dnssec" {
        keys {
index af538cf92c6279e87a9a5dfe60c03d5779eb1953..d72dc52bf166b51dcb0a79f983994c901c1b0859 100644 (file)
@@ -39,14 +39,7 @@ options {
 include "trusted.conf";
 {% endif %}
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.4 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 {% if multi_view %}
        view rec {
index 74f0e2e051a6bd886a0973062c43a9deb10c4002..bc128cc6a7420b0bdb38b2abdcbd5c2edf0f5e1b 100644 (file)
@@ -23,14 +23,7 @@ options {
 {% endif %}
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.5 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 {% if revoked_key %}
        view root {
index 9adafe4bbf554268577314f86462399634872e19..5ba53ae19754bb3f1f103e61fd785b2522200215 100644 (file)
@@ -22,14 +22,7 @@ options {
        servfail-ttl 0;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.9 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 include "trusted.conf";
 include "trusted-localkey.conf";
index be78dac099929b570a22919a7469fdd2a9aa5cbd..c97733947f673d3a0a2c6fe0ba6a6cfb3408fcaf 100644 (file)
@@ -20,14 +20,7 @@ options {
 };
 
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "." {
        type primary;
index 0c4253c38ce9e8562759dd565dba333fc5a34fed..2ff7d5bd65b0672a326f60d1d2293867f2c39760 100644 (file)
@@ -20,14 +20,7 @@ options {
 };
 
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "." {
        type hint;
index 5cc303bc64d5b491ee176548805b04a4e8809826..41ae7423b33373572ac7c77c428629cbbd61cef1 100644 (file)
@@ -23,14 +23,7 @@ options {
 
 server 10.53.0.1 { tcp-only yes; };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "." {
        type hint;
index b8aad0ea386406e2411517c0c1ca2405fe35ecaa..5b36841bc5369654a1b80c17b10034dba1fd31b8 100644 (file)
@@ -22,14 +22,7 @@ options {
 
 server 10.53.0.1 { tcp-only yes; };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.4 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "." {
        type hint;
index 480302969b6b3d6308929b57d0c7c8bfdd57f7d4..a62d67681d2ec2f66aa215509b140b14d34c7fea 100644 (file)
@@ -21,11 +21,4 @@ options {
        forward only;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.5 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
index 6d94807ba0bea8b7e0f1d4874cb8c001148c2089..7740ad64eb321c5be53f7bc7ce5bb86f4a99744b 100644 (file)
@@ -1,5 +1,3 @@
-controls { };
-
 options {
        query-source address 10.53.0.1;
        notify-source 10.53.0.1;
@@ -14,14 +12,7 @@ options {
        dnssec-validation no;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 dyndb sample "@TOP_BUILDDIR@/testlib-driver-sample.@DYLIB@" { ipv4.example.nil. in-addr.arpa. };
 dyndb sample2 "@TOP_BUILDDIR@/testlib-driver-sample.@DYLIB@" { ipv6.example.nil. 8.b.d.0.1.0.0.2.ip6.arpa. };
index 8b7ff500cf3c25357a88a19b19104103bcdf744b..0c3381f2e0a23206d4eae917973b4e3a5df8b64d 100644 (file)
@@ -13,11 +13,4 @@ zone "foo.fr" {
        file "foo.fr.db";
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
index 3db3e37a815b7bb378388239928a828e32342d48..4aa4f86e396e50ab72d3e20b0756801106a0572d 100644 (file)
@@ -12,11 +12,4 @@ zone "foo.fr" {
        primaries { 10.53.0.1 port @PORT@; };
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
index d8dabe41517be37061c559df21606cc9799c679e..ec38a9f55d56bc8d7ec5f4490daf0725e0efdfe0 100644 (file)
@@ -1,11 +1,4 @@
-key rndc_key {
-       algorithm       @DEFAULT_HMAC@;
-       secret          "1234abcd8765";
-};
-
-controls {
-       inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 options {
        query-source address 10.53.0.1;
index baaed133aa2421d5b02374fcad190bd2c34164ea..f3c1180cd4bd3a196890508cd8c9aae2b76c4624 100644 (file)
@@ -1,5 +1,3 @@
-controls { /* empty */ };
-
 options {
        query-source address 10.53.0.1;
        notify-source 10.53.0.1;
@@ -13,14 +11,7 @@ options {
        notify no;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 key-store "hsm" {
        directory ".";
index f7555355606aed3ce9dc8345594f5f0f1dd9b844..b81b2a505560e19e34684b5ecafab9795f892629 100644 (file)
@@ -16,11 +16,4 @@ view "default" {
        };
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
index de0ea6481773ad5ac4d3f5ca7c1c434e2c29a8ee..af32dc46fd38705c409b84929447c9906e10a7be 100644 (file)
@@ -14,11 +14,4 @@ zone "tld." {
        file "tld.db";
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
index ff6f955577dfda0a91e1a6f0b1285fea2b9ef557..42408a9d6a2e2fe4a3afa4855fe3b624c288c65e 100644 (file)
@@ -19,11 +19,4 @@ zone "example.tld." {
        file "example.tld.db";
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
index bd18bbf02acafedcf7f9f1d860a16799ddf3b1d2..88729c5659860a1f653b82a5a6ab5f996f5583fd 100644 (file)
@@ -14,11 +14,4 @@ zone "." {
        file "root.hint";
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.4 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
index eca1096e9e75ee08e7225ff57db16fb4440c5779..f85b068980a8ccb183e8ad18f8362215c88d9f35 100644 (file)
@@ -11,14 +11,7 @@ options {
        notify yes;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 
 zone "example" {
index dfff5778cb3fd1f8e1dad5c35863abcf356059f6..5be01416320eaf2175b8cede74f0c685383053b5 100644 (file)
@@ -1,5 +1,3 @@
-controls { /* empty */ };
-
 options {
        query-source address 10.53.0.3;
        notify-source 10.53.0.3;
@@ -20,14 +18,7 @@ server 10.53.0.4 {
        edns no;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "." {
        type hint;
index ec7649dc6fef6bd2f14ff1793f81146efa73119e..fe469059b4f751f6d883374257c878158428bcba 100644 (file)
@@ -18,14 +18,7 @@ server 10.53.0.4 {
        edns no;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "." {
        type hint;
index ab61f8ec00371966521eff0461551ccca21a8278..ad7b2b555197b4f09d1751a4ac662725013d5ca5 100644 (file)
@@ -18,14 +18,7 @@ server 10.53.0.4 {
        edns no;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "." {
        type hint;
index 477ec11c8339cd333d457ebe03a7ac139c8bf215..252cb8b0006a2129fd89eefdbbe6f5ade0c981cc 100644 (file)
@@ -19,14 +19,7 @@ server 10.53.0.4 {
        edns no;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.5 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "." {
        type hint;
index c7603d870feaa2efb2fecd1b628078508275dfad..793160e49dd51fdc3609d7009a12044e2897e916 100644 (file)
@@ -22,14 +22,7 @@ server 10.53.0.4 {
        edns no;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.5 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "." {
        type hint;
index cdd923c21e341d2933bbf6f735f2b058795607d7..019996ea6f1d4e709d16bb426dc1da6c93ed3c9b 100644 (file)
@@ -23,14 +23,7 @@ server 10.53.0.4 {
        edns no;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.5 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "." {
        type hint;
index 956b619b56172ffaef66e7b91a8f85eca786fd3f..81534e6895e4b104e0443503fe9174f3078db897 100644 (file)
@@ -29,14 +29,7 @@ options {
         };
 {% endif %}
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 
 zone "." { type primary; file "root.db"; };
index 1be883786da346a83cca5bbb87a018ad384b16a8..5e6fa70fbc8a7a19614733d120ec71cb7f56f8f8 100644 (file)
@@ -28,14 +28,7 @@ options {
         };
 {% endif %}
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "." { type hint; file "hints"; };
 
index eaf936dfb32275c1768cccf88d298b7477f652a2..41e921d9750d75627bdbdc43c40dafeab66ca9ef 100644 (file)
@@ -28,14 +28,7 @@ options {
         };
 {% endif %}
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "." { type hint; file "hints"; };
 
index 767708b4989d5bd632935e4c9f269389a0786fca..7911423872295daeb245a853969c4df04d8c1fd0 100644 (file)
@@ -27,14 +27,7 @@ options {
        };
 {% endif %}
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.4 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "." { type primary; file "root.db"; };
 
index 523e3aca446a5a4b1b0d41c10d02a9129b8353e7..1a67e6c8f79f8b690acdf1eaf3a00d95f177b08a 100644 (file)
@@ -22,14 +22,7 @@ plugin query "@TOP_BUILDDIR@/filter-aaaa.@DYLIB@" {
        filter-aaaa { any; };
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.5 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "." { type hint; file "hints"; };
 
index f342b3c98e7a7b3dcc03b79ef5b7ffff7015be6f..ba8880c0eb0f7b9b25934be0c57b482878826299 100644 (file)
@@ -15,14 +15,7 @@ options {
 };
 
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "." {
        type hint;
index 4db8961b5a4cda9b950bcdc0e537387806d1bf8a..117ab49e3ab7997dab233c294f452c1905819c4b 100644 (file)
@@ -15,14 +15,7 @@ options {
 
 include "trusted.conf";
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "." {
        type hint;
index fa26a9063396dd17fd6d7ce622bd380df7e8b15e..f481a351e5cb6f4fdceac279ee205b30f9c9e085 100644 (file)
@@ -10,14 +10,7 @@ options {
        edns-udp-size 1232;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.9 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 server 10.53.0.10 {
        edns no;
index 16004292ea1dfd3861b93c772bf2759042c30baf..2649ddc11d13d336aa7a9d2d36aa65f23958ca88 100644 (file)
@@ -10,14 +10,7 @@ options {
        edns-udp-size 1232;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.9 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 server 10.53.0.10 {
        edns no;
index 44afcbcfee8e36f57b25df19a891912a74c0bf2a..cd91ad737b457c5b4e67951d66bcc2aa40a9673b 100644 (file)
@@ -12,14 +12,7 @@ options {
        forwarders { 10.53.0.10; };
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.9 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 server 10.53.0.10 {
        edns no;
index 494e0ee98b08a3e4a1d6a2dd2b2f08c8bf75567a..a5c5ccaccdddf94a57653581344c1f8b121e03fa 100644 (file)
@@ -10,14 +10,7 @@ options {
        edns-udp-size 1232;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.9 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 server 10.53.0.10 {
        edns no;
index 76fd51e59ac06c4a403a57c66ab37f6b1c915563..b4a006095750175ea21352d668ffda0439dc162e 100644 (file)
@@ -13,14 +13,7 @@ options {
        geoip-directory "../data";
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 view one {
        match-clients { geoip db country country AU; };
index e1788f60517c3160a873d10443577e4d8324ecb2..f1b6623d95a79da037270bec26bc18e9f3321077 100644 (file)
@@ -13,14 +13,7 @@ options {
        geoip-directory "../data";
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 view one {
        match-clients { geoip asnum 100001; };
index 87c592d0b9d51e6c596f43cf625ebc1d696f904b..19688de9f8587329dcb73c9f235bc05a4dd8fc40 100644 (file)
@@ -13,14 +13,7 @@ options {
        geoip-directory "../data";
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 view one {
        match-clients { geoip domain one.de; };
index b57dcf67e65e7447e49f63e6089770e54e19e8ea..86abf2115ba13f16ea176482be5481d970fade6a 100644 (file)
@@ -18,11 +18,4 @@ options {
        blackhole { blocking; };
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
index 3d8269422f57a9c82411e615e887fe255a849e3d..1261c663cea3396abbd9dd70adc9e299f63a800a 100644 (file)
@@ -13,14 +13,7 @@ options {
        geoip-directory "../data";
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 acl gAU { geoip db country country AU; };
 acl gUS { geoip db country country US; };
index 2fcb317767580312981c051b51629f05033e625d..63c824dad592243e2c645dee34229f517136070c 100644 (file)
@@ -13,14 +13,7 @@ options {
        geoip-directory "../data";
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 view one {
        match-clients { geoip db country country Australia; };
index 677213047dd05c98c23a06cc11db7d77c6f3f7cb..39cb149a0c4f600480d617bd0ce3683679f2948a 100644 (file)
@@ -13,14 +13,7 @@ options {
        geoip-directory "../data";
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 view one {
        match-clients { geoip db country continent OC; };
index 9e389ce2def0b6d2555b12e8882f953b2e6313da..fd8e22e026423ee8523cc83f463bc390cb0d0f39 100644 (file)
@@ -13,14 +13,7 @@ options {
        geoip-directory "../data";
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 view one {
        match-clients { geoip region CA; };
index ec9d3a10636cbc56df17c0fbc0673b25f1c7d38f..e76813bf311598dc2e2986e9fad25b62546fd2c4 100644 (file)
@@ -13,14 +13,7 @@ options {
        geoip-directory "../data";
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 view one {
        match-clients { geoip city "Redwood City"; };
index eac8aa4e262abfd7f9154d6efaf7afa7dd9e0a7d..6a57790d69d3b04067de1e52731128b83fc2f53f 100644 (file)
@@ -13,14 +13,7 @@ options {
        geoip-directory "../data";
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 view one {
        match-clients { geoip isp "One Systems, Inc."; };
index 73873f280209ba3fa1c4f40659205498bfb9f33f..c8654044759e2ef15090b8484a1fa6e16909b47a 100644 (file)
@@ -13,14 +13,7 @@ options {
        geoip-directory "../data";
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 view one {
        match-clients { geoip org "One Systems, Inc."; };
index 13d07713287fe10d4539ecb6ecce402a610ec5df..8220006e3cadfb5a248d6a1b898c2cd035a63bc8 100644 (file)
@@ -13,14 +13,7 @@ options {
        geoip-directory "../data";
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 view one {
        match-clients { geoip asnum "AS100001"; };
index 8271d9bcb4ca110d5d5bb68590e217f16386e835..0925df31b6eb4b5db0e443b62c8f6328d78d3651 100644 (file)
@@ -16,11 +16,4 @@ zone "example" {
        file "example.db";
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
index 45f9356584b6ef1c35e9be92320fdc188071a9db..65d0dc2334d044a0105032efd343168b0c04c2cf 100644 (file)
@@ -19,14 +19,7 @@ plugin query "@TOP_BUILDDIR@/testlib-driver-async";
 plugin query "@TOP_BUILDDIR@/testlib-driver-async.@DYLIB@";
 {% endif %}
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "example.com" {
        type primary;
index 64908b9b313aac548a5e3fe015553a3c56ba7616..68e885b5bc4565be5ce9b669379380adbe92da8c 100644 (file)
@@ -13,14 +13,7 @@ options {
 
 trust-anchors { };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 plugin query "@TOP_BUILDDIR@/testlib-driver-syncplugin" {
        rcode noerror;
index 283cd83d01762e212be2bbaaddc8a70e5429b221..d9808cfc69220e30e951f6c62dc2d2a0ad0f800a 100644 (file)
@@ -12,11 +12,4 @@ options {
        dnssec-validation no;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
index 6234c4e48d79808957bbffc849dbb8fafbac27cf..fe940bd24af46946f0a4e156ed8ffd453b34535d 100644 (file)
@@ -12,14 +12,7 @@ options {
        dnssec-validation no;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 view "primary" {
        ixfr-from-differences yes;
index 3be7e4f4b5aaddbbeec431e25dc91d5392b11b80..6a7c8cc90650b009b962444372913fae65e32bf8 100644 (file)
@@ -12,14 +12,7 @@ options {
        dnssec-validation no;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.4 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 view "primary" {
        ixfr-from-differences yes;
index 42adb02fd783b2768cd0deb8d773f4f8d1cded85..5e8dafa626b28f81ccd5dc9c6997f94396dcf081 100644 (file)
@@ -13,14 +13,7 @@ options {
        dnssec-validation no;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.5 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 view "primary" {
        ixfr-from-differences yes;
index 7393a4c96c5712cf43a4c8a2867611f803afc67d..2390c495a710268677ddb9636a31fadf800cd42d 100644 (file)
@@ -13,14 +13,7 @@ options {
        notify yes;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone . {
        type hint;
index 389992ebbe3b9fed49c9d3e60cfa287a69b59bb3..6d7daf1ad11e89d8fafeed30e3e0e83665ae159b 100644 (file)
@@ -13,14 +13,7 @@ options {
        notify yes;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone . {
        type hint;
index 454e90398c111be4fddfa2ab2e41e1e56b9137e8..d6b5e93f4fcdf4b1bb91e0218ebd3bf308ca3af3 100644 (file)
@@ -14,14 +14,7 @@ options {
        dnssec-validation no;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 /* Inherit dnssec-policy (which is none) */
 
index 73ecbe5503dbe7e931cfabbf5227b89ba21324ac..cf5b063a2a3e8d730f51fb466b4c987b563ba7bd 100644 (file)
@@ -14,14 +14,7 @@ options {
        dnssec-validation no;
 };
 
-key rndc_key {
-        secret "1234abcd8765";
-        algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-        inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "." {
        type hint;
index cea5327746ad6e6552f0b1ca583ab020411e3055..f0db7e20d2be81977a8d5803de28332eb729397f 100644 (file)
@@ -2,14 +2,7 @@
 
 include "purgekeys.conf";
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.4 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 key "sha1" {
        algorithm "hmac-sha1";
index 168e2c3a6516e4e5e143759328079f7a1b06a138..1d819e3465fb9c4cf53f1465f2c766ffa82effdd 100644 (file)
@@ -1,13 +1,6 @@
 // NS5
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.5 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 key "sha1" {
        algorithm "hmac-sha1";
index b3d78eb5beee696d2d9a62a979051ad178e76e53..e77a9ddf5b1456b203db37ca299a7bb10ad5d6d4 100644 (file)
@@ -17,14 +17,7 @@ options {
        dnssec-validation no;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.6 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "." {
        type hint;
index f712abd61ecd15f76e74b76aa4d5e59261a345af..9c0ed7e16e3774e4d0b62071fcbdebd1355c9339 100644 (file)
@@ -11,14 +11,7 @@ options {
        dnssec-validation no;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "." {
        type primary;
index 80cd9e75c3c68be57a1cf922c211ba856b00c1d4..312a7e6bb986145f7851e869597c41269a752dfb 100644 (file)
@@ -1,11 +1,4 @@
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 options {
        query-source address 10.53.0.2;
index 6ae9a19617ecde454d1c0c8e917e3f9ccab60041..d1529c4bde8a88dd452d27bea2717d3c1d511d1b 100644 (file)
@@ -17,14 +17,7 @@ server 10.53.0.2 {
        tcp-keepalive yes;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "." {
        type hint;
index 0fb2df4fba88a150e78e120a9e6e2a4d555b8abe..b0f3c8706eb528c45323ffd5a86855af5b1b5251 100644 (file)
@@ -12,14 +12,7 @@ options {
        allow-new-zones yes;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 dnssec-policy "common" {
        offline-ksk yes;
index 5c8683cffa1eb1ddb18fd72a9ff7fdf3a96c2c9f..047939d50d46c539634b6c6504d0914b23a2034a 100644 (file)
@@ -13,14 +13,7 @@ options {
 };
 
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "." {
        type primary;
index c4012761adb7bada4489975f16442f697f921567..5bccc24571bca4a0907ed48a3fd7e235f084dea9 100644 (file)
@@ -29,11 +29,4 @@ logging {
        category queries { query_log; };
 };
 
-controls {
-       inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { "rndc-key"; };
-};
-
-key rndc-key {
-       secret "1234abcd8765";
-       algorithm hmac-sha256;
-};
+{% include "_common/controls.conf.j2" %}
index c9a623908d613519083c37d036b93385bf2fc65f..540f7c6c7e35f4f7c8148b1612393cc54ec38d88 100644 (file)
@@ -20,11 +20,4 @@ logging {
        category lame-servers { null; };
 };
 
-controls {
-       inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { "rndc-key"; };
-};
-
-key rndc-key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
+{% include "_common/controls.conf.j2" %}
index 5d5679788550c743e72d55edee3e807db80afd69..1e79c7e251bc070a9383c4fac690096547dacad6 100644 (file)
@@ -29,11 +29,4 @@ logging {
        category queries { query_log; };
 };
 
-controls {
-       inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { "rndc-key"; };
-};
-
-key rndc-key {
-       secret "1234abcd8765";
-       algorithm hmac-sha256;
-};
+{% include "_common/controls.conf.j2" %}
index 441c1088bba34d3f10b7ec2afd57d1712c17e233..b4100057bc78dfe1d6eed9f1419ad0e482b1bfff 100644 (file)
@@ -20,11 +20,4 @@ logging {
        category default { default_log; default_debug; };
 };
 
-controls {
-       inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { "rndc-key"; };
-};
-
-key rndc-key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
+{% include "_common/controls.conf.j2" %}
index 44e5744796784aa0286df8ba2f4872e1ee9f156b..dce6837051815bd9d42888f5287a5fe32bbb0952 100644 (file)
@@ -21,11 +21,4 @@ logging {
 };
 
 
-controls {
-       inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { "rndc-key"; };
-};
-
-key rndc-key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
+{% include "_common/controls.conf.j2" %}
index 9a45348ef9cd23c6728687e4b4cb1b0e07a272da..373109c09a6c04a50f9c5f4ddedcbbd94e4cc475 100644 (file)
@@ -20,11 +20,4 @@ logging {
        category lame-servers { null; };
 };
 
-controls {
-       inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { "rndc-key"; };
-};
-
-key rndc-key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
+{% include "_common/controls.conf.j2" %}
index 772d55e6e2f68fa0afd14834255acfa5a0aeba02..3d878ae6517b58bc919a1084e927ffd97664ecdb 100644 (file)
@@ -27,11 +27,4 @@ logging {
        category queries { query_log; };
 };
 
-controls {
-       inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { "rndc-key"; };
-};
-
-key rndc-key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
+{% include "_common/controls.conf.j2" %}
index 9d21cfcc636d3eced6f5552b2e4d01e214d33f66..127f6c6624d29682d97bcc167c315eea7a590617 100644 (file)
@@ -11,11 +11,4 @@ options {
        notify yes;
 };
 
-controls {
-       inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { "rndc-key"; };
-};
-
-key rndc-key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
+{% include "_common/controls.conf.j2" %}
index 71c1949938f920113575915f44ca25b9164c111a..19f85e49b5e923cf55fb4a849b53ff576547a4c8 100644 (file)
@@ -20,11 +20,4 @@ logging {
        category lame-servers { null; };
 };
 
-controls {
-       inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { "rndc-key"; };
-};
-
-key rndc-key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
+{% include "_common/controls.conf.j2" %}
index 0564133be66e025c56ed6ccf5c154b462cb692a5..fc0dc2e1abd52bd02dbbb80ece84ab6f346bc15f 100644 (file)
@@ -29,11 +29,4 @@ logging {
        category queries { query_log; };
 };
 
-controls {
-       inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { "rndc-key"; };
-};
-
-key rndc-key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
+{% include "_common/controls.conf.j2" %}
index f6760d66649a51fb6e139c3d6b0bff89a0d0b0fb..1193fd99c3e810841b437d377a1329d73fe7fb10 100644 (file)
@@ -29,11 +29,4 @@ logging {
        category queries { query_log; };
 };
 
-controls {
-       inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { "rndc-key"; };
-};
-
-key rndc-key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
+{% include "_common/controls.conf.j2" %}
index 5757390507858ffa57ccb35122debe78ba4b13d8..011fb6fe4b0debfedd785c8305ac101ed9d6c297 100644 (file)
@@ -29,11 +29,4 @@ logging {
        category queries { query_log; };
 };
 
-controls {
-       inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { "rndc-key"; };
-};
-
-key rndc-key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
+{% include "_common/controls.conf.j2" %}
index daadc33b7850f8e8d7d4db59cdb8bd4a91403161..e6a350a5d4894cfedfa34fa25bdde58aba41056f 100644 (file)
@@ -14,14 +14,7 @@ options {
        max-types-per-name 500;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 dnssec-policy "masterformat" {
        keys {
index 55fe0bc5dfa15b1ce5de1121ac8d34e5f10bce87..ed7292cc05eec5b0d2dcd9f92827a1a9a794b7b5 100644 (file)
@@ -10,14 +10,7 @@ options {
        dnssec-validation no;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "example" {
        type primary;
index 69a0a1c1f1dfa4073a6b74c8f3d2f92871da2ce2..df1039d21afd6ee3d6fbf9ea9bdedec917cf6adc 100644 (file)
@@ -16,14 +16,7 @@ options {
        max-types-per-name 11;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.4 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 dnssec-policy "masterformat" {
        keys {
index fd1f8b4058ed4b50c458d0a1d9c25ecb00e20abe..a5ff9d35b36b78134d7e76564bd383cef2dd395c 100644 (file)
@@ -16,14 +16,7 @@ options {
        max-types-per-name 9;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.4 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 /*
  * The template zone is fine, but when adding the DNSSEC records to the apex,
index d520667c4aa7ef7bb38f578bd6d24b37077ce957..a78c1c5dc46a45e130ffe0b9f923dfb63f34dbd3 100644 (file)
@@ -15,14 +15,7 @@ options {
        dnssec-validation no;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 /* These are zones that migrate to dnssec-policy. */
 zone "migrate.kasp" {
index d67cf24ee5e4cf46b9eac02762b18bf6cfcd16cc..2c4c9623061651fa2c8b63b1ebbbc6064087ad0c 100644 (file)
@@ -14,14 +14,7 @@ options {
        dnssec-validation no;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.4 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 dnssec-policy "rsasha256" {
        keys {
index f4ff1f5a94493649690f59b92c668d13bc3340b3..a562143056275177d4c19145095bcf32b11e1393 100644 (file)
@@ -18,11 +18,4 @@ zone "." {
        file "root.db";
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
index 3869e53b8d96b0fb63b5f11c077c7eeb8e575f63..22fd505ff758d20dfa456881d4a4ff3b7ed17626 100644 (file)
@@ -14,14 +14,7 @@ options {
        minimal-responses @minresp@;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "example2" {
        type primary;
index fb2ee8fc9b88b8fde9ffecdc4688f0628afeb1d9..ddb8c4c72123564c21b53ffb93d8bde12b81c45a 100644 (file)
@@ -14,14 +14,7 @@ options {
        minimal-responses @minresp@;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "." {
        type hint;
index 05b6c304cde19ec72d4a33bf6fb7cb77a7948783..75c52c18e98b1f45a671e053f87cf422ce8d27de 100644 (file)
@@ -14,14 +14,7 @@ options {
        minimal-responses @minresp@;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.4 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "." {
        type hint;
index 4cb462d883bd7f592146857e094a2a9eb27d4db8..2d82ba105c0b62cd582b34ed781472e7f594ea5e 100644 (file)
@@ -1,11 +1,4 @@
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 options {
        query-source address 10.53.0.2;
index 28fef4193c9fe8e9b2a053bd66ce9c59fc421aa1..856ff159c74d56391a7170d1c80bc1b9e83f2442 100644 (file)
@@ -1,11 +1,4 @@
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 options {
        query-source address 10.53.0.3;
index 6bdda598d1d027ddae8f46c3874fe2700e60eb63..ed126e55d8cdb88ef430397fe8875114154d25dc 100644 (file)
@@ -1,11 +1,4 @@
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 options {
        pid-file "named.pid";
index 1b30bfd8aaf90ee2170068d280186e77babe4326..6da24a56d38b848c44cce80608df33dd24872bc9 100644 (file)
@@ -20,14 +20,7 @@ options {
 };
 
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "." {
        type primary;
index 1b30bfd8aaf90ee2170068d280186e77babe4326..6da24a56d38b848c44cce80608df33dd24872bc9 100644 (file)
@@ -20,14 +20,7 @@ options {
 };
 
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "." {
        type primary;
index b8c385240305ade706869f0037f7d0fa25a24e2f..ab3ec88ff9628180ad9e28690118d7a17b9fbda8 100644 (file)
@@ -14,14 +14,7 @@ options {
 };
 
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "." {
        type primary;
index 88848469808fc6b49ee811adb05788403ae31af0..49094ff4c014ca3b9196e52902c9b38e0a1a30fe 100644 (file)
@@ -14,14 +14,7 @@ options {
        servfail-ttl 0;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "." {
        type hint;
index fe1c21eb53efbc3e76bf02a6b8848925a64fb9c6..5792db204c471e2bd003e8d4018e0e40fb27af15 100644 (file)
@@ -14,14 +14,7 @@ options {
        trust-anchor-telemetry no;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "." {
        type hint;
index 56787c0e354953f152a271bba64561d25bece1c6..0ca44cca501f6a7487f6f817555d08274b8282df 100644 (file)
@@ -14,14 +14,7 @@ options {
        managed-keys-directory "nope";
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.4 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "." {
        type hint;
index 0b5f28b1c5bb5cfa2ef5a1f98a7a59e5c9a24cb2..6795dc2686d7c2b5c504a5034f296c00c2f7eb43 100644 (file)
@@ -14,14 +14,7 @@ options {
        servfail-ttl 0;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.5 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "." {
        type hint;
index eefc8a54b4d8e139deb5c9e3ae6c4e94dea945af..b8b99665fa65e933de20a58222b4260997406037 100644 (file)
@@ -14,14 +14,7 @@ options {
        trust-anchor-telemetry no;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.6 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "." {
        type hint;
index f08888821cb280bee1f0a66fbe0f12a3a609000c..e17d5ea732f6a8c91f8654a4ba212cff801e64af 100644 (file)
@@ -13,14 +13,7 @@ options {
        dnssec-validation auto;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.7 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 view view1 {
        zone "." {
index d90567dff45bce3dfe2a4cad1c3f837aae24ff92..95cd4a70aee5ecbb589bedc0ade84131ce59d084 100644 (file)
@@ -13,14 +13,7 @@ options {
        dnssec-validation no;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "multisigner" {
        type primary;
index a7f2546cb598be9642673e3a507432460fcbb978..40bf9bd1e4459e4374885f419ac70f88689c0204 100644 (file)
@@ -16,14 +16,7 @@ options {
        notify-cfg CDS { notify yes; };
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "model2.multisigner." {
        type primary;
index cc73f37179e0e7b3713a6d89c80a7d240c888e2e..d72bdec005146d56fc6ab2d099b6984d75a825eb 100644 (file)
@@ -16,14 +16,7 @@ options {
        notify-cfg cds { notify yes; };
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.4 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "model2.multisigner." {
        type primary;
index 10da5a0272f258e4a43038d14a7a9a1d3a5f9403..dffde83ad8b942e51ce6a6788b91edf8bc985b57 100644 (file)
@@ -16,14 +16,7 @@ options {
        notify-delay 0;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.5 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "model2.secondary." {
        type primary;
index 03908b2337852fcd8d14b76dae21c6063b69cdd5..3a1e738d8b2f565b134e942350672a494ebcc3c6 100644 (file)
@@ -27,14 +27,7 @@ options {
 
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "." {
        type hint;
index 2bf4b817cff75e2b01aee605233d41c6ae65658a..a1195e9e66324b0060d95ac74a0b9f77620873dd 100644 (file)
@@ -17,14 +17,7 @@ options {
        dnssec-validation no;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 {% if "nsec3-xfr-inline.kasp" in zones %}
 zone "nsec3-xfr-inline.kasp" {
index 16ddd58b10f5ab112823f97259ff8f340b5e4860..9e980b4e2b3f43ce5f18b4c694dde4d6ae51e033 100644 (file)
@@ -11,14 +11,7 @@ options {
        dnssec-validation no;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 dnssec-policy "nsec" {
        // no need to change configuration: if no 'nsec3param' is set,
index 560580b65d28ee946084e195e27ae3fcd4b9f3f0..7604769f0926506f02430ecfef3eaf4b10889a6b 100644 (file)
@@ -1,11 +1,4 @@
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 options {
        query-source address 10.53.0.1;
index abdf03cc3335b5e351db7394bcdd6f1d106fcef7..0e857c9d16d81f1e5e8e7e4a07fc562485d55aca 100644 (file)
@@ -1,11 +1,4 @@
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 options {
        query-source address 10.53.0.2;
index c3a7e0d7eb2188a9b1105a423700043aabda4bdd..85e37ab80992adebc98733f5a6036219f7da1f28 100644 (file)
@@ -15,14 +15,7 @@ options {
        notify yes;
 };
 
-key rndc_key {
-        secret "1234abcd8765";
-        algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-        inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "c.p22.hack" {
        type primary;
index 09fbdd4e7026e2cc4aad3d89221fc65cc5c0ff9a..543c5a08ef60a12588f193a98888695ddd703bdf 100644 (file)
@@ -49,11 +49,4 @@ zone "." {
        file "root.hint";
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.4 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
index f7555355606aed3ce9dc8345594f5f0f1dd9b844..b81b2a505560e19e34684b5ecafab9795f892629 100644 (file)
@@ -16,11 +16,4 @@ view "default" {
        };
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
index de0ea6481773ad5ac4d3f5ca7c1c434e2c29a8ee..af32dc46fd38705c409b84929447c9906e10a7be 100644 (file)
@@ -14,11 +14,4 @@ zone "tld." {
        file "tld.db";
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
index b3b3912916be9d27a241924a708c608f45749c89..7a1cc54d9ee726e5f22153eaa8fade27d1bbf8fe 100644 (file)
@@ -14,11 +14,4 @@ zone "example.tld." {
        file "example.tld.db";
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
index 4cdca1c48cbcbed618bc8d557acaa1ee0227cde1..4885b240d36307743c7f488a10d13376ae9b4531 100644 (file)
@@ -21,11 +21,4 @@ zone "." {
        file "root.hint";
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.4 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
index 3c0e06879fc77197c6192d909363d14699231342..22b697ce5bf97104f5b73d567a0d030faee63111 100644 (file)
@@ -31,14 +31,7 @@ acl named-acl {
        any;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 key altkey {
        algorithm @DEFAULT_HMAC@;
index 1b3b467be4b698f1c20471d6f4c27bb191962fc4..467c35edb4df5c9dc86a4486b1d0660dbbebaa8f 100644 (file)
@@ -16,14 +16,7 @@ options {
        tkey-gssapi-keytab "dns.keytab";
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.10 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "in-addr.arpa" {
        type primary;
index 784c62816e727c86231c6b90324229bfa50b4ac3..e28dd033088b991249308b02b8b09d7b60ef4bbf 100644 (file)
@@ -12,14 +12,7 @@ options {
        dnssec-validation no;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 key altkey {
        algorithm @DEFAULT_HMAC@;
index fd3f4d50520307fbcdf17213f8f637a0e1434046..3111c03f96ae77094928c6f5f2ed58440d49d4c1 100644 (file)
@@ -14,14 +14,7 @@ options {
 };
 
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "." {
        type hint;
index 5f902f0624c58630362f7778a2439084fe75f88d..8115eac5d127eccd406dbb5fd7608c7b07b772d9 100644 (file)
@@ -13,14 +13,7 @@ options {
        dnssec-validation no;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.5 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "local.nil" {
        type primary;
index 808bba4bb7310c938bd94c1d7c78898f277657eb..d8fe3293ab3110a752a88923262c1d0946309476 100644 (file)
@@ -16,14 +16,7 @@ options {
        dnssec-validation no;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.6 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "in-addr.arpa" {
        type primary;
index 1ba33a6623bfde97f1a37ff05034769cc484e4e2..72a46df764e1a489e1c216050fe06be4d4bb133b 100644 (file)
@@ -13,14 +13,7 @@ options {
        dnssec-validation no;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.7 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "in-addr.arpa" {
        type primary;
index 13f1bf8911d0e2a6122424621df29c28c3db2eb8..930013bb766d0e635acc959723a66d22d09b1a13 100644 (file)
@@ -14,14 +14,7 @@ options {
        tkey-gssapi-keytab "dns.keytab";
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.7 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "in-addr.arpa" {
        type primary;
index c259ec1316582cd6966d962b9b338112b71b306e..bf3d1329665301a3e19594ca8e360d8d46a4c399 100644 (file)
@@ -14,14 +14,7 @@ options {
        tkey-gssapi-keytab "dns-other-than-KRB5_KTNAME.keytab";
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.8 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "in-addr.arpa" {
        type primary;
index fd0613509b1e67bf3b20346655e62ec88644f9b7..a615322e23ed96677b1585e222a07e6f93e9b3d9 100644 (file)
@@ -14,19 +14,12 @@ options {
        tkey-gssapi-keytab "dns.keytab";
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
 key subkey {
        secret "1234abcd8765";
        algorithm @DEFAULT_HMAC@;
 };
 
-controls {
-       inet 10.53.0.9 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "in-addr.arpa" {
        type primary;
index 9869605b97f2739025a0ecd51a8e90ff271c72d7..848524e21e9f7ef435c717687339a5cc8b9be1c3 100644 (file)
@@ -16,14 +16,7 @@ options {
        minimal-responses no;
 };
 
-key rndc_key {
-        secret "1234abcd8765";
-        algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-        inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "example" {
        type primary;
index 6643fc470a9c33947f2502c0d421fc432e49fc1a..a1359acc916de6c5a4da56b61cfa5c6d78d4407c 100644 (file)
@@ -15,14 +15,7 @@ options {
        minimal-responses no;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "example" {
        type secondary;
index 525c01a1fe54d292fccf60299a13876bab4627f9..d6557e83f1cf2554d8b1814ae9fe85001517a6c3 100644 (file)
@@ -20,14 +20,7 @@ options {
 
 include "trusted.conf";
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.4 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "." {
        type hint;
index 4323bebe3da7b618dae3ffd34f110c33dbf43046..c993f22f25df83eadd0052d59b15f3f90a4fb31a 100644 (file)
@@ -15,13 +15,6 @@ options {
        servfail-ttl 0;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.9 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 include "trusted.conf";
index 005de1d0f37bd831087f9d871ae55b76cb8fb495..f9ee45fbc908ec41aa8085138c4ea20b5f77d20a 100644 (file)
@@ -9,11 +9,4 @@ options {
        dnssec-validation no;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
index f712abd61ecd15f76e74b76aa4d5e59261a345af..9c0ed7e16e3774e4d0b62071fcbdebd1355c9339 100644 (file)
@@ -11,14 +11,7 @@ options {
        dnssec-validation no;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "." {
        type primary;
index 49322e3fdeeb226f0615cbd2dead7444bb74e276..49d3059ec29f93477e9fd206b1285205fbf3fd4b 100644 (file)
@@ -1,11 +1,4 @@
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 options {
        query-source address 10.53.0.2;
index 0f34aa66fce75ce8d0776326298e57f43e036af3..60a273eccce1e9745f72597d3b67f1b0cfa39f43 100644 (file)
@@ -17,14 +17,7 @@ server 10.53.0.2 {
        padding 64;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "." {
        type hint;
index 5d9a01043196432665bd904e3eab1385fbc6ba26..099ac4a7aba0b368f7d6042250d18959568b9d67 100644 (file)
@@ -17,14 +17,7 @@ server 10.53.0.2 {
        padding 64;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.4 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "." {
        type hint;
index 7ee2e8f759661ef4066c898a76742c62a91225c7..8d7b125a0c7c163dda7a9c35568a449c235db40f 100644 (file)
@@ -11,14 +11,7 @@ options {
        notify yes;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "." {
        type primary;
index dc4d8f3018563014b9107bd6daefce92966c9eaf..e3a578e805d533906068853b2a9108fd754db3e3 100644 (file)
@@ -12,14 +12,7 @@ options {
 };
 
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "." {
        type hint;
index 62451c4f1ee4728f913bc5646debfda4905bda69..3a8d312dfcfb52b6e75f06f609688a799ff1ea83 100644 (file)
@@ -12,14 +12,7 @@ options {
 };
 
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "." {
        type hint;
index 1a9623e0f92973c2df86b2a58895dabd04569190..d453fce291c9b0efb3d23ebac4a4b1378a852177 100644 (file)
@@ -13,14 +13,7 @@ options {
 };
 
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.4 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "." {
        type hint;
index 3b536d05f6f811908a9fdfe9d03ee0a92abc6edc..c4629e0b7d7241cee989e3c6c5ee06a0383fe9bd 100644 (file)
@@ -21,14 +21,7 @@ options {
        min-delegation-ttl 1;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.5 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "." {
        type hint;
index 4d179a1b6069f77e2829d875a76b259fcb2bc6fb..8fd0a1628b822bb54f59ac0c59716d679882f730 100644 (file)
@@ -15,14 +15,7 @@ options {
        dnssec-validation no;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.6 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "." {
        type hint;
index 49718108cdeeeabec1229a0625da4e1c0e81287e..5609ba0ee1309fa9e9eec62e9186ea1c0870ae76 100644 (file)
@@ -16,14 +16,7 @@ options {
        disable-empty-zone 10.in-addr.arpa;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.7 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "." {
        type hint;
index 98e02cb2c95f374994bdc0d769ef5e8a60dc94f6..f6b0c88efb735d323862e8b4d119307b75153b2f 100644 (file)
  * information regarding copyright ownership.
  */
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 options {
        query-source address 10.53.0.2;
index c677957136e9047301ff2ca9cb42e94ac8bd580c..0bca7e895befe2e86defc66329cc67e26b8eaba2 100644 (file)
@@ -1,11 +1,4 @@
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 options {
        port @PORT@;
index e983730e511f711912811a763ec20b24c726cf36..93622283dc72801a542271010d7b56c33c0f83d9 100644 (file)
@@ -1,11 +1,4 @@
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 options {
        port @PORT@;
index c465f793939ba4a39aaf0efb3ef0c1a99e5c81aa..fd53f119f89a2e9113573a90b64d10a61ac5cdc4 100644 (file)
@@ -1,11 +1,4 @@
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 options {
        port @PORT@;
index da1f66b96c95b87f8639585afdae7410f299c519..f3fa76a0aa7b33eec775ec5835b336d0fc154f8f 100644 (file)
@@ -1,11 +1,4 @@
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.4 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 options {
        port @PORT@;
index 2431b9ac64e24120222b7c59359a30af690de4f2..e21c98fccb20ef7a72d7886b2604599d93a242a2 100644 (file)
@@ -1,11 +1,4 @@
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.5 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 options {
        port @PORT@;
index d8f216cc68ac4ea0d84f4429962804bfc4ba722c..914a589b129f7d99a8bfb0169d681d739448fb13 100644 (file)
@@ -10,14 +10,7 @@ options {
        notify yes;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "example" {
        type primary;
index 9bbf6092c245fd8b0546c23ff694bbe11e0cec98..95fdb19ac960426cb8154bb879639eade344b151 100644 (file)
@@ -10,14 +10,7 @@ options {
        notify yes;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "1st" {
        type primary;
index fea6e2a639df46bd3dd362dfc1e79cf402e199c3..279b45e68966eceb715ca440d7073d05587789cb 100644 (file)
@@ -10,14 +10,7 @@ options {
        notify yes;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.4 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "example" {
        type primary;
index f7e855855c2d627705fd8e4871259628aec7bc80..e7d0d37012377d40045baaed2a8387c32cb75265 100644 (file)
@@ -10,14 +10,7 @@ options {
        notify yes;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.5 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "1st" {
        type primary;
index 46eb3492e3f370d454caed63b055018229ed352e..e67202cb03325f4eee2480fa83d908fbe0e249bc 100644 (file)
@@ -11,14 +11,7 @@ options {
        dnssec-validation no;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.6 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "." {
        type hint;
index 4920c728e4061c63e44d572261b0ae88d55a9175..7f770556276a063ced79e1022fc5ba4657d2fcb6 100644 (file)
@@ -16,13 +16,6 @@ options {
 };
 
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "." { type hint; file "hints.db"; };
index 45d7a731975b8149fb61385ac600ae0d3a133546..4b92fd543bc179bffe2fa9f82bea6d5acc4efa31 100644 (file)
@@ -15,13 +15,6 @@ options {
 };
 
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "." { type hint; file "hints.db"; };
index 5e3165923312172add7083066e4955db0b78ddb3..ea6a1bbb3a590ac851f095b241fc152831ecccb7 100644 (file)
@@ -16,13 +16,6 @@ options {
 };
 
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "." { type hint; file "hints.db"; };
index fb187f3a2df90aaf4686aabfebf54080abe260ae..71d57fb4aa03c8ffbc13c513f52ea776841eab2e 100644 (file)
@@ -16,13 +16,6 @@ options {
 };
 
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "." { type hint; file "hints.db"; };
index 0ad1120299a2e3f7d275974d928080a98e678cc1..f9a484a9d3c0d08fbfb389b583745597f9f8218d 100644 (file)
@@ -17,13 +17,6 @@ options {
 };
 
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "." { type hint; file "hints.db"; };
index 4f9227d5a6bda8029dbb0a362377ddbd7a090047..6d153b3b50601b9d2032625f564d709f65e8814c 100644 (file)
@@ -17,13 +17,6 @@ options {
 };
 
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "." { type hint; file "hints.db"; };
index 98fde4640a5d50688d5f2824e1cb7c78bad9eed8..08e2fdc5d892fe8f836920510a45442933ac5f99 100644 (file)
@@ -1,7 +1,5 @@
 // NS2
 
-controls { /* empty */ };
-
 acl rfc1918 { 10/8; 192.168/16; 172.16/12; };
 
 options {
@@ -19,14 +17,7 @@ options {
 };
 
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "." {
        type hint;
index 98d0ceab20c630efe81052280f6ab40b80a3fb85..b6c0b663f664a877823dbc67e565306e5520b952 100644 (file)
@@ -1,7 +1,5 @@
 // NS2
 
-controls { /* empty */ };
-
 acl rfc1918 { 10/8; 192.168/16; 172.16/12; };
 
 options {
@@ -19,14 +17,7 @@ options {
 };
 
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.4 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "." {
        type hint;
index 4a4e50dc5ed1d7c909a0b687c73e5ad775b9e09b..905e96b4cbecfc277cb7c71f12e4431d7d8e53bf 100644 (file)
@@ -53,11 +53,4 @@ view "alternative" {
        };
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
index b8fa49c8e1404970a395bc6e500f6bde0c49a637..ee2514678301f6ead2e953f00fe7bf55464168d1 100644 (file)
@@ -27,11 +27,4 @@ view "default" {
 {% endif %}
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
index 4fbd8f1d3a4cd3424cf557e52ee0169659642b28..29933d7f6947547de9f1321907c3e10557831839 100644 (file)
@@ -48,11 +48,4 @@ zone "v4only.net" {
        file "v4only.net.db";
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.4 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
index ad62661284068cad39470ea0d51ca25b5ad17a98..ac2b593491352900266393e62363a1fd0e8010dc 100644 (file)
@@ -53,11 +53,4 @@ zone "child.server" {
 
 include "trusted.conf";
 
-key rndc_key {
-        secret "1234abcd8765";
-        algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-        inet 10.53.0.5 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
index 6293abe45685c74fd4f1e16477d6ab35e726a979..19d6a853c8fd54cdb1a9f34256c237d0f5ac4dce 100644 (file)
@@ -71,11 +71,4 @@ zone "targetns" {
        file "targetns.db";
 };
 
-key rndc_key {
-        secret "1234abcd8765";
-        algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-        inet 10.53.0.6 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
index 5c920f5a10bfb185652c9f4f8964e4cf6c1bdaef..cbf94cc3bb391c54e435d572574a363a925e3cc6 100644 (file)
@@ -23,14 +23,7 @@ options {
 };
 
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.7 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "." {
        type hint;
index 9ea9873ed2b74425be7ed1eac6d04f8a474ff9c2..c858207229d2e38b5956dde73ca6303b0153d69c 100644 (file)
@@ -22,14 +22,7 @@ options {
 };
 
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.7 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "." {
        type hint;
index dc1cb0a17133bfda6bc274d1ac33a98fb7927a54..e3c1a21bb62fef4285147c01964aab39ab16eecf 100644 (file)
@@ -8,12 +8,5 @@ options {
        recursion yes;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
index 61afc765d0454a8e868a30b1832dc7059e16a954..470fe0e8758abaf2dd01c5b7c33e148fa3707417 100644 (file)
@@ -6,19 +6,12 @@ options {
        dnssec-validation no;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
 key secondkey {
        secret "abcd1234abcd8765";
        algorithm @DEFAULT_HMAC@;
 };
 
-controls {
-       inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 view all {
        match-clients { any; };
index eb86bf83609962c4b62cdc482bcf8ca2ba089c3b..c046e789dccca37f6161fc180e02b6ab8b51fc75 100644 (file)
@@ -7,11 +7,4 @@ options {
        dnssec-validation no;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.6 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
index 969296c4b79bdf5bdcb5654d86d0e2a014a70847..2e320febc0dbe3f4fec02b5ea9bd143f7d57e12e 100644 (file)
@@ -6,11 +6,6 @@ options {
        dnssec-validation no;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
 key int {
        algorithm @DEFAULT_HMAC@;
        secret "FrSt77yPTFx6hTs4i2tKLB9LmE0=";
@@ -21,9 +16,7 @@ key ext {
        secret "FrSt77yPTFx6hTs4i2tKLB9LmE0=";
 };
 
-controls {
-       inet 10.53.0.7 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 view internal {
        match-clients { key "int"; };
index 7ac07dee5f4941eed0142ce0c5b50aefe173fd07..009f1b9c487e926298b2d7f2adf4cbf0fbc80a6f 100644 (file)
@@ -14,14 +14,7 @@ options {
        dnssec-validation no;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "." {
        type hint;
index ee6284621f705dd6b976e5ee28d1e7ad978a3e30..b17d35b0ff95aaf2407692140f6965f4b3472f04 100644 (file)
@@ -20,14 +20,7 @@ options {
         notify-cfg CDS { notify yes; };
 };
 
-key rndc_key {
-        secret "1234abcd8765";
-        algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-        inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "." {
         type hint;
index 9fd3520d37a328f442108c4db6101230d1d25f62..5fac1717c21c0c6e77757783c65a1958112ea7a7 100644 (file)
@@ -24,14 +24,7 @@ options {
         dnssec-validation no;
 };
 
-key rndc_key {
-        secret "1234abcd8765";
-        algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-        inet 10.53.0.4 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "." {
         type hint;
index f4185b33934fc6a47100d03aa552251f10a0d90c..332dfd5e87e8f0f35a616f14ce5c0ed2a75c6cf2 100644 (file)
@@ -14,13 +14,6 @@ options {
        dnssec-validation no;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "." {type primary; file "root.db";};
index 201f67d23b40fbab8e12d405bcb97036ea1e8938..812252fb6c3dae132d2433f9cbf92afbb572f10e 100644 (file)
@@ -14,14 +14,7 @@ options {
        recursion yes;
        dnssec-validation yes;
 };
-
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-controls {
-       inet 10.53.0.10 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 include "../trusted.conf";
 zone "." { type hint; file "hints"; };
index 1b806df7f867a3552ffc013f2cbeb001168d877a..dfec3c3663e346c938701d2c191d86fc06cc9e48 100644 (file)
@@ -14,14 +14,7 @@ options {
        recursion yes;
        dnssec-validation yes;
 };
-
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-controls {
-       inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 include "../trusted.conf";
 zone "." { type hint; file "hints"; };
index 1e61c0b999d01974552f2b2c1eb4de52f8c8c559..69a383e679c4d905700add3a307b75577f5df190 100644 (file)
@@ -61,14 +61,7 @@ options {
 
 
 logging { category rpz { default_debug; }; };
-
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-controls {
-       inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 
 zone "." { type hint; file "hints"; };
index 98642248c4907bada3c41c9f665bc8ef4ef01cfa..c64ef18c0a83bc490dc075ac8a43708c50871288 100644 (file)
@@ -15,14 +15,7 @@ options {
        dnssec-validation yes;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.4 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 include "../trusted.conf";
 zone "." { type hint; file "hints"; };
index a02e884d405ef4ab985c31750eef99aec3223558..4fcde4b29c9623378f480fb4e7da5631740e4985 100644 (file)
@@ -24,14 +24,7 @@ options {
        # turn rpz on or off
        include "rpz-switch";
 };
-
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-controls {
-       inet 10.53.0.5 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 include "../trusted.conf";
 zone "."               {type hint; file "hints"; };
index aa3b4cf371ac5ab3424bf310dc412ee50d364127..8686ce9e802381275d9deb66e03dd0e9c3c1db79 100644 (file)
@@ -28,14 +28,7 @@ options {
 
 logging { category rpz { default_debug; }; };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.6 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 include "../trusted.conf";
 
index ca8944f52fa8c7fb17763f8c8ab69179076b7b0a..af971767d4827aed22c57f14d6fcf316d1c9bf9b 100644 (file)
@@ -24,14 +24,7 @@ options {
 
 logging { category rpz { default_debug; }; };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.7 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 include "../trusted.conf";
 
index 042e694985604db96a4dcd08692ae51a031ea538..253b60885e0fad15df7b0a558fa6f9bf891d06e2 100644 (file)
@@ -36,14 +36,7 @@ options {
 
 
 logging { category rpz { default_debug; }; };
-
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-controls {
-       inet 10.53.0.8 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 
 zone "." { type hint; file "hints"; };
index e2c1f3d393e5052ce882e89d2861673c2af58194..3e871cea05caf309f9388a8279123e63b0c18496 100644 (file)
@@ -30,14 +30,7 @@ options {
 
 
 logging { category rpz { default_debug; }; };
-
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-controls {
-       inet 10.53.0.9 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 
 zone "." { type hint; file "hints"; };
index 51e748c7dc00294e47827a98224aa6212e9ec186..2961b5185ed5e34877afa0a68e1aa7107bf1cc5c 100644 (file)
@@ -1,11 +1,4 @@
-key rndc_key {
-    secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 options {
        query-source address 10.53.0.2;
index c03ba63f996cbe74c356ec2de8813b9bc8e1e4e0..8ba631b798a6e68a9cff9f97a139ce856781e502 100644 (file)
@@ -1,11 +1,4 @@
-key rndc_key {
-    secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 options {
        query-source address 10.53.0.3;
index f4171060dba89e47cd68198954048b7f11b5d234..c839fe4f97e3735f6e87d3465c5bba08bf4cf654 100644 (file)
@@ -12,14 +12,7 @@ options {
        querylog yes;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "." {
        type primary;
index 5b747c6da6ecdcfe45f3ef88184d31d2a020a5db..429f764db5637aaacbd5771180260d9076a22b5a 100644 (file)
@@ -1,5 +1,3 @@
-controls { /* empty */ };
-
 options {
        query-source address 10.53.0.2;
        notify-source 10.53.0.2;
@@ -15,11 +13,4 @@ options {
 };
 
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
index efbeeec6f013f88f3b5efc433738fc816d211b73..611e07d5407cf5a815cc57de8ebc883bd66dc55d 100644 (file)
@@ -1,5 +1,3 @@
-controls { /* empty */ };
-
 options {
        query-source address 10.53.0.4;
        notify-source 10.53.0.4;
@@ -13,13 +11,6 @@ options {
        dnssec-validation no;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.4 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "child.example.tld" { type primary; file "child.example.db"; };
index 61b932049d371721df5620df91829288f138cf72..a88e3d0d4cf878da53e85840f33fa33de0066eba 100644 (file)
@@ -23,14 +23,7 @@ options {
        };
 };
 
-
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-controls {
-       inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 /*
  * These log settings have no effect unless "-g" is removed from ../../start.pl
index 5e1315ae7fd3d4cbeb5b9f3f753d8dad9418f90e..1f754efd792149256aed945831fbe3eb18ff39be 100644 (file)
@@ -25,14 +25,7 @@ options {
        };
 };
 
-
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-controls {
-       inet 10.53.0.4 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 /*
  * These log settings have no effect unless "-g" is removed from ../../start.pl
index c287a2f8c6cd921a3ed55de68b71e388ab912d7f..ba570d95e296a847a01d1b79a2c6a2df95121a64 100644 (file)
@@ -17,14 +17,7 @@ options {
        dnssec-policy none;
 };
 
-key rndc_key {
-        secret "1234abcd8765";
-        algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-        inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "test" {
        file "test.db";
index eae9122e57e7b820eaf946c7964b36c68770ceeb..e4ecad2e0451867b0e736279f2d7243c1051e1b9 100644 (file)
@@ -11,11 +11,4 @@ options {
        dnssec-validation no;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
index 09fbdd4e7026e2cc4aad3d89221fc65cc5c0ff9a..543c5a08ef60a12588f193a98888695ddd703bdf 100644 (file)
@@ -49,11 +49,4 @@ zone "." {
        file "root.hint";
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.4 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
index 17b09dd40007fd17b0ae4c5ef2544b7878a25b78..37b439896f01bc7ae091e3fccdb8ddbb69bf7181 100644 (file)
@@ -3,14 +3,7 @@
 {% set stale_refresh_time = stale_refresh_time | default(30) %}
 {% set stale_test_zone = stale_test_zone | default(False) %}
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 options {
        query-source address 10.53.0.1;
index 227daa0703f8c7ac0cad5fc262e605097ec5ec33..cd6bdd85736d7e9c383cbc3a4d859d5d059a5b8e 100644 (file)
@@ -1,11 +1,4 @@
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 options {
        query-source address 10.53.0.3;
index c67313e0bf306a498a8206c99cc2424ccdac2216..336d2dbf98bd7e2555837f9c6f455574f664d888 100644 (file)
@@ -1,11 +1,4 @@
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 options {
        query-source address 10.53.0.3;
index f6ad7954f3553d3da75b2e7835d22cb4385f9716..dce1027cf92f945efa488d906ad2ebae4a90f136 100644 (file)
@@ -2,14 +2,7 @@
  * Test default stale-answer-client-timeout value
  */
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 options {
        query-source address 10.53.0.3;
index 0661a7cc5e164621b203a9c550a6d8a5da443d5a..3c0458d6c08e982bd285cee958213d6921796889 100644 (file)
@@ -2,14 +2,7 @@
  * Test disable of stale-answer-client-timeout.
  */
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 options {
        query-source address 10.53.0.3;
index 85da1d1bf9ebc525c0ead6de5d6e8c8b4ee97c55..34fa3489e5f25fd462217905eec5a6047911440f 100644 (file)
@@ -2,14 +2,7 @@
  * Test stale-answer-client-timeout 0.
  */
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 options {
        query-source address 10.53.0.3;
index 845ee820b61fcf3bc6fe4010c675a00d7839f05b..105b58db9887d0f043a8c27a889c66cd02a9c0a2 100644 (file)
@@ -2,14 +2,7 @@
  * Test stale-answer-client-timeout 0.
  */
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 options {
        query-source address 10.53.0.3;
index 59a3266af38e81733f72fba91876279d5ce91e6a..cf4519995207e624caf4e7d087e9ad59ae137956 100644 (file)
@@ -1,11 +1,4 @@
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 options {
        query-source address 10.53.0.3;
index 79b197bbd148ac21862802f4a36ab597db913a25..0e8317750ecdfbb6240ef6bed98b559a32cfa56e 100644 (file)
@@ -2,14 +2,7 @@
  * Test serve-stale interaction with fetch-limits (dual-mode).
  */
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 options {
        query-source address 10.53.0.3;
index c9a495313dee54e5e633dda3a679646f2505bf5b..3dbf03b7628181171137728b7d5b0d85cec8eb1c 100644 (file)
@@ -1,11 +1,4 @@
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 options {
        query-source address 10.53.0.3;
index dd46102be7680c0cd3cc32a3c94bf9d92b0f66a3..49d251347591be7719fbe422aab85d3190de8701 100644 (file)
@@ -1,11 +1,4 @@
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 options {
        query-source address 10.53.0.3;
index 2e1fab5b06e09b97f2f7f820152c8ddd0e2b6de7..33720fdfb580d7a52dc7444d5b265a594fb3a0a5 100644 (file)
@@ -1,11 +1,4 @@
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.4 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 options {
        query-source address 10.53.0.4;
index cb8d4acd288e779fdb6bc6b05f1644a143300dee..65ae9889fab37e0bb661552688b5b0a2bbfea21b 100644 (file)
@@ -1,11 +1,4 @@
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.5 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 options {
        query-source address 10.53.0.5;
index 883e9ba4ca27218646bdd09016348391698e079e..dd38d18d14f5e80dcfacc7e678b9231980a142ea 100644 (file)
@@ -1,11 +1,4 @@
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.6 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 options {
        query-source address 10.53.0.6;
index 5782814ae40890e0811ad6c5a598f649e6a44244..fb88088d612ad0f24f653fa9a2b99c631ae98a64 100644 (file)
@@ -1,11 +1,4 @@
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.7 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 options {
        query-source address 10.53.0.7;
index ba05bdf17a44c9a42fbe0df1c31082cfa1646adb..daf6481e127c1ef8c01e2b651bf030b3d7a9d001 100644 (file)
@@ -1,11 +1,4 @@
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.7 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 options {
        query-source address 10.53.0.7;
index de5a836e486814f68bedb9f2b8d4288d1f68c5bd..d3ad87ac46e4115ab4ff4c3474b1e473d1bfd454 100644 (file)
  * information regarding copyright ownership.
  */
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 options {
        port @PORT@;
index 32ed90cf4c4b23793701540fd60ccebd8a11f322..ca2380091409f904ddddf1bdfc77b6b4572364e8 100644 (file)
  * information regarding copyright ownership.
  */
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 options {
        port @PORT@;
index 465bb522e393fe0d70ed1be2698a42067e95d725..c1a19196ca67d2eb516aaffa67b45423b3b0f636 100644 (file)
@@ -13,14 +13,7 @@ options {
        dnssec-validation yes;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "." {
        type hint;
index 02f50fbb9a4f246728763b7721c3852804a05be8..c13e8be4a72da7b9fe07cef0cd74646b3ba0b77b 100644 (file)
@@ -15,14 +15,7 @@ options {
        servfail-ttl @servfail_ttl@;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.5 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "." {
        type hint;
index 997d5834e8fa55ee19801f49a7ec6c4f2b1f5fb5..0b437d0eaebb46dbf0fe5cdc12e000c5da0003fe 100644 (file)
@@ -12,14 +12,7 @@ options {
        allow-new-zones yes;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "example.com" {
        type primary;
index 073049e3aa0b7e2734021e88b9fc1ce2e4e1d9d1..596390681837937a6ff931a93118f8a972905e8a 100644 (file)
@@ -1,11 +1,4 @@
-key rndc_key {
-    secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 options {
        query-source address 10.53.0.1;
index fbe71161fff18ef328d8c1f4d7106709b2aa0b8f..7d4df6b77e0913b3e2ead33be3dc45b16e7e51d5 100644 (file)
@@ -1,11 +1,4 @@
-key rndc_key {
-    secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 options {
        query-source address 10.53.0.2;
index 3196e19536e63be4121b822442d2cb90cd051f22..5a1407869720c2f35db82ef484bb5727edfdcf89 100644 (file)
@@ -10,14 +10,7 @@ options {
        notify no;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 view "v1" {
        match-clients { any; };
index 1d27505a8e4f18bd4243fbb0f56cfa6309baff2f..fe402430cb606abb9debd460e6ff5fa8c4a2e550 100644 (file)
@@ -26,14 +26,7 @@ options {
        dnstap-output file "dnstap.out";
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.6 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "." {
        type hint;
index 21333a5e7d75122e5e4820c17b885cbc5a18cc0b..dc3e5351fb00a19d790acb1677a39a74094e8a72 100644 (file)
@@ -10,14 +10,7 @@ options {
        dnssec-validation no;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 key "ddns-key" {
        algorithm @DEFAULT_HMAC@;
index 9ae94b3cbc32f68c9f220dc5d7ef3100c8429929..5a5177739343bd1968aa9a630aef508d6a5013bd 100644 (file)
@@ -12,14 +12,7 @@ options {
        dnssec-validation no;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "example" {
        type primary;
index d1ef0f7a6860554a484f12bbff6e0f4d5a0b1eb2..01e537ba53f615553e17465a4eb5e5a336a78d30 100644 (file)
@@ -1,13 +1,6 @@
 {% set server_config_use_addr = server_config_use_addr | default(False) %}
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 include "trusted.conf";
 
index 585f77053af377b14cc956409c84f48c6ad01c74..4c29d12832903c90eb552429add8fc8dd499743b 100644 (file)
@@ -1,13 +1,6 @@
 {% set example_zone = example_zone | default(True) %}
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 options {
        query-source address 10.53.0.3;
index 89aa8cf830ffb2c8eb206f40009c8ede68fe24c7..dff7ed6f96391649916a448e96d83e9ae96d6440 100644 (file)
@@ -17,14 +17,7 @@ statistics-channels {
 };
 {% endif %}
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 
 zone "." {
index 0628ea956b1676e9c80b7dae85bcc66725fdf5f5..fd29305b1d4609d8d1a1de2b0a9afeb0fa6d2ee7 100644 (file)
@@ -17,14 +17,7 @@ statistics-channels {
 };
 {% endif %}
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 
 zone "." {
index d6df4efcc65b207c9ccd32b2df46de79d733dd9e..6de8fa3526da44202ee15913430c1ed8775354dc 100644 (file)
@@ -20,14 +20,7 @@ statistics-channels {
 };
 {% endif %}
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "." {
        type hint;
index 9d22ff3ca8e0b048980c399dbe323c66f901d3ae..38f88ed67826b27c38b30c62c55d44158b716c9d 100644 (file)
@@ -20,14 +20,7 @@ options {
 
 statistics-channels { inet 10.53.0.1 port @EXTRAPORT1@ allow { localhost; }; };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 server 10.53.0.3 {
        transfer-format one-answer;
index 0734cc5ed174fa356770e796d73b8316e334f30a..6bc3bd60c163eab761030d457b1824c09a1938bc 100644 (file)
@@ -16,14 +16,7 @@ options {
 
 statistics-channels { inet 10.53.0.2 port @EXTRAPORT1@ allow { localhost; }; };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 dnssec-policy "dnssec" {
        inline-signing no;
index 1882e783d41d5ded30678541a29e4253c0bfc78f..33265ea77fa16252f1aebb5f092dcbcbaf421567 100644 (file)
@@ -16,14 +16,7 @@ options {
 
 statistics-channels { inet 10.53.0.2 port @EXTRAPORT1@ allow { localhost; }; };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 dnssec-policy "dnssec" {
        keys {
index 3a096307595d23433fbe4d7b62b69ef6c9cbb493..d6a671b5874741b18988fa61ec490b5972067697 100644 (file)
@@ -20,14 +20,7 @@ options {
 
 statistics-channels { inet 10.53.0.3 port @EXTRAPORT1@ allow { localhost; }; };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 server fd92:7065:b8e:ffff::1 {
        tcp-only yes;
index ccebc0378852c0f347a0e9addee348f632998de3..be66fdd026206f93fdcaf83a45dc2ef77ad1eb28 100644 (file)
@@ -15,14 +15,7 @@ options {
 
 statistics-channels { inet 10.53.0.4 port @EXTRAPORT1@ allow { localhost; }; };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.4 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "example2" {
        type primary;
index 7ffbdfeccd6dcf5e9a446bc0f8a9e3a763c77f53..e9591d3c08626c2237df1dace18b2662e408f642 100644 (file)
@@ -1,5 +1,3 @@
-controls { /* empty */ };
-
 options {
        query-source address 10.53.0.3;
        notify-source 10.53.0.3;
@@ -14,14 +12,7 @@ options {
 };
 
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 server 10.53.0.4 {
        provide-ixfr no;
index b307b3b64b5065396f1f157b5a573096e6254d61..8812ebd602d154297fff9eea1513d1739c3ec46a 100644 (file)
@@ -12,14 +12,7 @@ options {
        minimal-responses no;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "." {
        type hint;
index d5d284c5f5c43005c078af3d1b5b82533cb4d868..91e20e857f76dec0e7e697df713847c8e4d36e52 100644 (file)
@@ -13,14 +13,7 @@ options {
        dnssec-validation yes;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 {% if FEATURE_LIBXML2 == "1" or FEATURE_JSON_C == "1" %}
 statistics-channels {
index b70fa2854383e7939de5670dbf26ca8dc8657b97..24ba0a8cb7482676a1f3227f5ec25ecbe664b350 100644 (file)
@@ -13,14 +13,7 @@ options {
        dnssec-validation yes;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 {% if FEATURE_LIBXML2 == "1" or FEATURE_JSON_C == "1" %}
 statistics-channels {
index 324261aab38b8b7691249998bf2df102bd3e836e..181a964b7ef5d6afbe8369c775d96bf3e7aa68d3 100644 (file)
@@ -13,14 +13,7 @@ options {
        dnssec-validation yes;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 {% if FEATURE_LIBXML2 == "1" or FEATURE_JSON_C == "1" %}
 statistics-channels {
index 0430aaeda7eeecbb43209fb1c89e1f8d7f682bd5..0a7512530751bc3ef1d09f4fbf1359c1262f811d 100644 (file)
@@ -14,14 +14,7 @@ options {
        synth-from-dnssec no;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.4 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 {% if FEATURE_LIBXML2 == "1" or FEATURE_JSON_C == "1" %}
 statistics-channels {
index 4b1b4f54314182cffb0089bd3268160b7e43ec2a..264ad0aa89d41efacf8893c14192518523bfec7c 100644 (file)
@@ -15,14 +15,7 @@ options {
        validate-except { example.internal; };
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.5 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 {% if FEATURE_LIBXML2 == "1" or FEATURE_JSON_C == "1" %}
 statistics-channels {
index c920768b12135662cfa05ab8868999f6494160bf..39ac70456be1bb3da6c07dd36ecf105c1e11155e 100644 (file)
@@ -14,14 +14,7 @@ options {
        synth-from-dnssec yes;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.6 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 {% if FEATURE_LIBXML2 == "1" or FEATURE_JSON_C == "1" %}
 statistics-channels {
index 0193196b1fac2e2c7ec5b1d16d3d21240f53d64b..9a92c391b87f3946e8575b7e2fc3b40b09ebc2b3 100644 (file)
@@ -10,14 +10,7 @@ options {
        recursion no;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 {% if inview %}
 plugin query "@TOP_BUILDDIR@/synthrecord" {
index 934b6196d34c330bb4c719d430f85eb0259dfb22..d32286482e33b0f4073132a06ea99e365f383b4e 100644 (file)
@@ -12,14 +12,7 @@ options {
        statistics-file "named.stats";
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "." {
        type primary;
index 0e05729c40532dd567e411f5b2cd6f3cf1576181..1c59af9b72f252880647089357eafdee6dcddfb6 100644 (file)
@@ -12,14 +12,7 @@ options {
        statistics-file "named.stats";
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 
 zone "." {
index 2c46d128dd4159b85024a7d386992d86400371e6..5f0c96975937eebf983f8347439a6af432a8ac50 100644 (file)
@@ -14,14 +14,7 @@ options {
 
 server 10.53.0.1 { tcp-only yes; };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "." {
        type hint;
index 9b6d365b7b7dd62dff0cb9a940a95d94c4546e8f..ec170e2788c07d5e05c9aa555c4d551dca56c2c9 100644 (file)
@@ -16,14 +16,7 @@ options {
 
 server 10.53.0.2 { tcp-only yes; };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.4 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "." {
        type hint;
index 160d0535003f64fb6ae533eaf3f9933209b2d514..84cce7f44ae8f6368f8fa582ab71d9d6b505f8c2 100644 (file)
@@ -1,13 +1,6 @@
 // NS5
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.5 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 
 options {
index 8008f22dd9b2abf5aacc5b7cb9db3c47a0983826..d942dcc16f7305f8c33f4b7d420a7172dbce2894 100644 (file)
@@ -13,14 +13,7 @@ options {
        tcp-clients 1;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.7 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "." {
        type primary;
index f16b53414cce677097a496740ec9fe2f3bdeb541..b7bb534f59a838ebceebf0f337ddbb16b6d0c8bb 100644 (file)
@@ -24,14 +24,7 @@ options {
        tkey-gssapi-keytab "dns.keytab";
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "example" {
        type primary;
index 10f6543b385f49afea8c5d082a552ab24190d916..d9c434b20642edab8b391bb5cf51c50479e28f4f 100644 (file)
@@ -13,14 +13,7 @@ options {
        tkey-gssapi-keytab "dns.keytab";
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "example.nil." IN {
        type primary;
index 7ba8e8f25a325c523af30fb95328d86d9cc6302c..597e99ce376fafb8b9e08ef77549e8b3e48eeb2f 100644 (file)
@@ -1,11 +1,4 @@
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 options {
        query-source address 10.53.0.1;
index 4b17e1b2cd48f86e61e9c110eebbf396d04cc0a9..00adee32f1bf399225c7825d56e1b64864731346 100644 (file)
@@ -17,13 +17,6 @@ options {
        max-ncache-ttl 60;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "." { type hint; file "hints.db"; };
index c803d7fd0882e9b9e52b883e4d1646f36fa94e0a..98cad6f8e061a95c739efa0044d332fdbe2ed94f 100644 (file)
@@ -15,14 +15,7 @@ options {
        include "dnstap.conf";
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 tls tls-example-primary {
        remote-hostname "srv01.crt01.example.com"; // enable Strict TLS
index fe2b5857672e2327a4fe37a1e6287806c15f6c5c..8b5f6d522a3212aa7bb3aee1c49a33312ffe9da2 100644 (file)
@@ -15,14 +15,7 @@ options {
        update-quota 1;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "example" {
        type secondary;
index 631bad54c28f4119f92d700334fd73932471882a..ab1e358636bbdc37a0fd5dbaabba99309d6b2cca 100644 (file)
@@ -12,14 +12,7 @@ options {
        notify yes;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 dnssec-policy "views" {
        keys {
index 266b95c4134c586cd76ecf54c9072867f2de470c..7ccf8b3f5d67d93654c40a30bd47824f7904fce5 100644 (file)
@@ -12,14 +12,7 @@ options {
        notify yes;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 dnssec-policy "views" {
        keys {
index 4bdac8259c864c0ca528d358bd396032e0fa89d7..ae11b67c4a243a45cde71cad0e3cfc0d724dee87 100644 (file)
@@ -14,14 +14,7 @@ options {
        notify no;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 {% for name in zone_names %}
 zone "@name@" {
index 46fd61736623df2a4f7f3c412eae576b5863944a..0b663b64ae78903aeb597a6fa37fe0ac45537da4 100644 (file)
@@ -12,14 +12,7 @@ options {
        notify yes;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "." {
        type hint;
index 780d8fb864dcc5a8bd86901527a884054fe42624..9dd96058880edc990682a9de4699f8a323ed5c6f 100644 (file)
@@ -12,14 +12,7 @@ options {
        notify yes;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "." {
        type hint;
index 1c635d3b4a9dd5c76215325c463454da4d68dfb0..833619312dc261fa0cd825832159c8190150a4f8 100644 (file)
@@ -12,14 +12,7 @@ options {
        notify yes;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.5 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "." {
        type hint;
index 736c93db271731728567b451faacb2ac83b84a9a..9765821d72a9dbac2880105e46e098fd141cd573 100644 (file)
@@ -14,14 +14,7 @@ options {
        check-integrity no;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 key tsigzone. {
        algorithm @DEFAULT_HMAC@;
index 64a8d0dfde6b6c02daff3e65e0468020c4f0ff33..ac11f0667bbdd514117fd52fdeaee44e0dec1b5f 100644 (file)
@@ -12,14 +12,7 @@ options {
        notify yes;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 key tsigzone. {
        algorithm @DEFAULT_HMAC@;
index cd070e88b4b26ee9c4f1caa2a385d3965ba5d1f3..9e4ecf3828ae1bc1753177e0a27a092fd509c0ad 100644 (file)
@@ -14,11 +14,6 @@ options {
        blackhole { none; };
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
 key unused_key. {
        secret "1234abcd8765";
        algorithm @DEFAULT_HMAC@;
@@ -29,9 +24,7 @@ key tsig_key. {
        algorithm @DEFAULT_HMAC@;
 };
 
-controls {
-       inet 10.53.0.4 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "." {
        type primary;
index 44b35d6884abc054578d1e6c2e516b35d8117226..b03095e831e925a7a511d6f43b6ead1d60dd5c3b 100644 (file)
@@ -54,11 +54,4 @@ zone "test" {
        file "test.db";
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
index 7f72556b8cf2c67abdc637f65ed86a2e5133037a..76e0c4868867cac552a6c159d7bf12e1f8da5a48 100644 (file)
@@ -25,11 +25,4 @@ zone "test" {
        primaries { 10.53.0.1 port @PORT@ key xfrkey; };
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
index b51a28f41255dcf53ae47f9bc187ee11d9aa6198..a012d7b6cac0ad490c51819c0be65d50a6f7ff6f 100644 (file)
@@ -25,11 +25,4 @@ zone "test" {
        primaries { 10.53.0.1 port @PORT@ key xfrkey; };
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
index a30ab4adba29e410a77d01a4ad4010943206f2db..89ce6bef5f45511f8bd480444a5d9dc676c505b4 100644 (file)
@@ -25,11 +25,4 @@ zone "test" {
        primaries { 10.53.0.1 port @PORT@ key xfrkey; };
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.4 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
index 90e9417c42c3a8d8736f013aca337b0000b18f41..98a473eceea0037212e133a9fd6e1c8df9cc24a7 100644 (file)
@@ -14,14 +14,7 @@ options {
        transfers-out 3;
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "." {
        type primary;
index 4a0d70ca556c78a217aa4feaeccc5f7dda401370..c882985899aaf390dc68ac5cd2376be1221e9c8e 100644 (file)
@@ -26,14 +26,7 @@ options {
        allow-transfer { 10.53.0.2; };
 };
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "." {
        type primary;
index d840b170ce2a569c0dcc09d669def1be1f37b76a..83b04dec1b8c62b4de34e23818d57f211cfe3eed 100644 (file)
@@ -14,14 +14,7 @@ options {
 };
 
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 dnssec-policy "zonechecks" {
        inline-signing no;
index 46968b71e2a98667bcab3bf824ba1e84089f040e..46c14718e008fc21ecd5d3f7787cda0ff28cc585 100644 (file)
@@ -14,14 +14,7 @@ options {
 };
 
 
-key rndc_key {
-       secret "1234abcd8765";
-       algorithm @DEFAULT_HMAC@;
-};
-
-controls {
-       inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
-};
+{% include "_common/controls.conf.j2" %}
 
 zone "primary.example" {
        type secondary;