]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Use the ns variable for instance addresses in config templates
authorNicki Křížek <nicki@isc.org>
Thu, 23 Jul 2026 17:14:14 +0000 (17:14 +0000)
committerNicki Křížek <nicki@isc.org>
Thu, 6 Aug 2026 11:50:09 +0000 (13:50 +0200)
Statements referring to the instance's own address were switched to use
the @ns.ip@ and @ns.ip6@ variable syntax. References to other nsX
servers are kept as plain addresses.

Assisted-by: Claude:claude-fable-5
122 files changed:
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/addzone/ns2/named2.conf.j2
bin/tests/system/addzone/ns2/named3.conf.j2
bin/tests/system/allow_query/ns2/named04.conf.j2
bin/tests/system/allow_query/ns2/named06.conf.j2
bin/tests/system/allow_query/ns2/named07.conf.j2
bin/tests/system/allow_query/ns2/named09.conf.j2
bin/tests/system/allow_query/ns2/named24.conf.j2
bin/tests/system/allow_query/ns2/named26.conf.j2
bin/tests/system/allow_query/ns2/named27.conf.j2
bin/tests/system/allow_query/ns2/named29.conf.j2
bin/tests/system/allow_query/ns2/named40.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/cache_delegns/ns2/named.conf.j2
bin/tests/system/case/ns2/named.conf.j2
bin/tests/system/catz/ns1/named.conf.j2
bin/tests/system/catz/ns4/named.conf.j2
bin/tests/system/checkds/ns10/named.conf.j2
bin/tests/system/checkds/ns2/named.conf.j2
bin/tests/system/checkds/ns4/named.conf.j2
bin/tests/system/checkds/ns5/named.conf.j2
bin/tests/system/checkds/ns7/named.conf.j2
bin/tests/system/checkds/ns8/named.conf.j2
bin/tests/system/cipher_suites/ns1/named.conf.j2
bin/tests/system/cipher_suites/ns2/named.conf.j2
bin/tests/system/cipher_suites/ns3/named.conf.j2
bin/tests/system/cipher_suites/ns4/named.conf.j2
bin/tests/system/cipher_suites/ns5/named.conf.j2
bin/tests/system/delegdb_flush/ns1/named.conf.j2
bin/tests/system/dlzexternal/ns1/named.conf.j2
bin/tests/system/dns64/ns1/named.conf.j2
bin/tests/system/dns64/ns1/named2.conf.j2
bin/tests/system/dns64/ns1/named3.conf.j2
bin/tests/system/dns64/ns2/named.conf.j2
bin/tests/system/dns64/ns3/named.conf.j2
bin/tests/system/dns64/ns4/named.conf.j2
bin/tests/system/dnssec/ns4/named.conf.j2
bin/tests/system/dnssec/ns5/named.conf.j2
bin/tests/system/doth/ns1/named.conf.j2
bin/tests/system/doth/ns2/named.conf.j2
bin/tests/system/doth/ns3/named.conf.j2
bin/tests/system/doth/ns4/named.conf.j2
bin/tests/system/dyndb/ns1/named.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/forward/ns2/named.conf.j2
bin/tests/system/forward/ns4/named.conf.j2
bin/tests/system/geoip2/ns2/named2.conf.j2
bin/tests/system/inline/ns3/named.conf.j2
bin/tests/system/names/ns1/named.conf.j2
bin/tests/system/notify/ns2/named.conf.j2
bin/tests/system/notify/ns3/named.conf.j2
bin/tests/system/notify/ns5/named.conf.j2
bin/tests/system/nslimit_outdomain/ns2/named.conf.j2
bin/tests/system/nslimit_outdomain/ns3/named.conf.j2
bin/tests/system/nsupdate/ns1/named.conf.j2
bin/tests/system/nsupdate/ns10/named.conf.j2
bin/tests/system/proxy/ns1/named.conf.j2
bin/tests/system/proxy/ns3/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/redirect/ns1/named.conf.j2
bin/tests/system/redirect/ns3/named.conf.j2
bin/tests/system/redirect/ns4/named.conf.j2
bin/tests/system/resolver/ns9/named.conf.j2
bin/tests/system/rndc/ns2/named.conf.j2
bin/tests/system/rndc/ns5/named.conf.j2
bin/tests/system/rpz/ns3/named.conf.j2
bin/tests/system/rpz/ns8/named.conf.j2
bin/tests/system/rpzextra/ns3/named.conf.j2
bin/tests/system/runtime/ns2/named6.conf.j2
bin/tests/system/selfpointedglue/ns3/named.conf.j2
bin/tests/system/shutdown/ns2/named.conf.j2
bin/tests/system/staticstub/ns4/named.conf.j2
bin/tests/system/statistics/ns1/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/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/transport_acl/ns1/named.conf.j2
bin/tests/system/transport_change/ns1/named-http-plain-proxy.conf.j2
bin/tests/system/transport_change/ns1/named-http-plain.conf.j2
bin/tests/system/transport_change/ns1/named-https-proxy-encrypted.conf.j2
bin/tests/system/transport_change/ns1/named-https-proxy-plain.conf.j2
bin/tests/system/transport_change/ns1/named-https.conf.j2
bin/tests/system/transport_change/ns1/named-proxy.conf.j2
bin/tests/system/transport_change/ns1/named-tls-proxy-encrypted.conf.j2
bin/tests/system/transport_change/ns1/named-tls-proxy-plain.conf.j2
bin/tests/system/transport_change/ns1/named-tls.conf.j2
bin/tests/system/transport_change/ns1/named.conf.j2
bin/tests/system/tsiggss/ns1/named.conf.j2
bin/tests/system/upforwd/ns1/named.conf.j2
bin/tests/system/upforwd/ns3/named.conf.j2
bin/tests/system/upforwd/ns3/named2.conf.j2
bin/tests/system/views/ns2/named2.conf.j2
bin/tests/system/xfer/ns1/named.conf.j2
bin/tests/system/xfer/ns2/named.conf.j2
bin/tests/system/xfer/ns3/named.conf.j2
bin/tests/system/xfer_servers_list/ns1/named.conf.j2

index ea1b90db79ca059cb22d9f7d2b6d0874c26ebd7f..c6d75dcb9813475f9345a467fc2fa4d886413189 100644 (file)
@@ -28,7 +28,7 @@ acl reject {
 };
 
 acl accept {
-       10.53.0.1; 10.53.0.2;
+       10.53.0.1; @ns.ip@;
 };
 
 {% include "_common/root.hint.conf" %}
index db2ca0cb594fde55a52535b3b92fefc5dd2909ae..02f03d298dc4e22bcd244c47571cf7f63bc076c3 100644 (file)
@@ -23,12 +23,12 @@ acl rejectkeys {
 };
 
 acl rejectaddrs {
-       !10.53.0.1; !10.53.0.2; any;
+       !10.53.0.1; !@ns.ip@; any;
 };
 
 acl check1 { !key one; 10.53.0.1; };
 
-acl check2 { !key two; 10.53.0.2; };
+acl check2 { !key two; @ns.ip@; };
 
 {% include "_common/root.hint.conf" %}
 
index ea34e269d0fb7a64cecee3de09ba41cf5497c4cb..080e9e12545c3189068bd8f588c5a15429011898 100644 (file)
@@ -6,7 +6,7 @@ options {
        ixfr-from-differences yes;
        check-integrity no;
        dnssec-validation no;
-       allow-query-on { 10.53.0.2; };
+       allow-query-on { @ns.ip@; };
        blackhole { 10.53.0.8; };
 };
 
index c168712ead492f56ccac88537b2c6ec001e139d2..275c4df2d7e6853c12e32388b2e1aeacc1348b24 100644 (file)
@@ -4,7 +4,7 @@
 options {
        {% include_indented "_common/options/sources.conf.j2" %}
        {% include_indented "_common/options/server.conf.j2" %}
-       listen-on { 10.53.0.2; 10.53.0.4; };
+       listen-on { @ns.ip@; 10.53.0.4; };
        listen-on-v6 { none; };
        recursion no;
        dnssec-validation no;
@@ -17,7 +17,7 @@ template primary {
 };
 
 view internal {
-       match-clients { 10.53.0.2; };
+       match-clients { @ns.ip@; };
        allow-new-zones no;
        recursion yes;
 
index 1356d1dffe25073c3266085c452795ab33559c70..3e2edec08a98b481de69865968f76cae9d18a230 100644 (file)
@@ -3,7 +3,7 @@
 options {
        {% include_indented "_common/options/sources.conf.j2" %}
        {% include_indented "_common/options/server.conf.j2" %}
-       listen-on { 10.53.0.2; 10.53.0.4; 10.53.0.5; };
+       listen-on { @ns.ip@; 10.53.0.4; 10.53.0.5; };
        listen-on-v6 { none; };
        recursion no;
        new-zones-directory "new-zones";
@@ -17,7 +17,7 @@ template primary {
 };
 
 view internal {
-       match-clients { 10.53.0.2; };
+       match-clients { @ns.ip@; };
        allow-new-zones no;
        recursion yes;
 
index 10626932627aa804eee537ead826dba430dfbe3b..9973846525474d50f49c65957ce69f0f8919cfe2 100644 (file)
@@ -1,7 +1,7 @@
 options {
        {% include_indented "_common/options.conf.j2" %}
        recursion no;
-       allow-query { 10.53.0.2; };
+       allow-query { @ns.ip@; };
        dnssec-validation no;
 };
 
index 223ee6ad09a6e9313e68e54d1750cc4f27c530ae..671825d12ba343fa70460f05099f21b106662301 100644 (file)
@@ -1,7 +1,7 @@
 options {
        {% include_indented "_common/options.conf.j2" %}
        recursion no;
-       allow-query {! 10.53.0.2; };
+       allow-query {! @ns.ip@; };
        dnssec-validation no;
 };
 
index f8128756f88e53f0af92546ef3922cbb75516fb3..09142f8f9406904d5e366b6d226b103dce9b651a 100644 (file)
@@ -1,4 +1,4 @@
-acl accept { 10.53.0.2; };
+acl accept { @ns.ip@; };
 
 options {
        {% include_indented "_common/options.conf.j2" %}
index 95a991baf450967baedb1689ecaa8b8781724736..01c66d61b9108bdc826e94ff83b516dafe9e6139 100644 (file)
@@ -1,4 +1,4 @@
-acl accept { 10.53.0.2; };
+acl accept { @ns.ip@; };
 
 options {
        {% include_indented "_common/options.conf.j2" %}
index c7e418c24b2ff5ab2305239322b68b59c543ba67..dabfa010a3baec033354c216d067b0899283e2cd 100644 (file)
@@ -8,7 +8,7 @@ options {
 
 view "internal" {
 
-       allow-query { 10.53.0.2; };
+       allow-query { @ns.ip@; };
 
        {% include_indented "_common/root.hint.conf" %}
 
index 8a10c2e13ba9cfb106368f039e77e33f097db10d..bcf3569e2c90a96e0e8f07bf4c6db0e4ca2ee75e 100644 (file)
@@ -8,7 +8,7 @@ options {
 
 view "internal" {
 
-       allow-query {! 10.53.0.2; };
+       allow-query {! @ns.ip@; };
 
        {% include_indented "_common/root.hint.conf" %}
 
index e70e013882a5a746f5b97edb188147b564f416a0..2aa191fd837aad656362e43c4875474b28727ef1 100644 (file)
@@ -1,4 +1,4 @@
-acl accept { 10.53.0.2; };
+acl accept { @ns.ip@; };
 
 options {
        {% include_indented "_common/options.conf.j2" %}
index a12fc1eb5b955a4df7cf0dce12f58ddfd85199e2..d172059b4f2ee827e73bfb10c0ad1424f95f2638 100644 (file)
@@ -1,4 +1,4 @@
-acl accept { 10.53.0.2; };
+acl accept { @ns.ip@; };
 
 options {
        {% include_indented "_common/options.conf.j2" %}
index 57fb02875b250b4096fd4ddd7520babc08780d59..4e161a757edce9afee112c4e4766dd31f419dec6 100644 (file)
@@ -1,4 +1,4 @@
-acl accept { 10.53.0.2; };
+acl accept { @ns.ip@; };
 
 acl badaccept { 10.53.0.1; };
 
@@ -42,7 +42,7 @@ zone "none.example" {
 zone "addrallow.example" {
        type primary;
        file "generic.db";
-       allow-query { 10.53.0.2; };
+       allow-query { @ns.ip@; };
 };
 
 zone "addrnotallow.example" {
@@ -54,7 +54,7 @@ zone "addrnotallow.example" {
 zone "addrdisallow.example" {
        type primary;
        file "generic.db";
-       allow-query { ! 10.53.0.2; };
+       allow-query { ! @ns.ip@; };
 };
 
 zone "aclallow.example" {
index f56bb62e85430cc12836f2da515b09e7bfe0b71e..cccb27a79109f7e207516e81cb4891073eb18913 100644 (file)
@@ -2,7 +2,7 @@ options {
        {% include_indented "_common/options.conf.j2" %}
        allow-recursion { any; };
        allow-recursion-on { none; };
-       allow-query-cache-on { 10.53.0.3; };
+       allow-query-cache-on { @ns.ip@; };
        dnssec-validation no;
 };
 
index cc9f2434861ea71df89e4ba997987cbdaf323370..529a56958166b83eee0ae8db250b2adff0c03729 100644 (file)
@@ -1,11 +1,11 @@
 options {
        {% include_indented "_common/options/sources.conf.j2" %}
        {% include_indented "_common/options/server.conf.j2" %}
-       listen-on { 10.53.0.3; 10.53.1.2; };
+       listen-on { @ns.ip@; 10.53.1.2; };
        listen-on-v6 { none; };
        allow-recursion { any; };
        allow-query-cache { any; };
-       allow-query-cache-on { 10.53.0.3; }; # allow-recursion-on inherits
+       allow-query-cache-on { @ns.ip@; }; # allow-recursion-on inherits
        dnssec-validation no;
 };
 
index 2771591dac9ae48b2d225c7441b87a054f7dad0c..29db14adef4972840cea3a04634c5f5abd8c891c 100644 (file)
@@ -1,11 +1,11 @@
 options {
        {% include_indented "_common/options/sources.conf.j2" %}
        {% include_indented "_common/options/server.conf.j2" %}
-       listen-on { 10.53.0.3; 10.53.1.2; };
+       listen-on { @ns.ip@; 10.53.1.2; };
        listen-on-v6 { none; };
        allow-recursion { any; };
        allow-query-cache { any; };
-       allow-recursion-on { 10.53.0.3; }; # allow-query-cache-on inherits
+       allow-recursion-on { @ns.ip@; }; # allow-query-cache-on inherits
        dnssec-validation no;
 };
 
index 0b21fa28cd0f28f4d6575a405dac247e868f0a76..396f10672d146790de2164f79f906d20f5ec9674 100644 (file)
@@ -1,7 +1,7 @@
 options {
        {% include_indented "_common/options/sources.conf.j2" %}
        {% include_indented "_common/options/server.conf.j2" %}
-       listen-on { 10.53.0.3; 10.53.1.2; };
+       listen-on { @ns.ip@; 10.53.1.2; };
        listen-on-v6 { none; };
        recursion no;
        allow-recursion { none; };
@@ -11,7 +11,7 @@ options {
 {% include "_common/controls.conf.j2" %}
 
 view internal {
-        match-destinations { 10.53.0.3; };
+        match-destinations { @ns.ip@; };
         {% include_indented "_common/root.hint.conf" %}
 
         recursion yes;
index 723c58430e70e9db87fa06c9be200759d535afee..a25f076c8851bc8f67cb40c977645572664c18df 100644 (file)
@@ -8,7 +8,7 @@ options {
 {% include "_common/controls.conf.j2" %}
 
 view internal {
-        match-destinations { 10.53.0.3; };
+        match-destinations { @ns.ip@; };
         {% include_indented "_common/root.hint.conf" %}
         recursion yes;
        allow-recursion{ any; };
index dd5846cdfd08d7d5b904ebc5f9d477e50fc249ed..569a3a72de8be48b5ee7b6a8b3ddc43ecdbcacaf 100644 (file)
@@ -8,7 +8,7 @@ options {
 {% include "_common/controls.conf.j2" %}
 
 view internal {
-        match-destinations { 10.53.0.3; };
+        match-destinations { @ns.ip@; };
         {% include_indented "_common/root.hint.conf" %}
         recursion yes;
        allow-query{ any; };
index 9f1ddbb6ed538c60463f862aa86adc7a415f710d..374bb7b025caaad68759717c8cb816f216bf723a 100644 (file)
@@ -1,7 +1,7 @@
 options {
        {% include_indented "_common/options/sources.conf.j2" %}
        {% include_indented "_common/options/server.conf.j2" %}
-       listen-on { 10.53.0.3; 10.53.0.4; 10.53.1.2; };
+       listen-on { @ns.ip@; 10.53.0.4; 10.53.1.2; };
        listen-on-v6 { none; };
        recursion no;
        allow-query-cache { none; };
@@ -14,6 +14,6 @@ view internal {
        {% include_indented "_common/root.hint.conf" %}
 
         recursion yes;
-        allow-query-cache { 10.53.0.3; 10.53.0.4; };
+        allow-query-cache { @ns.ip@; 10.53.0.4; };
        allow-query { 10.53.0.4; };
 };
index 19e6972fa7ecc1a9917a69f0e7300f98fbb8bc23..a85c30393be5cf7d7b436b70178a2a398cdcbcb8 100644 (file)
@@ -8,20 +8,20 @@ options {
 {% if disablev4 %}
        query-source address none;
 {% else %}
-       query-source address 10.53.0.2;
+       query-source address @ns.ip@;
 {% endif %}
 
 {% if disablev6 %}
        query-source-v6 none;
 {% else %}
-       query-source-v6 address fd92:7065:b8e:ffff::2;
+       query-source-v6 address @ns.ip6@;
 {% endif %}
 
-       notify-source 10.53.0.2;
-       transfer-source 10.53.0.2;
+       notify-source @ns.ip@;
+       transfer-source @ns.ip@;
 
-       notify-source-v6 fd92:7065:b8e:ffff::2;
-       transfer-source-v6 fd92:7065:b8e:ffff::2;
+       notify-source-v6 @ns.ip6@;
+       transfer-source-v6 @ns.ip6@;
 
        dnssec-validation no;
 
index 1b13568597268da6c74adfcc694d4f8072434385..cb3b78ca551ead1c21f49440dec279c65bae2625 100644 (file)
@@ -4,7 +4,7 @@ options {
        recursion no;
        ixfr-from-differences yes;
        check-integrity no;
-       no-case-compress { 10.53.0.2; };
+       no-case-compress { @ns.ip@; };
        minimal-responses no;
        dnssec-validation no;
 };
index 0c7d24855a1d1cc3d144979d0fe47311e25240c8..da7593d06d70d391610d2a3158be74505be6777e 100644 (file)
@@ -4,8 +4,8 @@ options {
        {% include_indented "_common/options.conf.j2" %}
        tls-port @TLSPORT@;
        allow-new-zones yes;
-       listen-on port @EXTRAPORT1@ { 10.53.0.1; };
-       listen-on tls ephemeral { 10.53.0.1; };
+       listen-on port @EXTRAPORT1@ { @ns.ip@; };
+       listen-on tls ephemeral { @ns.ip@; };
        notify no;
        notify-delay 0;
        recursion no;
index 2a2fb41213cdd30f37095f9cf169866403084482..744be21c19be3c130a9d7a86d67094f987df624b 100644 (file)
@@ -20,7 +20,7 @@ options {
                        default-primaries { 10.53.0.1 key tsig_key tls ephemeral; };
                zone "catalog-self.example"
                        min-update-interval 1s
-                       default-primaries { 10.53.0.4; };
+                       default-primaries { @ns.ip@; };
        };
 };
 
index a8aae77dc539cad88b769f8f90b8f350282d25fc..396013aec2111f9a027b0acf35a14c8deecf3bac 100644 (file)
@@ -11,54 +11,54 @@ options {
 
 zone "ns2" {
        type secondary;
-       primaries source 10.53.0.10 { 10.53.0.5 port @PORT@; };
+       primaries source @ns.ip@ { 10.53.0.5 port @PORT@; };
        file "ns2.db";
 };
 
 zone "ns2-4" {
        type secondary;
-       primaries source 10.53.0.10 { 10.53.0.5 port @PORT@; };
+       primaries source @ns.ip@ { 10.53.0.5 port @PORT@; };
        file "ns2-4.db";
 };
 
 zone "ns2-4-5" {
        type secondary;
-       primaries source 10.53.0.10 { 10.53.0.5 port @PORT@; };
+       primaries source @ns.ip@ { 10.53.0.5 port @PORT@; };
        file "ns2-4-5.db";
 };
 
 zone "ns2-4-6" {
        type secondary;
-       primaries source 10.53.0.10 { 10.53.0.5 port @PORT@; };
+       primaries source @ns.ip@ { 10.53.0.5 port @PORT@; };
        file "ns2-4-6.db";
 };
 
 zone "ns2-5-7" {
        type secondary;
-       primaries source 10.53.0.10 { 10.53.0.5 port @PORT@; };
+       primaries source @ns.ip@ { 10.53.0.5 port @PORT@; };
        file "ns2-5-7.db";
 };
 
 zone "ns5" {
        type secondary;
-       primaries source 10.53.0.10 { 10.53.0.5 port @PORT@; };
+       primaries source @ns.ip@ { 10.53.0.5 port @PORT@; };
        file "ns5.db";
 };
 
 zone "ns5-6-7" {
        type secondary;
-       primaries source 10.53.0.10 { 10.53.0.5 port @PORT@; };
+       primaries source @ns.ip@ { 10.53.0.5 port @PORT@; };
        file "ns5-6-7.db";
 };
 
 zone "ns5-7" {
        type secondary;
-       primaries source 10.53.0.10 { 10.53.0.5 port @PORT@; };
+       primaries source @ns.ip@ { 10.53.0.5 port @PORT@; };
        file "ns5-7.db";
 };
 
 zone "ns6" {
        type secondary;
-       primaries source 10.53.0.10 { 10.53.0.5 port @PORT@; };
+       primaries source @ns.ip@ { 10.53.0.5 port @PORT@; };
        file "ns6.db";
 };
index f80ea59dc79d89aca965a5cb470081c152680860..55429287295f924c5d01c694d7a9770ff13fa4c7 100644 (file)
@@ -14,7 +14,7 @@ options {
 zone "ns2" {
        type primary;
        allow-update { any; };
-       allow-transfer { 10.53.0.2; 10.53.0.4; 10.53.0.8; };
+       allow-transfer { @ns.ip@; 10.53.0.4; 10.53.0.8; };
        also-notify { 10.53.0.4; 10.53.0.8; };
        dnssec-policy default;
        file "ns2.db";
@@ -23,7 +23,7 @@ zone "ns2" {
 zone "ns2-4" {
        type primary;
        allow-update { any; };
-       allow-transfer { 10.53.0.2; 10.53.0.4; 10.53.0.8; };
+       allow-transfer { @ns.ip@; 10.53.0.4; 10.53.0.8; };
        also-notify { 10.53.0.4; 10.53.0.8; };
        dnssec-policy default;
        file "ns2-4.db";
@@ -32,7 +32,7 @@ zone "ns2-4" {
 zone "ns2-4-5" {
        type primary;
        allow-update { any; };
-       allow-transfer { 10.53.0.2; 10.53.0.4; 10.53.0.8; };
+       allow-transfer { @ns.ip@; 10.53.0.4; 10.53.0.8; };
        also-notify { 10.53.0.4; 10.53.0.8; };
        dnssec-policy default;
        file "ns2-4-5.db";
@@ -41,7 +41,7 @@ zone "ns2-4-5" {
 zone "ns2-4-6" {
        type primary;
        allow-update { any; };
-       allow-transfer { 10.53.0.2; 10.53.0.4; 10.53.0.8; };
+       allow-transfer { @ns.ip@; 10.53.0.4; 10.53.0.8; };
        also-notify { 10.53.0.4; 10.53.0.8; };
        dnssec-policy default;
        file "ns2-4-6.db";
@@ -50,7 +50,7 @@ zone "ns2-4-6" {
 zone "ns2-5-7" {
        type primary;
        allow-update { any; };
-       allow-transfer { 10.53.0.2; 10.53.0.4; 10.53.0.8; };
+       allow-transfer { @ns.ip@; 10.53.0.4; 10.53.0.8; };
        also-notify { 10.53.0.4; 10.53.0.8; };
        dnssec-policy default;
        file "ns2-5-7.db";
@@ -59,7 +59,7 @@ zone "ns2-5-7" {
 zone "ns5" {
        type primary;
        allow-update { any; };
-       allow-transfer { 10.53.0.2; 10.53.0.4; 10.53.0.8; };
+       allow-transfer { @ns.ip@; 10.53.0.4; 10.53.0.8; };
        also-notify { 10.53.0.4; 10.53.0.8; };
        dnssec-policy default;
        file "ns5.db";
@@ -68,7 +68,7 @@ zone "ns5" {
 zone "ns5-6-7" {
        type primary;
        allow-update { any; };
-       allow-transfer { 10.53.0.2; 10.53.0.4; 10.53.0.8; };
+       allow-transfer { @ns.ip@; 10.53.0.4; 10.53.0.8; };
        also-notify { 10.53.0.4; 10.53.0.8; };
        dnssec-policy default;
        file "ns5-6-7.db";
@@ -77,7 +77,7 @@ zone "ns5-6-7" {
 zone "ns5-7" {
        type primary;
        allow-update { any; };
-       allow-transfer { 10.53.0.2; 10.53.0.4; 10.53.0.8; };
+       allow-transfer { @ns.ip@; 10.53.0.4; 10.53.0.8; };
        also-notify { 10.53.0.4; 10.53.0.8; };
        dnssec-policy default;
        file "ns5-7.db";
@@ -86,7 +86,7 @@ zone "ns5-7" {
 zone "ns6" {
        type primary;
        allow-update { any; };
-       allow-transfer { 10.53.0.2; 10.53.0.4; 10.53.0.8; };
+       allow-transfer { @ns.ip@; 10.53.0.4; 10.53.0.8; };
        also-notify { 10.53.0.4; 10.53.0.8; };
        dnssec-policy default;
        file "ns6.db";
index 963b1c0cf257596cdf03b505da79d0a53d7a4ad3..2bf92ef3896ef87e1f87feae929f04226ff79d6f 100644 (file)
@@ -11,54 +11,54 @@ options {
 
 zone "ns2" {
        type secondary;
-       primaries source 10.53.0.4 { 10.53.0.2 port @PORT@; };
+       primaries source @ns.ip@ { 10.53.0.2 port @PORT@; };
        file "ns2.db";
 };
 
 zone "ns2-4" {
        type secondary;
-       primaries source 10.53.0.4 { 10.53.0.2 port @PORT@; };
+       primaries source @ns.ip@ { 10.53.0.2 port @PORT@; };
        file "ns2-4.db";
 };
 
 zone "ns2-4-5" {
        type secondary;
-       primaries source 10.53.0.4 { 10.53.0.2 port @PORT@; };
+       primaries source @ns.ip@ { 10.53.0.2 port @PORT@; };
        file "ns2-4-5.db";
 };
 
 zone "ns2-4-6" {
        type secondary;
-       primaries source 10.53.0.4 { 10.53.0.2 port @PORT@; };
+       primaries source @ns.ip@ { 10.53.0.2 port @PORT@; };
        file "ns2-4-6.db";
 };
 
 zone "ns2-5-7" {
        type secondary;
-       primaries source 10.53.0.4 { 10.53.0.2 port @PORT@; };
+       primaries source @ns.ip@ { 10.53.0.2 port @PORT@; };
        file "ns2-5-7.db";
 };
 
 zone "ns5" {
        type secondary;
-       primaries source 10.53.0.4 { 10.53.0.2 port @PORT@; };
+       primaries source @ns.ip@ { 10.53.0.2 port @PORT@; };
        file "ns5.db";
 };
 
 zone "ns5-6-7" {
        type secondary;
-       primaries source 10.53.0.4 { 10.53.0.2 port @PORT@; };
+       primaries source @ns.ip@ { 10.53.0.2 port @PORT@; };
        file "ns5-6-7.db";
 };
 
 zone "ns5-7" {
        type secondary;
-       primaries source 10.53.0.4 { 10.53.0.2 port @PORT@; };
+       primaries source @ns.ip@ { 10.53.0.2 port @PORT@; };
        file "ns5-7.db";
 };
 
 zone "ns6" {
        type secondary;
-       primaries source 10.53.0.4 { 10.53.0.2 port @PORT@; };
+       primaries source @ns.ip@ { 10.53.0.2 port @PORT@; };
        file "ns6.db";
 };
index 04f9351441710d3240d15119fb359e5708b6adc7..a22cfb91e59cf55515a91c10a5dcb0d4e94d2a49 100644 (file)
@@ -14,7 +14,7 @@ options {
 zone "ns2" {
        type primary;
        allow-update { any; };
-       allow-transfer { 10.53.0.5; 10.53.0.7; 10.53.0.10; };
+       allow-transfer { @ns.ip@; 10.53.0.7; 10.53.0.10; };
        also-notify { 10.53.0.7; 10.53.0.10; };
        dnssec-policy default;
        file "ns2.db";
@@ -23,7 +23,7 @@ zone "ns2" {
 zone "ns2-4" {
        type primary;
        allow-update { any; };
-       allow-transfer { 10.53.0.5; 10.53.0.7; 10.53.0.10; };
+       allow-transfer { @ns.ip@; 10.53.0.7; 10.53.0.10; };
        also-notify { 10.53.0.7; 10.53.0.10; };
        dnssec-policy default;
        file "ns2-4.db";
@@ -32,7 +32,7 @@ zone "ns2-4" {
 zone "ns2-4-5" {
        type primary;
        allow-update { any; };
-       allow-transfer { 10.53.0.5; 10.53.0.7; 10.53.0.10; };
+       allow-transfer { @ns.ip@; 10.53.0.7; 10.53.0.10; };
        also-notify { 10.53.0.7; 10.53.0.10; };
        dnssec-policy default;
        file "ns2-4-5.db";
@@ -41,7 +41,7 @@ zone "ns2-4-5" {
 zone "ns2-4-6" {
        type primary;
        allow-update { any; };
-       allow-transfer { 10.53.0.5; 10.53.0.7; 10.53.0.10; };
+       allow-transfer { @ns.ip@; 10.53.0.7; 10.53.0.10; };
        also-notify { 10.53.0.7; 10.53.0.10; };
        dnssec-policy default;
        file "ns2-4-6.db";
@@ -50,7 +50,7 @@ zone "ns2-4-6" {
 zone "ns2-5-7" {
        type primary;
        allow-update { any; };
-       allow-transfer { 10.53.0.5; 10.53.0.7; 10.53.0.10; };
+       allow-transfer { @ns.ip@; 10.53.0.7; 10.53.0.10; };
        also-notify { 10.53.0.7; 10.53.0.10; };
        dnssec-policy default;
        file "ns2-5-7.db";
@@ -59,7 +59,7 @@ zone "ns2-5-7" {
 zone "ns5" {
        type primary;
        allow-update { any; };
-       allow-transfer { 10.53.0.5; 10.53.0.7; 10.53.0.10; };
+       allow-transfer { @ns.ip@; 10.53.0.7; 10.53.0.10; };
        also-notify { 10.53.0.7; 10.53.0.10; };
        dnssec-policy default;
        file "ns5.db";
@@ -68,7 +68,7 @@ zone "ns5" {
 zone "ns5-6-7" {
        type primary;
        allow-update { any; };
-       allow-transfer { 10.53.0.5; 10.53.0.7; 10.53.0.10; };
+       allow-transfer { @ns.ip@; 10.53.0.7; 10.53.0.10; };
        also-notify { 10.53.0.7; 10.53.0.10; };
        dnssec-policy default;
        file "ns5-6-7.db";
@@ -77,7 +77,7 @@ zone "ns5-6-7" {
 zone "ns5-7" {
        type primary;
        allow-update { any; };
-       allow-transfer { 10.53.0.5; 10.53.0.7; 10.53.0.10; };
+       allow-transfer { @ns.ip@; 10.53.0.7; 10.53.0.10; };
        also-notify { 10.53.0.7; 10.53.0.10; };
        dnssec-policy default;
        file "ns5-7.db";
@@ -86,7 +86,7 @@ zone "ns5-7" {
 zone "ns6" {
        type primary;
        allow-update { any; };
-       allow-transfer { 10.53.0.5; 10.53.0.7; 10.53.0.10; };
+       allow-transfer { @ns.ip@; 10.53.0.7; 10.53.0.10; };
        also-notify { 10.53.0.7; 10.53.0.10; };
        dnssec-policy default;
        file "ns6.db";
index c322d6651e2575d46b61860c19dd941a1811c888..fb7c790077616f6f822ca1cd8f982dbc22fb5e54 100644 (file)
@@ -11,54 +11,54 @@ options {
 
 zone "ns2" {
        type secondary;
-       primaries source 10.53.0.7 { 10.53.0.5 port @PORT@; };
+       primaries source @ns.ip@ { 10.53.0.5 port @PORT@; };
        file "ns2.db";
 };
 
 zone "ns2-4" {
        type secondary;
-       primaries source 10.53.0.7 { 10.53.0.5 port @PORT@; };
+       primaries source @ns.ip@ { 10.53.0.5 port @PORT@; };
        file "ns2-4.db";
 };
 
 zone "ns2-4-5" {
        type secondary;
-       primaries source 10.53.0.7 { 10.53.0.5 port @PORT@; };
+       primaries source @ns.ip@ { 10.53.0.5 port @PORT@; };
        file "ns2-4-5.db";
 };
 
 zone "ns2-4-6" {
        type secondary;
-       primaries source 10.53.0.7 { 10.53.0.5 port @PORT@; };
+       primaries source @ns.ip@ { 10.53.0.5 port @PORT@; };
        file "ns2-4-6.db";
 };
 
 zone "ns2-5-7" {
        type secondary;
-       primaries source 10.53.0.7 { 10.53.0.5 port @PORT@; };
+       primaries source @ns.ip@ { 10.53.0.5 port @PORT@; };
        file "ns2-5-7.db";
 };
 
 zone "ns5" {
        type secondary;
-       primaries source 10.53.0.7 { 10.53.0.5 port @PORT@; };
+       primaries source @ns.ip@ { 10.53.0.5 port @PORT@; };
        file "ns5.db";
 };
 
 zone "ns5-6-7" {
        type secondary;
-       primaries source 10.53.0.7 { 10.53.0.5 port @PORT@; };
+       primaries source @ns.ip@ { 10.53.0.5 port @PORT@; };
        file "ns5-6-7.db";
 };
 
 zone "ns5-7" {
        type secondary;
-       primaries source 10.53.0.7 { 10.53.0.5 port @PORT@; };
+       primaries source @ns.ip@ { 10.53.0.5 port @PORT@; };
        file "ns5-7.db";
 };
 
 zone "ns6" {
        type secondary;
-       primaries source 10.53.0.7 { 10.53.0.5 port @PORT@; };
+       primaries source @ns.ip@ { 10.53.0.5 port @PORT@; };
        file "ns6.db";
 };
index a1d9b817abbcae34fdf6748954a99e2929e97633..6ad6c8b4507f77099a3460ece743d46868bc92f7 100644 (file)
@@ -11,54 +11,54 @@ options {
 
 zone "ns2" {
        type secondary;
-       primaries source 10.53.0.8 { 10.53.0.2 port @PORT@; };
+       primaries source @ns.ip@ { 10.53.0.2 port @PORT@; };
        file "ns2.db";
 };
 
 zone "ns2-4" {
        type secondary;
-       primaries source 10.53.0.8 { 10.53.0.2 port @PORT@; };
+       primaries source @ns.ip@ { 10.53.0.2 port @PORT@; };
        file "ns2-4.db";
 };
 
 zone "ns2-4-5" {
        type secondary;
-       primaries source 10.53.0.8 { 10.53.0.2 port @PORT@; };
+       primaries source @ns.ip@ { 10.53.0.2 port @PORT@; };
        file "ns2-4-5.db";
 };
 
 zone "ns2-4-6" {
        type secondary;
-       primaries source 10.53.0.8 { 10.53.0.2 port @PORT@; };
+       primaries source @ns.ip@ { 10.53.0.2 port @PORT@; };
        file "ns2-4-6.db";
 };
 
 zone "ns2-5-7" {
        type secondary;
-       primaries source 10.53.0.8 { 10.53.0.2 port @PORT@; };
+       primaries source @ns.ip@ { 10.53.0.2 port @PORT@; };
        file "ns2-5-7.db";
 };
 
 zone "ns5" {
        type secondary;
-       primaries source 10.53.0.8 { 10.53.0.2 port @PORT@; };
+       primaries source @ns.ip@ { 10.53.0.2 port @PORT@; };
        file "ns5.db";
 };
 
 zone "ns5-6-7" {
        type secondary;
-       primaries source 10.53.0.8 { 10.53.0.2 port @PORT@; };
+       primaries source @ns.ip@ { 10.53.0.2 port @PORT@; };
        file "ns5-6-7.db";
 };
 
 zone "ns5-7" {
        type secondary;
-       primaries source 10.53.0.8 { 10.53.0.2 port @PORT@; };
+       primaries source @ns.ip@ { 10.53.0.2 port @PORT@; };
        file "ns5-7.db";
 };
 
 zone "ns6" {
        type secondary;
-       primaries source 10.53.0.8 { 10.53.0.2 port @PORT@; };
+       primaries source @ns.ip@ { 10.53.0.2 port @PORT@; };
        file "ns6.db";
 };
index 8e92f2a76716c18b8d343e4f58831bb3fa08b8e5..94d487f76ae90ce5c907d563cc620e259827308a 100644 (file)
@@ -35,10 +35,10 @@ tls tls-pfs-chacha20 {
 options {
        {% include_indented "_common/options.conf.j2" %}
        tls-port @TLSPORT@;
-       listen-on tls tls-perfect-forward-secrecy { 10.53.0.1; };
-       listen-on port @EXTRAPORT1@ tls tls-pfs-aes128 { 10.53.0.1; };
-       listen-on port @EXTRAPORT2@ tls tls-pfs-aes256 { 10.53.0.1; };
-       listen-on port @EXTRAPORT3@ tls tls-pfs-chacha20 { 10.53.0.1; };
+       listen-on tls tls-perfect-forward-secrecy { @ns.ip@; };
+       listen-on port @EXTRAPORT1@ tls tls-pfs-aes128 { @ns.ip@; };
+       listen-on port @EXTRAPORT2@ tls tls-pfs-aes256 { @ns.ip@; };
+       listen-on port @EXTRAPORT3@ tls tls-pfs-chacha20 { @ns.ip@; };
        recursion no;
        notify explicit;
        also-notify { 10.53.0.2 port @PORT@; };
index b479b75cf9259bed0e9ee9dfc160774f0f8f401c..d3a285b1f379709c564b243ae1173547298b8034 100644 (file)
@@ -8,7 +8,7 @@ tls local {
 options {
        {% include_indented "_common/options.conf.j2" %}
        tls-port @TLSPORT@;
-       listen-on tls local { 10.53.0.2; };             // DoT
+       listen-on tls local { @ns.ip@; };             // DoT
        recursion no;
        notify no;
        ixfr-from-differences yes;
index e46a2639ca46c97769b0cfd1ae6f1b0158108af3..3ab1a3229d0a71d72cbdfabcdd0cefd2370ef8c6 100644 (file)
@@ -8,7 +8,7 @@ tls local {
 options {
        {% include_indented "_common/options.conf.j2" %}
        tls-port @TLSPORT@;
-       listen-on tls local { 10.53.0.3; };             // DoT
+       listen-on tls local { @ns.ip@; };             // DoT
        recursion no;
        notify no;
        ixfr-from-differences yes;
index 343343601b2bf2e359b8642724b318670ca19e81..3fe513fd967e49f899f4746711f6fe89922de98e 100644 (file)
@@ -8,7 +8,7 @@ tls local {
 options {
        {% include_indented "_common/options.conf.j2" %}
        tls-port @TLSPORT@;
-       listen-on tls local { 10.53.0.4; };             // DoT
+       listen-on tls local { @ns.ip@; };             // DoT
        recursion no;
        notify no;
        ixfr-from-differences yes;
index abc14908603ebcd41a20e182e031c4098fa8239c..cede6ecf526caefc246ad5ba7cb93122125c540d 100644 (file)
@@ -8,7 +8,7 @@ tls local {
 options {
        {% include_indented "_common/options.conf.j2" %}
        tls-port @TLSPORT@;
-       listen-on tls local { 10.53.0.5; };             // DoT
+       listen-on tls local { @ns.ip@; };             // DoT
        recursion no;
        notify no;
        ixfr-from-differences yes;
index b2ebb584016ded08012bebc37e3447d71aeec442..e8ffd475d7e12ab147c55af1f99dfa093adc9a95 100644 (file)
@@ -4,7 +4,7 @@ options {
 };
 
 statistics-channels {
-       inet 10.53.0.1 port @EXTRAPORT1@;
+       inet @ns.ip@ port @EXTRAPORT1@;
 };
 
 {% include "_common/controls.conf.j2" %}
index c9272cef6ea1a948cd0fad4afc9582d9fd283bbc..129246b6bfd6fc577a5cbe981d7094a782ccb01c 100644 (file)
@@ -2,9 +2,9 @@ options {
        {% include_indented "_common/options/sources.conf.j2" %}
        {% include_indented "_common/options/server.conf.j2" %}
        session-keyfile "session.key";
-       listen-on { 10.53.0.1; 127.0.0.1; };
+       listen-on { @ns.ip@; 127.0.0.1; };
        listen-on-v6 { none; };
-       allow-transfer { !10.53.0.1; any; };
+       allow-transfer { !@ns.ip@; any; };
        recursion no;
        dnssec-validation no;
 };
index 1078fa8864df763b7579aebfcada31a9b9d602c1..b4406f2fa18dcfa8e57bd9cf5734a369756ba296 100644 (file)
@@ -6,7 +6,7 @@ acl rfc1918 { 10/8; 192.168/16; 172.16/12; };
 
 options {
        {% include_indented "_common/options.conf.j2" %}
-       allow-recursion { 10.53.0.1; };
+       allow-recursion { @ns.ip@; };
        dnssec-validation no;
 
        dns64 2001:bbbb::/96 {
index 2009ae965cfd9a8a7e6bdc0846d703ae0119cc35..c38eca626408acf9e13769c8feae1aadcf474fb7 100644 (file)
@@ -6,7 +6,7 @@ acl rfc1918 { 10/8; 192.168/16; 172.16/12; };
 
 options {
        {% include_indented "_common/options.conf.j2" %}
-       allow-recursion { 10.53.0.1; };
+       allow-recursion { @ns.ip@; };
        dnssec-validation no;
 
        dns64 2001:bbbb::/96 {
index aab22dcd94d3f676f6c72b592c85fa7d13a654e4..3fc306c2b5b5856f61f81d70a617a78aa5340210 100644 (file)
@@ -6,7 +6,7 @@ acl rfc1918 { 10/8; 192.168/16; 172.16/12; };
 
 options {
        {% include_indented "_common/options.conf.j2" %}
-       allow-recursion { 10.53.0.1; };
+       allow-recursion { @ns.ip@; };
        dnssec-validation no;
 };
 
index d8c3a4a76e6fdcbc7044c076cffee0f83df58e49..5620442fdf9072373b0e2802d50f7ae66f021587 100644 (file)
@@ -7,7 +7,7 @@ options {
        dnssec-validation no;
 
        dns64 2001:aaaa::/96 {
-               clients { 10.53.0.2; };
+               clients { @ns.ip@; };
                mapped { !rfc1918; any; };
                exclude { 2001:eeee::/32; 64:FF9B::/96; ::ffff:0000:0000/96; };
                suffix ::;
index c2c7ab7bb3f7a6f69b04410ba4e9f67278415efe..634388189616ffb29e6fba86966d7d5c4b3db0b3 100644 (file)
@@ -8,7 +8,7 @@ options {
        {% include_indented "_common/options/listen-dual.conf.j2" %}
        port @EXTRAPORT1@;
        pid-file "named.pid";
-       listen-on port @PORT@ { 10.53.0.3; };   // for start.pl
+       listen-on port @PORT@ { @ns.ip@; };     // for start.pl
        dnssec-validation no;
        allow-recursion { any; };
        resolver-use-dns64 yes;
index c16c43cc217087c6a73530f5ba6ae9d5f7184213..63f57da6b44968837a7becb80a30d315ae816ecd 100644 (file)
@@ -3,13 +3,13 @@
 
 options {
        {% include_indented "_common/options/sources.conf.j2" %}
-       query-source-v6 address fd92:7065:b8e:fffe::10.53.0.4;
-       notify-source-v6 fd92:7065:b8e:fffe::10.53.0.4;
-       transfer-source-v6 fd92:7065:b8e:fffe::10.53.0.4;
+       query-source-v6 address fd92:7065:b8e:fffe::@ns.ip@;
+       notify-source-v6 fd92:7065:b8e:fffe::@ns.ip@;
+       transfer-source-v6 fd92:7065:b8e:fffe::@ns.ip@;
        port @EXTRAPORT1@;
        pid-file "named.pid";
-       listen-on port @PORT@ { 10.53.0.4; };   // for start.pl
-       listen-on-v6 { fd92:7065:b8e:fffe::10.53.0.4; };
+       listen-on port @PORT@ { @ns.ip@; };     // for start.pl
+       listen-on-v6 { fd92:7065:b8e:fffe::@ns.ip@; };
        dnssec-validation no;
        recursion no;
 };
index 77b77b8cf31346a17ae553d525e02c9b8069d327..bc755fb6bdc312071cfb341af7741271e4e95464 100644 (file)
@@ -48,12 +48,12 @@ include "trusted.conf";
 
                zone secure.example {
                        type static-stub;
-                       server-addresses { 10.53.0.4; };
+                       server-addresses { @ns.ip@; };
                };
 
                zone insecure.secure.example {
                        type static-stub;
-                       server-addresses { 10.53.0.4; };
+                       server-addresses { @ns.ip@; };
                };
        };
 
index ae0c58917182cd995337f0a915e57ce8a1c695f8..67aaf5d168af3beaaded5755c72759d688a94e4d 100644 (file)
@@ -6,7 +6,7 @@
 options {
        {% include_indented "_common/options/sources.conf.j2" %}
        {% include_indented "_common/options/server.conf.j2" %}
-       listen-on { 10.53.0.5; 127.0.0.1; };
+       listen-on { @ns.ip@; 127.0.0.1; };
        listen-on-v6 { none; };
        minimal-any no;
        minimal-responses no;
index cf2672bc7b4af446b737384c240b7e42a5835c12..3cbdcc2a97707080bf11faf77bacadbb4122d8cf 100644 (file)
@@ -56,20 +56,20 @@ options {
        tls-port @TLSPORT@;
        https-port @HTTPSPORT@;
        http-port @HTTPPORT@;
-       listen-on tls tls-forward-secrecy { 10.53.0.1; };             // DoT
-       listen-on-v6 tls tls-forward-secrecy { fd92:7065:b8e:ffff::1;};
-       listen-on tls ephemeral http local { 10.53.0.1; };  // DoH
-       listen-on-v6 tls ephemeral http local { fd92:7065:b8e:ffff::1; };
-       listen-on tls none http local { 10.53.0.1; };       // unencrypted DoH
-       listen-on-v6 tls none http local { fd92:7065:b8e:ffff::1; };
-       listen-on port @EXTRAPORT1@ tls tls-pfs-aes256 { 10.53.0.1; };             // DoT
-       listen-on-v6 port @EXTRAPORT1@ tls tls-pfs-aes256 { fd92:7065:b8e:ffff::1;};
-       listen-on port @EXTRAPORT2@ tls tls-no-subject-alt-name { 10.53.0.1; };             // DoT
-       listen-on port @EXTRAPORT3@ tls tls-no-subject-alt-name http local { 10.53.0.1; };  // DoH
-       listen-on port @EXTRAPORT4@ tls tls-expired { 10.53.0.1; };             // DoT
-       listen-on port @EXTRAPORT5@ tls tls-forward-secrecy-mutual-tls { 10.53.0.1; }; // DoT
-       listen-on port @EXTRAPORT6@ tls tls-forward-secrecy-mutual-tls http local { 10.53.0.1; }; // DoH
-       listen-on port @EXTRAPORT7@ tls tls-forward-secrecy { 10.53.0.1; }; // DoT
+       listen-on tls tls-forward-secrecy { @ns.ip@; };             // DoT
+       listen-on-v6 tls tls-forward-secrecy { @ns.ip6@;};
+       listen-on tls ephemeral http local { @ns.ip@; };  // DoH
+       listen-on-v6 tls ephemeral http local { @ns.ip6@; };
+       listen-on tls none http local { @ns.ip@; };       // unencrypted DoH
+       listen-on-v6 tls none http local { @ns.ip6@; };
+       listen-on port @EXTRAPORT1@ tls tls-pfs-aes256 { @ns.ip@; };             // DoT
+       listen-on-v6 port @EXTRAPORT1@ tls tls-pfs-aes256 { @ns.ip6@;};
+       listen-on port @EXTRAPORT2@ tls tls-no-subject-alt-name { @ns.ip@; };             // DoT
+       listen-on port @EXTRAPORT3@ tls tls-no-subject-alt-name http local { @ns.ip@; };  // DoH
+       listen-on port @EXTRAPORT4@ tls tls-expired { @ns.ip@; };             // DoT
+       listen-on port @EXTRAPORT5@ tls tls-forward-secrecy-mutual-tls { @ns.ip@; }; // DoT
+       listen-on port @EXTRAPORT6@ tls tls-forward-secrecy-mutual-tls http local { @ns.ip@; }; // DoH
+       listen-on port @EXTRAPORT7@ tls tls-forward-secrecy { @ns.ip@; }; // DoT
        recursion no;
        notify explicit;
        also-notify { 10.53.0.2 port @PORT@; };
index d18f818500f9e8411396c442cc15274531dba01b..090a45765e7c424eda1c16da5022c216501caefb 100644 (file)
@@ -15,15 +15,15 @@ options {
        tls-port @TLSPORT@;
        https-port @HTTPSPORT@;
        http-port @HTTPPORT@;
-       listen-on tls local { 10.53.0.2; };             // DoT
-       listen-on-v6 tls local { fd92:7065:b8e:ffff::2; };
-       listen-on tls local http local { 10.53.0.2; };  // DoH
-       listen-on-v6 tls local http local { fd92:7065:b8e:ffff::2; };
-       listen-on tls none http local { 10.53.0.2; };   // unencrypted DoH
-       listen-on-v6 tls none http local { fd92:7065:b8e:ffff::2; };
+       listen-on tls local { @ns.ip@; };             // DoT
+       listen-on-v6 tls local { @ns.ip6@; };
+       listen-on tls local http local { @ns.ip@; };  // DoH
+       listen-on-v6 tls local http local { @ns.ip6@; };
+       listen-on tls none http local { @ns.ip@; };   // unencrypted DoH
+       listen-on-v6 tls none http local { @ns.ip6@; };
        allow-recursion { any; };
        allow-query-cache { any; };
-       allow-recursion-on { 10.53.0.2; }; # allow-query-cache-on inherits;
+       allow-recursion-on { @ns.ip@; }; # allow-query-cache-on inherits;
        notify no;
        ixfr-from-differences yes;
        check-integrity no;
@@ -44,7 +44,7 @@ tls tls-example-primary-wrong-ca {
 zone "test.example.com" {
        type forward;
        forward only;
-       forwarders port @TLSPORT@ { 10.53.0.2 tls tls-example-primary-wrong-ca; };
+       forwarders port @TLSPORT@ { @ns.ip@ tls tls-example-primary-wrong-ca; };
 };
 
 tls tls-example-primary {
index 93f1a19230260ee72f12228c043b5f922469f125..bf7b2df8afac17454a6809f00b14d75d743bded6 100644 (file)
@@ -15,7 +15,7 @@ options {
        tls-port @TLSPORT@;
        https-port @HTTPSPORT@;
        http-port @HTTPPORT@;
-       listen-on tls local { 10.53.0.3; };             // DoT
+       listen-on tls local { @ns.ip@; };             // DoT
        recursion no;
        notify no;
        ixfr-from-differences yes;
index 72cad042ea6f711dc3db64aa1681ca8363daa15c..f8b91948694970ebdf04b1a3ec0dac6b6b0588ff 100644 (file)
@@ -22,8 +22,8 @@ options {
        tls-port @TLSPORT@;
        https-port @HTTPSPORT@;
        http-port @HTTPPORT@;
-       listen-on tls local { 10.53.0.4; };             // DoT
-       listen-on tls local http local { 10.53.0.4; };  // DoH
+       listen-on tls local { @ns.ip@; };             // DoT
+       listen-on tls local http local { @ns.ip@; };  // DoH
        recursion no;
        notify no;
        ixfr-from-differences yes;
index 9e56bca3cf34ca4f00d4d26e298a77be34e87f33..1f2176a13fcb0986945851af29b57e1b9065a3a6 100644 (file)
@@ -2,7 +2,7 @@ options {
        {% include_indented "_common/options/sources.conf.j2" %}
        {% include_indented "_common/options/server.conf.j2" %}
        session-keyfile "session.key";
-       listen-on { 10.53.0.1; 127.0.0.1; };
+       listen-on { @ns.ip@; 127.0.0.1; };
        listen-on-v6 { none; };
        recursion no;
        dnssec-validation no;
index c15d9956038e4c273ace5db0572b0844e7768e3c..0a44c4682c3dcbccd303d846711202ec00b74ce7 100644 (file)
@@ -11,10 +11,10 @@ options {
 {% if family == "v6" %}
         plugin query "@TOP_BUILDDIR@/filter-@filtertype@.@DYLIB@" {
                 filter-@filtertype@-on-v6 yes;
-                filter-@filtertype@ { fd92:7065:b8e:ffff::1; };
+                filter-@filtertype@ { @ns.ip6@; };
         };
 {% else %}
-        acl filterees { 10.53.0.1; };
+        acl filterees { @ns.ip@; };
 
         plugin query "@TOP_BUILDDIR@/filter-@filtertype@.@DYLIB@" {
                 filter-@filtertype@-on-v4 yes;
index 3f877c2f83524b92b1f5475fad60ab760069e085..d67a6f4e3a595041bf325321db3e42e6917a0071 100644 (file)
@@ -10,12 +10,12 @@ options {
 {% if family == "v6" %}
         plugin query "@TOP_BUILDDIR@/filter-@filtertype@.@DYLIB@" {
                 filter-@filtertype@-on-v6 yes;
-                filter-@filtertype@ { fd92:7065:b8e:ffff::2; };
+                filter-@filtertype@ { @ns.ip6@; };
         };
 {% else %}
         plugin query "@TOP_BUILDDIR@/filter-@filtertype@.@DYLIB@" {
                 filter-@filtertype@-on-v4 yes;
-                filter-@filtertype@ { 10.53.0.2; };
+                filter-@filtertype@ { @ns.ip@; };
         };
 {% endif %}
 
index a4b9579778360e115bf51131c9c428e500973df8..4a619f72b5e85dc7a7114610d2b132ad65cc2534 100644 (file)
@@ -10,12 +10,12 @@ options {
 {% if family == "v6" %}
         plugin query "@TOP_BUILDDIR@/filter-@filtertype@.@DYLIB@" {
                 filter-@filtertype@-on-v6 break-dnssec;
-                filter-@filtertype@ { fd92:7065:b8e:ffff::3; };
+                filter-@filtertype@ { @ns.ip6@; };
         };
 {% else %}
         plugin query "@TOP_BUILDDIR@/filter-@filtertype@.@DYLIB@" {
                 filter-@filtertype@-on-v4 break-dnssec;
-                filter-@filtertype@ { 10.53.0.3; };
+                filter-@filtertype@ { @ns.ip@; };
         };
 {% endif %}
 
index 86ca2e9ad855fbbe32fee02bc396d4b24afc9f02..b73c3a25363e697a8048f825d01f0436f9e0fe4c 100644 (file)
@@ -11,12 +11,12 @@ options {
 {% if family == "v6" %}
        plugin query "@TOP_BUILDDIR@/filter-@filtertype@.@DYLIB@" {
                filter-@filtertype@-on-v6 break-dnssec;
-               filter-@filtertype@ { fd92:7065:b8e:ffff::4; };
+               filter-@filtertype@ { @ns.ip6@; };
        };
 {% else %}
        plugin query "@TOP_BUILDDIR@/filter-@filtertype@.@DYLIB@" {
                filter-@filtertype@-on-v4 break-dnssec;
-               filter-@filtertype@ { 10.53.0.4; };
+               filter-@filtertype@ { @ns.ip@; };
        };
 {% endif %}
 
@@ -30,12 +30,12 @@ zone "signed" {
        {% if family == "v6" %}
                plugin query "@TOP_BUILDDIR@/filter-@filtertype@.@DYLIB@" {
                        filter-@filtertype@-on-v6 break-dnssec;
-                       filter-@filtertype@ { fd92:7065:b8e:ffff::4; };
+                       filter-@filtertype@ { @ns.ip6@; };
                };
        {% else %}
                plugin query "@TOP_BUILDDIR@/filter-@filtertype@.@DYLIB@" {
                        filter-@filtertype@-on-v4 break-dnssec;
-                       filter-@filtertype@ { 10.53.0.4; };
+                       filter-@filtertype@ { @ns.ip@; };
                };
        {% endif %}
 };
@@ -46,12 +46,12 @@ zone "unsigned" {
        {% if family == "v6" %}
                plugin query "@TOP_BUILDDIR@/filter-@filtertype@.@DYLIB@" {
                        filter-@filtertype@-on-v6 break-dnssec;
-                       filter-@filtertype@ { fd92:7065:b8e:ffff::4; };
+                       filter-@filtertype@ { @ns.ip6@; };
                };
        {% else %}
                plugin query "@TOP_BUILDDIR@/filter-@filtertype@.@DYLIB@" {
                        filter-@filtertype@-on-v4 break-dnssec;
-                       filter-@filtertype@ { 10.53.0.4; };
+                       filter-@filtertype@ { @ns.ip@; };
                };
        {% endif %}
 };
index e7377e748ee599cdc5d719d8a50309f7914735bf..bb262f210bca7db5e9c99a81ebb028910bc7b9af 100644 (file)
@@ -9,10 +9,10 @@ options {
 
 {% if FEATURE_FIPS_DH == "1" %}
        tls-port @TLSPORT@;
-       listen-on tls ephemeral { 10.53.0.2; };
-       listen-on port @EXTRAPORT1@ tls tls-forward-secrecy { 10.53.0.2; };
-       listen-on port @EXTRAPORT2@ tls tls-forward-secrecy-mutual-tls { 10.53.0.2; };
-       listen-on port @EXTRAPORT3@ tls tls-expired { 10.53.0.2; };
+       listen-on tls ephemeral { @ns.ip@; };
+       listen-on port @EXTRAPORT1@ tls tls-forward-secrecy { @ns.ip@; };
+       listen-on port @EXTRAPORT2@ tls tls-forward-secrecy-mutual-tls { @ns.ip@; };
+       listen-on port @EXTRAPORT3@ tls tls-expired { @ns.ip@; };
 {% endif %}
 
 };
index 071e4187fef61f05c4fb003f04487d68e662008b..9879472f45deac63b21b307d613c1537552d455e 100644 (file)
@@ -16,7 +16,7 @@ options {
 {% include "_common/controls.conf.j2" %}
 
 {% if FEATURE_JSON_C == "1" %}
-statistics-channels { inet 10.53.0.4 port @EXTRAPORT1@ allow { localhost; }; };
+statistics-channels { inet @ns.ip@ port @EXTRAPORT1@ allow { localhost; }; };
 {% endif %}
 
 zone "." {
index a88ae5b062b47d2ae1a0759109a9e9c548b9d236..3edd9121ad8dcd8f8d2bd4e590650997426f098f 100644 (file)
@@ -3,8 +3,8 @@
 options {
        {% include_indented "_common/options/sources.conf.j2" %}
        {% include_indented "_common/options/server.conf.j2" %}
-       listen-on { 127.0.0.1; 10.53.0.2; };
-       listen-on-v6 { ::1; fd92:7065:b8e:ffff::2; };
+       listen-on { 127.0.0.1; @ns.ip@; };
+       listen-on-v6 { ::1; @ns.ip6@; };
        recursion no;
        dnssec-validation no;
        geoip-directory "../data";
index 5828f5baa75472a18c2f86f33b665e881baf7a66..6bf6066e471515dcbabe8f58329819f54540bf4f 100644 (file)
@@ -73,7 +73,7 @@ zone "primary" {
        file "primary.db";
        notify explicit;
        also-notify {
-               10.53.0.3;
+               @ns.ip@;
        };
 };
 
index 94a29055d8505cfd58bb5af258b7864570720ec3..7129d04e1db538e6d0b15823749707b15dac9518 100644 (file)
@@ -9,7 +9,7 @@ options {
 {% include "_common/controls.conf.j2" %}
 
 view compress {
-       match-clients { 10.53.0.1/32; };
+       match-clients { @ns.ip@/32; };
        zone "example" {
                type primary;
                file "example.db";
index 28835ed95d0d4cb5764b38c48574ffdb459017c0..49682264656c93dbb46d946baf970965779bca61 100644 (file)
@@ -4,7 +4,7 @@ include "named-tls.conf";
 
 options {
        {% include_indented "_common/options.conf.j2" %}
-       notify-source-v6 fd92:7065:b8e:ffff::2;
+       notify-source-v6 @ns.ip6@;
        allow-transfer { any; };
        recursion no;
        startup-notify-rate 5;
@@ -12,10 +12,10 @@ options {
 
 {% if FEATURE_FIPS_DH == "1" %}
        tls-port @TLSPORT@;
-       listen-on tls ephemeral { 10.53.0.2; };
-       listen-on port @EXTRAPORT1@ tls tls-forward-secrecy { 10.53.0.2; };
-       listen-on port @EXTRAPORT3@ tls tls-forward-secrecy-mutual-tls { 10.53.0.2; };
-       listen-on port @EXTRAPORT4@ tls tls-expired { 10.53.0.2; };
+       listen-on tls ephemeral { @ns.ip@; };
+       listen-on port @EXTRAPORT1@ tls tls-forward-secrecy { @ns.ip@; };
+       listen-on port @EXTRAPORT3@ tls tls-forward-secrecy-mutual-tls { @ns.ip@; };
+       listen-on port @EXTRAPORT4@ tls tls-expired { @ns.ip@; };
 {% endif %}
 
 };
@@ -38,7 +38,7 @@ zone x1 {
        type primary;
        file "generic.db";
        also-notify { 10.53.0.3; };
-       notify-source 10.53.0.2;
+       notify-source @ns.ip@;
        notify primary-only;
 };
 zone x2 {
index 7704e467512a48834ba540fed1bba5436cd3c79a..a7911290724be237135be4eb18e0d0f6787f5e9a 100644 (file)
@@ -29,5 +29,5 @@ zone "example" {
 zone "notify-source-port-test" {
        type primary;
        file "notify-source-port-test.db";
-       notify-source 10.53.0.3;
+       notify-source @ns.ip@;
 };
index a11ac03855fed500feb14edea76bb95e25922fc1..0b90ef94a0cee12a94df961b2e27dc49224d7d3f 100644 (file)
@@ -25,7 +25,7 @@ view "a" {
        match-clients { key "a"; };
        zone "x21" {
                type primary;
-               also-notify { 10.53.0.5 key "b"; 10.53.0.5 key "c"; };
+               also-notify { @ns.ip@ key "b"; @ns.ip@ key "c"; };
                file "x21.db";
                allow-update { any; };
        };
@@ -35,7 +35,7 @@ view "b" {
        match-clients { key "b"; };
        zone "x21" {
                type secondary;
-               primaries { 10.53.0.5 key "a"; };
+               primaries { @ns.ip@ key "a"; };
                file "x21.bk-b";
                notify no;
        };
@@ -45,7 +45,7 @@ view "c" {
        match-clients { key "c"; };
        zone "x21" {
                type secondary;
-               primaries { 10.53.0.5 key "a"; };
+               primaries { @ns.ip@ key "a"; };
                file "x21.bk-c";
                notify no;
        };
index b143c3fb5f221ae87c5922d9f52c754be1cb7a71..4972a1524dd9be122b51f90cc13cc5eab65eb6bc 100644 (file)
@@ -15,7 +15,7 @@ options {
        {% include_indented "_common/options/sources.conf.j2" %}
        {% include_indented "_common/options/server.conf.j2" %}
        listen-on {
-               10.53.0.2;
+               @ns.ip@;
                10.53.0.5;
                10.53.0.6;
                10.53.0.7;
index 4911ada4fc1fc638ccb7350571399bd56cb28dc7..5509ba2697bcb0d079b50598f6147aa4b4a6092f 100644 (file)
@@ -15,7 +15,7 @@ options {
        {% include_indented "_common/options/sources.conf.j2" %}
        {% include_indented "_common/options/server.conf.j2" %}
        listen-on {
-               10.53.0.3;
+               @ns.ip@;
        };
        recursion no;
        dnssec-validation no;
index fe29079a097eb34ec23b63eae524e1ebe7790263..d9c5e9e548a8fee15773633650651a49b13f26b7 100644 (file)
@@ -6,7 +6,7 @@ options {
        {% include_indented "_common/options/sources.conf.j2" %}
        {% include_indented "_common/options/server.conf.j2" %}
        session-keyfile "session.key";
-       listen-on { 10.53.0.1; 127.0.0.1; };
+       listen-on { @ns.ip@; 127.0.0.1; };
        listen-on-v6 { none; };
        recursion no;
        minimal-responses no;
@@ -15,10 +15,10 @@ options {
 
 {% if FEATURE_FIPS_DH == "1" %}
        tls-port @TLSPORT@;
-       listen-on tls ephemeral { 10.53.0.1; };
-       listen-on port @EXTRAPORT1@ tls tls-forward-secrecy { 10.53.0.1; };
-       listen-on port @EXTRAPORT2@ tls tls-forward-secrecy-mutual-tls { 10.53.0.1; };
-       listen-on port @EXTRAPORT3@ tls tls-expired { 10.53.0.1; };
+       listen-on tls ephemeral { @ns.ip@; };
+       listen-on port @EXTRAPORT1@ tls tls-forward-secrecy { @ns.ip@; };
+       listen-on port @EXTRAPORT2@ tls tls-forward-secrecy-mutual-tls { @ns.ip@; };
+       listen-on port @EXTRAPORT3@ tls tls-expired { @ns.ip@; };
 {% endif %}
 
 };
@@ -76,7 +76,7 @@ zone "other.nil" {
        check-mx warn;
        update-policy local;
        allow-query { !10.53.0.2; any; };
-       allow-query-on { 10.53.0.1; 127.0.0.1; };
+       allow-query-on { @ns.ip@; 127.0.0.1; };
        allow-transfer { any; };
 };
 
index 1d870364acd4494a9512e975514aa0b4eeec5621..323a719769661902d30ba007fff5fb098ce40c5b 100644 (file)
@@ -2,7 +2,7 @@ options {
        {% include_indented "_common/options.conf.j2" %}
        tls-port @TLSPORT@;
        session-keyfile "session.key";
-       listen-on tls ephemeral { 10.53.0.10; };
+       listen-on tls ephemeral { @ns.ip@; };
        recursion no;
        minimal-responses no;
        dnssec-validation no;
index fed49b469f855cb0c0f49653174bcee5ca78ee28..b1b99f0159628d65336f2394f879bf846ad5b9c8 100644 (file)
@@ -10,26 +10,26 @@ options {
        {% include_indented "_common/options/server.conf.j2" %}
        ##
        # generic test
-       listen-on { 10.53.0.1; };
+       listen-on { @ns.ip@; };
 
-       listen-on port @EXTRAPORT1@ proxy plain { 10.53.0.1; };
+       listen-on port @EXTRAPORT1@ proxy plain { @ns.ip@; };
        listen-on port @EXTRAPORT1@ proxy plain { 10.53.0.2; };
-       listen-on port @TLSPORT@ proxy encrypted tls self-signed { 10.53.0.1; };
-       listen-on port @EXTRAPORT2@ proxy plain tls self-signed { 10.53.0.1; };
-       listen-on port @HTTPSPORT@ proxy encrypted tls self-signed http default { 10.53.0.1; };
-       listen-on port @EXTRAPORT3@ proxy plain tls self-signed http default { 10.53.0.1; };
-       listen-on port @HTTPPORT@ proxy plain tls none http default { 10.53.0.1; };
+       listen-on port @TLSPORT@ proxy encrypted tls self-signed { @ns.ip@; };
+       listen-on port @EXTRAPORT2@ proxy plain tls self-signed { @ns.ip@; };
+       listen-on port @HTTPSPORT@ proxy encrypted tls self-signed http default { @ns.ip@; };
+       listen-on port @EXTRAPORT3@ proxy plain tls self-signed http default { @ns.ip@; };
+       listen-on port @HTTPPORT@ proxy plain tls none http default { @ns.ip@; };
 
-       listen-on-v6 port @EXTRAPORT1@ proxy plain { fd92:7065:b8e:ffff::1; };
+       listen-on-v6 port @EXTRAPORT1@ proxy plain { @ns.ip6@; };
        listen-on-v6 port @EXTRAPORT1@ proxy plain { fd92:7065:b8e:ffff::2; };
-       listen-on-v6 port @TLSPORT@ proxy encrypted tls self-signed { fd92:7065:b8e:ffff::1; };
-       listen-on-v6 port @EXTRAPORT2@ proxy plain tls self-signed { fd92:7065:b8e:ffff::1; };
-       listen-on-v6 port @HTTPSPORT@ proxy encrypted tls self-signed http default { fd92:7065:b8e:ffff::1; };
-       listen-on-v6 port @EXTRAPORT3@ proxy plain tls self-signed http default { fd92:7065:b8e:ffff::1; };
-       listen-on-v6 port @HTTPPORT@ proxy plain tls none http default { fd92:7065:b8e:ffff::1; };
+       listen-on-v6 port @TLSPORT@ proxy encrypted tls self-signed { @ns.ip6@; };
+       listen-on-v6 port @EXTRAPORT2@ proxy plain tls self-signed { @ns.ip6@; };
+       listen-on-v6 port @HTTPSPORT@ proxy encrypted tls self-signed http default { @ns.ip6@; };
+       listen-on-v6 port @EXTRAPORT3@ proxy plain tls self-signed http default { @ns.ip6@; };
+       listen-on-v6 port @HTTPPORT@ proxy plain tls none http default { @ns.ip6@; };
 
        allow-proxy { 10.53.0.10; fd92:7065:b8e:ffff::10; };
-       allow-proxy-on { 10.53.0.1; fd92:7065:b8e:ffff::1; };
+       allow-proxy-on { @ns.ip@; @ns.ip6@; };
 
        recursion no;
        notify explicit;
@@ -57,7 +57,7 @@ zone "example2" {
        file "example.db";
        # allow the real addresses only so that we can test LOCAL requests
        allow-query { 10.53.0.10; fd92:7065:b8e:ffff::10; };
-       allow-query-on { 10.53.0.1; fd92:7065:b8e:ffff::1; };
+       allow-query-on { @ns.ip@; @ns.ip6@; };
 };
 
 # Let's define some zones that will help us verify that ports
index bbb476fc535badf68f19d65ba6ea7c473a1118b0..98535c735d6501b680ebcc68f68eeef422482c45 100644 (file)
@@ -10,21 +10,21 @@ options {
        {% include_indented "_common/options/server.conf.j2" %}
        ##
        # generic test
-       listen-on { 10.53.0.3; };
+       listen-on { @ns.ip@; };
 
-       listen-on port @EXTRAPORT1@ proxy plain { 10.53.0.3; };
-       listen-on port @TLSPORT@ proxy encrypted tls self-signed { 10.53.0.3; };
-       listen-on port @EXTRAPORT2@ proxy plain tls self-signed { 10.53.0.3; };
-       listen-on port @HTTPSPORT@ proxy encrypted tls self-signed http default { 10.53.0.3; };
-       listen-on port @EXTRAPORT3@ proxy plain tls self-signed http default { 10.53.0.3; };
-       listen-on port @HTTPPORT@ proxy plain tls none http default { 10.53.0.3; };
+       listen-on port @EXTRAPORT1@ proxy plain { @ns.ip@; };
+       listen-on port @TLSPORT@ proxy encrypted tls self-signed { @ns.ip@; };
+       listen-on port @EXTRAPORT2@ proxy plain tls self-signed { @ns.ip@; };
+       listen-on port @HTTPSPORT@ proxy encrypted tls self-signed http default { @ns.ip@; };
+       listen-on port @EXTRAPORT3@ proxy plain tls self-signed http default { @ns.ip@; };
+       listen-on port @HTTPPORT@ proxy plain tls none http default { @ns.ip@; };
 
-       listen-on-v6 port @EXTRAPORT1@ proxy plain { fd92:7065:b8e:ffff::3; };
-       listen-on-v6 port @TLSPORT@ proxy encrypted tls self-signed { fd92:7065:b8e:ffff::3; };
-       listen-on-v6 port @EXTRAPORT2@ proxy plain tls self-signed { fd92:7065:b8e:ffff::3; };
-       listen-on-v6 port @HTTPSPORT@ proxy encrypted tls self-signed http default { fd92:7065:b8e:ffff::3; };
-       listen-on-v6 port @EXTRAPORT3@ proxy plain tls self-signed http default { fd92:7065:b8e:ffff::3; };
-       listen-on-v6 port @HTTPPORT@ proxy plain tls none http default { fd92:7065:b8e:ffff::3; };
+       listen-on-v6 port @EXTRAPORT1@ proxy plain { @ns.ip6@; };
+       listen-on-v6 port @TLSPORT@ proxy encrypted tls self-signed { @ns.ip6@; };
+       listen-on-v6 port @EXTRAPORT2@ proxy plain tls self-signed { @ns.ip6@; };
+       listen-on-v6 port @HTTPSPORT@ proxy encrypted tls self-signed http default { @ns.ip6@; };
+       listen-on-v6 port @EXTRAPORT3@ proxy plain tls self-signed http default { @ns.ip6@; };
+       listen-on-v6 port @HTTPPORT@ proxy plain tls none http default { @ns.ip6@; };
 
        recursion no;
        notify explicit;
index b835610b6e4a9b5deadb0324f2343d37a1133a03..74ddbb8fc122bf51e4b3f40db3bc4a9727046738 100644 (file)
@@ -5,8 +5,8 @@ options {
        {% include_indented "_common/options/listen-dual.conf.j2" %}
        recursion no;
        dnssec-validation no;
-       query-source 10.53.0.1;
-       query-source-v6 fd92:7065:b8e:ffff::1;
+       query-source @ns.ip@;
+       query-source-v6 @ns.ip6@;
 };
 
 zone "." {
index 5141852e79ef12e0f75021a0733472d2ec994b94..fca6637dde62ad3721cb2653bc8abae01d51047c 100644 (file)
@@ -5,7 +5,7 @@ options {
        {% include_indented "_common/options/listen-dual.conf.j2" %}
        dnssec-validation no;
        query-source none;
-       query-source-v6 fd92:7065:b8e:ffff::2;
+       query-source-v6 @ns.ip6@;
 };
 
 zone "." {
index 7a7f771f799d8ba62d32fab1ec6897890479d3dd..bb464d29ea2d8607f659e70a67d3e6e7e11c6eb8 100644 (file)
@@ -5,7 +5,7 @@ options {
        {% include_indented "_common/options/listen-dual.conf.j2" %}
        dnssec-validation no;
        query-source-v6 none;
-       query-source 10.53.0.3;
+       query-source @ns.ip@;
 };
 
 {% include "_common/root.hint.conf" %}
index f14810c018698f5ef581c6a6b1b57d9b64a088cc..cba05b73c4df64dc09bc64c0c0b9b1bf8fbbb60d 100644 (file)
@@ -5,7 +5,7 @@ options {
        {% include_indented "_common/options/listen-dual.conf.j2" %}
        dnssec-validation no;
        query-source none;
-       query-source-v6 fd92:7065:b8e:ffff::4;
+       query-source-v6 @ns.ip6@;
 };
 
 {% include "_common/root.hint.conf" %}
index f2cc2053fd9e1f65d454371a94cf6d0f8c274029..347eb29b000f1807c2a3523cff0407a36a78fbc7 100644 (file)
@@ -4,7 +4,7 @@ options {
        {% include_indented "_common/options/server.conf.j2" %}
        {% include_indented "_common/options/listen-dual.conf.j2" %}
        dnssec-validation no;
-       query-source 10.53.0.5;
+       query-source @ns.ip@;
        query-source-v6 none;
 };
 
index 4c214c8e2db65da37f65ed74c1bc4c53a1d0083b..8c4e68074435c40dea066e520941f38dd68a468c 100644 (file)
@@ -4,7 +4,7 @@ acl rfc1918 { 10/8; 192.168/16; 172.16/12; };
 
 options {
        {% include_indented "_common/options.conf.j2" %}
-       allow-recursion { 10.53.0.1; };
+       allow-recursion { @ns.ip@; };
        dnssec-validation no;
 };
 
index 74d2ff1a0cce484df79d7d9c25814db8d0351d12..afa888dfab3e1fe2f6c169fadaead090ea9d0114 100644 (file)
@@ -2,7 +2,7 @@ acl rfc1918 { 10/8; 192.168/16; 172.16/12; };
 
 options {
        {% include_indented "_common/options.conf.j2" %}
-       allow-recursion { 10.53.0.3; };
+       allow-recursion { @ns.ip@; };
        dnssec-validation no;
 };
 
index ab7a9346c5fa98c7979450f0fb8a0f9c09e7d53b..dfaebed19a61f067bf6fa582f4b72037e975a090 100644 (file)
@@ -5,9 +5,9 @@ acl rfc1918 { 10/8; 192.168/16; 172.16/12; };
 options {
        {% include_indented "_common/options/server.conf.j2" %}
        {% include_indented "_common/options/listen.conf.j2" %}
-       query-source address 10.53.0.2; /* note this is not 10.53.0.4 */
-       notify-source 10.53.0.4;
-       transfer-source 10.53.0.4;
+       query-source address 10.53.0.2; /* note this is not @ns.ip@ */
+       notify-source @ns.ip@;
+       transfer-source @ns.ip@;
        dnssec-validation no;
        nxdomain-redirect "redirect";
 };
index 6a1c91ab018227ee497109c7dfc6f1e96ae7222f..0448f7b48825fbed99b307a9ac134927a6e492c7 100644 (file)
@@ -4,7 +4,7 @@ options {
        {% include_indented "_common/options/sources.conf.j2" %}
        {% include_indented "_common/options/server.conf.j2" %}
        listen-on { none; };
-       listen-on-v6 { fd92:7065:b8e:ffff::9; };
+       listen-on-v6 { @ns.ip6@; };
        recursive-clients 0; // regression test for [GL #4987]
        dnssec-validation no;
        dual-stack-servers { fd92:7065:b8e:ffff::7; };
@@ -20,7 +20,7 @@ key rndc_key {
 
 /* deliberately not _common/controls.conf.j2: IPv6 control channel; the shared template is IPv4-only */
 controls {
-       inet fd92:7065:b8e:ffff::9 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
+       inet @ns.ip6@ port @CONTROLPORT@ allow { any; } keys { rndc_key; };
 };
 
 zone "." {
index a7a273b1f64d8583f76d26d1735d63cb542e50a9..44c059bbdbd19eea11374ec892574e3b34c672a2 100644 (file)
@@ -17,7 +17,7 @@ key secondkey {
 
 /* deliberately not _common/controls.conf.j2: multi-key control channel is the test subject */
 controls {
-       inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; secondkey; };
+       inet @ns.ip@ port @CONTROLPORT@ allow { any; } keys { rndc_key; secondkey; };
 };
 
 
index af36a4ec849ff19f4b3b2774527708b5cdb40135..a480df3d77d27f893ead42854848a4b540590626 100644 (file)
@@ -11,7 +11,7 @@ key rndc_key {
 
 /* deliberately not _common/controls.conf.j2: read-only control channel is the test subject */
 controls {
-       inet 10.53.0.5 port @CONTROLPORT@ allow { any; } keys { rndc_key; } read-only yes;
+       inet @ns.ip@ port @CONTROLPORT@ allow { any; } keys { rndc_key; } read-only yes;
 };
 
 {% include "_common/root.hint.conf" %}
index fce1fde48a98d5265f96a31770a32983bca87d00..3a21c78793fbda43cb14a6b1d30b8bf8380d635c 100644 (file)
@@ -47,7 +47,7 @@ options {
        servfail-until-ready yes
        ;
 
-       also-notify { 10.53.0.3 port @EXTRAPORT1@; };
+       also-notify { @ns.ip@ port @EXTRAPORT1@; };
        notify-delay 0;
 };
 
index 2afbb0adb8344fdf7c890c503f46ba95b3339dc3..c8338a38e33be8ac87ada82f76d0fa0d66bac24f 100644 (file)
@@ -22,7 +22,7 @@ options {
        nsip-enable yes
        ;
 
-       also-notify { 10.53.0.8 port @EXTRAPORT1@; };
+       also-notify { @ns.ip@ port @EXTRAPORT1@; };
        notify-delay 0;
 };
 
index c29ac72b6a824c5d3dbf4c5de27fcdf9e3e8bbc8..5822ebd0da2bb48549e96f22e60950e936423829 100644 (file)
@@ -69,7 +69,7 @@ view "second" {
 };
 
 view "third" {
-       match-clients { 10.53.0.3; };
+       match-clients { @ns.ip@; };
        zone "." {
                type hint;
                file "root.db";
index 1a5eaa6d7a5fd30b89316c9e9b06c319975f0b2f..64756e2ce984fca8070a12f0e2b290142cb0967a 100644 (file)
@@ -12,5 +12,5 @@ zone "ipv4-only-servers" {
 
 zone "ipv6-only-servers" {
        type secondary;
-       primaries { fd92:7065:b8e:ffff::2; };
+       primaries { @ns.ip6@; };
 };
index b48dc0b1847b411608ab6ed6de8e845cd0933778..a5534776179e131e72aa081f9109080f2655bb1e 100644 (file)
@@ -15,7 +15,7 @@ options {
        {% include_indented "_common/options/sources.conf.j2" %}
        {% include_indented "_common/options/server.conf.j2" %}
        listen-on {
-               10.53.0.3;
+               @ns.ip@;
                10.53.0.5;
                10.53.0.6;
                10.53.0.7;
index 2380f02228a7dbd47ede7f4b08e121db22df0c3a..0d24fa67c33c5d1bd9b8a00acd0a24571bf35684 100644 (file)
@@ -7,7 +7,7 @@ options {
        allow-query { any; };
 };
 
-# 10.53.0.2 is authoritative for .test domain
+# @ns.ip@ is authoritative for .test domain
 zone "test" {
        type primary;
        file "test.db";
index f98d2778b153013b2f325eb6cc6771537fbcd4c4..2db69bac0fd81fe9793aea29dd8ddea54e7cb51a 100644 (file)
@@ -1,7 +1,7 @@
 options {
        {% include_indented "_common/options/sources.conf.j2" %}
        {% include_indented "_common/options/server.conf.j2" %}
-       listen-on { 10.53.0.4; };
+       listen-on { @ns.ip@; };
        listen-on-v6 { ::1; };
        recursion no;
        dnssec-validation no;
index 3e6444642522a9f5e5542e97c15811d0556ee320..6c5aeae60eb4f044f7658524fc4555cbc280a6cb 100644 (file)
@@ -8,7 +8,7 @@ options {
 
 {% if FEATURE_LIBXML2 == "1" or FEATURE_JSON_C == "1" %}
 statistics-channels {
-       inet 10.53.0.1 port @EXTRAPORT1@ allow { any; };
+       inet @ns.ip@ port @EXTRAPORT1@ allow { any; };
 };
 {% endif %}
 
index e944ffda011668db52e4ea997618109a32cabffd..b0abf1d384ecc176a51f6be22b3f9484639f281d 100644 (file)
@@ -5,7 +5,7 @@ options {
 
 {% if FEATURE_LIBXML2 == "1" or FEATURE_JSON_C == "1" %}
 statistics-channels {
-       inet 10.53.0.2 port @EXTRAPORT1@ allow { any; };
+       inet @ns.ip@ port @EXTRAPORT1@ allow { any; };
 };
 {% endif %}
 
index e7757d74ff32f051cc36a6fcf7d15774e2267f8d..4717f2aa375cce4da5178571c0c838cb8dcd4fee 100644 (file)
@@ -5,7 +5,7 @@ options {
 
 {% if FEATURE_LIBXML2 == "1" or FEATURE_JSON_C == "1" %}
 statistics-channels {
-       inet 10.53.0.2 port @EXTRAPORT1@ allow { any; };
+       inet @ns.ip@ port @EXTRAPORT1@ allow { any; };
 };
 {% endif %}
 
index 92ea60e215965f9123bf54bf8d8f59967dc40d87..0c3748dbfa45e936310adcf1e9eba4b3ce11238f 100644 (file)
@@ -7,7 +7,7 @@ options {
 
 {% if FEATURE_LIBXML2 == "1" or FEATURE_JSON_C == "1" %}
 statistics-channels {
-       inet 10.53.0.3 port @EXTRAPORT1@ allow { any; };
+       inet @ns.ip@ port @EXTRAPORT1@ allow { any; };
 };
 {% endif %}
 
index 27b15fb8c741b923d4f38dcde4dee4fe6dd160f1..6b8f46e49f56ec5fbea35ee914db857249cd0b84 100644 (file)
@@ -1,7 +1,7 @@
 options {
        {% include_indented "_common/options-dual.conf.j2" %}
        tls-port @TLSPORT@;
-       listen-on-v6 tls ephemeral { fd92:7065:b8e:ffff::1; };
+       listen-on-v6 tls ephemeral { @ns.ip6@; };
        recursion no;
        dnssec-validation no;
        notify explicit;
@@ -9,7 +9,7 @@ options {
        version none;  // make statistics independent of the version number
 };
 
-statistics-channels { inet 10.53.0.1 port @EXTRAPORT1@ allow { localhost; }; };
+statistics-channels { inet @ns.ip@ port @EXTRAPORT1@ allow { localhost; }; };
 
 {% include "_common/controls.conf.j2" %}
 
index dd0eaf7856de1ce308181b6e11c2382f3711c8cc..d3162448da6e4869b0cb156c2e2185dbb58b7774 100644 (file)
@@ -8,7 +8,7 @@ options {
        sig-signing-signatures 100;
 };
 
-statistics-channels { inet 10.53.0.2 port @EXTRAPORT1@ allow { localhost; }; };
+statistics-channels { inet @ns.ip@ port @EXTRAPORT1@ allow { localhost; }; };
 
 {% include "_common/controls.conf.j2" %}
 
index 864c9d00bace3554669a07ba91568429760b4759..cfae300ccd84ef8091ef05cfd53846cad13b7d19 100644 (file)
@@ -8,7 +8,7 @@ options {
        sig-signing-signatures 100;
 };
 
-statistics-channels { inet 10.53.0.2 port @EXTRAPORT1@ allow { localhost; }; };
+statistics-channels { inet @ns.ip@ port @EXTRAPORT1@ allow { localhost; }; };
 
 {% include "_common/controls.conf.j2" %}
 
index d8ab2e0b136e67b0dc32ff4e75031770798ac64b..f00fe729f81bc7002cd7f360949aabd7ec908763 100644 (file)
@@ -11,7 +11,7 @@ options {
        allow-new-zones yes;
 };
 
-statistics-channels { inet 10.53.0.3 port @EXTRAPORT1@ allow { localhost; }; };
+statistics-channels { inet @ns.ip@ port @EXTRAPORT1@ allow { localhost; }; };
 
 {% include "_common/controls.conf.j2" %}
 
index e96b1aa90b194ddc73025cd2412af24bfe79e608..2f9bb22e4f7aff61ccc77b352f268fd19f45b36a 100644 (file)
@@ -6,7 +6,7 @@ options {
        version none;  // make statistics independent of the version number
 };
 
-statistics-channels { inet 10.53.0.4 port @EXTRAPORT1@ allow { localhost; }; };
+statistics-channels { inet @ns.ip@ port @EXTRAPORT1@ allow { localhost; }; };
 
 {% include "_common/controls.conf.j2" %}
 
index 7abd7a4fa386e6184040b95095720a48d944043a..7ba10e51e20874a8c3ff46bac8eb6202d8a1754f 100644 (file)
@@ -10,7 +10,7 @@ options {
 
 {% if FEATURE_LIBXML2 == "1" or FEATURE_JSON_C == "1" %}
 statistics-channels {
-       inet 10.53.0.1 port @EXTRAPORT1@ allow { any; };
+       inet @ns.ip@ port @EXTRAPORT1@ allow { any; };
 };
 {% endif %}
 
index 88d94fc25c37759d66815533f8727b35bdbd800f..aeff5139171b15f96c491144419e653fe7ed02f1 100644 (file)
@@ -10,7 +10,7 @@ options {
 
 {% if FEATURE_LIBXML2 == "1" or FEATURE_JSON_C == "1" %}
 statistics-channels {
-       inet 10.53.0.2 port @EXTRAPORT1@ allow { any; };
+       inet @ns.ip@ port @EXTRAPORT1@ allow { any; };
 };
 {% endif %}
 
index 1996f3b1caf98a11ad434079ec9207710870dc6b..0bb7c17be57c8e324a23aaa80828c7e3481b1dc7 100644 (file)
@@ -10,7 +10,7 @@ options {
 
 {% if FEATURE_LIBXML2 == "1" or FEATURE_JSON_C == "1" %}
 statistics-channels {
-       inet 10.53.0.3 port @EXTRAPORT1@ allow { any; };
+       inet @ns.ip@ port @EXTRAPORT1@ allow { any; };
 };
 {% endif %}
 
index 4aacdb68b3d82d55891728f468f57ab7c7f3f685..35894f44b412e8687564037d93649f974108159f 100644 (file)
@@ -11,7 +11,7 @@ options {
 
 {% if FEATURE_LIBXML2 == "1" or FEATURE_JSON_C == "1" %}
 statistics-channels {
-       inet 10.53.0.4 port @EXTRAPORT1@ allow { any; };
+       inet @ns.ip@ port @EXTRAPORT1@ allow { any; };
 };
 {% endif %}
 
index df28657201974cded996f74ec0b803f0dcb7280e..4ebf39459fdf5b6b3df81efad8144253eb6985fe 100644 (file)
@@ -12,7 +12,7 @@ options {
 
 {% if FEATURE_LIBXML2 == "1" or FEATURE_JSON_C == "1" %}
 statistics-channels {
-       inet 10.53.0.5 port @EXTRAPORT1@ allow { any; };
+       inet @ns.ip@ port @EXTRAPORT1@ allow { any; };
 };
 {% endif %}
 
index b6a427cfff63dab0320025185e71631386dc08ff..48969920d9fc775df527ed3d5c78cb62ed63111c 100644 (file)
@@ -11,7 +11,7 @@ options {
 
 {% if FEATURE_LIBXML2 == "1" or FEATURE_JSON_C == "1" %}
 statistics-channels {
-       inet 10.53.0.6 port @EXTRAPORT1@ allow { any; };
+       inet @ns.ip@ port @EXTRAPORT1@ allow { any; };
 };
 {% endif %}
 
index c0c3617d64adbac36a041f973b1044eced39dd9a..f6debfcb0a10bda34991193e19dff0b5bfc569f5 100644 (file)
@@ -9,11 +9,11 @@ options {
        {% include_indented "_common/options.conf.j2" %}
        ##
        # generic test
-       listen-on port @TLSPORT@ tls self-signed { 10.53.0.1; };
+       listen-on port @TLSPORT@ tls self-signed { @ns.ip@; };
        # test #1
-       listen-on port @EXTRAPORT1@ { 10.53.0.1; };
+       listen-on port @EXTRAPORT1@ { @ns.ip@; };
        listen-on port @EXTRAPORT1@ tls self-signed { 10.53.0.2; };
-       listen-on port @EXTRAPORT2@ { 10.53.0.1; };
+       listen-on port @EXTRAPORT2@ { @ns.ip@; };
        listen-on port @EXTRAPORT2@ tls self-signed { 10.53.0.2; };
        # test #2
        listen-on port @EXTRAPORT1@ { 10.53.0.3; };
@@ -30,17 +30,17 @@ options {
        listen-on port @EXTRAPORT2@ { 10.53.0.5; };
        listen-on port @EXTRAPORT1@ tls self-signed { 10.53.0.6; };
        # test #5
-       listen-on port @EXTRAPORT3@ tls self-signed { 10.53.0.1; };
-       listen-on port @EXTRAPORT4@ tls self-signed { 10.53.0.1; };
+       listen-on port @EXTRAPORT3@ tls self-signed { @ns.ip@; };
+       listen-on port @EXTRAPORT4@ tls self-signed { @ns.ip@; };
        listen-on port @EXTRAPORT3@ { 10.53.0.2; };
        # test #6
-       listen-on port @EXTRAPORT5@ { 10.53.0.1; };
+       listen-on port @EXTRAPORT5@ { @ns.ip@; };
        # test #7
-       listen-on port @EXTRAPORT6@ tls self-signed  { 10.53.0.1; };
+       listen-on port @EXTRAPORT6@ tls self-signed  { @ns.ip@; };
        # test #7
-       listen-on port @EXTRAPORT7@ tls self-signed  { 10.53.0.1; };
+       listen-on port @EXTRAPORT7@ tls self-signed  { @ns.ip@; };
        # test #8
-       listen-on port @EXTRAPORT8@ { 10.53.0.1; };
+       listen-on port @EXTRAPORT8@ { @ns.ip@; };
        ##
        recursion no;
        notify explicit;
@@ -101,7 +101,7 @@ zone "example7" {
 zone "example8" {
        type primary;
        file "example.db";
-       allow-transfer port @EXTRAPORT7@ transport tls { 10.53.0.1; 10.53.0.2; 10.53.0.3; };
+       allow-transfer port @EXTRAPORT7@ transport tls { @ns.ip@; 10.53.0.2; 10.53.0.3; };
 };
 
 zone "example9" {
index 8e29f8e4035b244a56c99d526b0a8bb9225a1316..a45e5e9de5ac5aed22de81bfaa4a0f3d8f8a48c8 100644 (file)
@@ -10,10 +10,10 @@ options {
        {% include_indented "_common/options/server.conf.j2" %}
        ##
        # generic
-       listen-on { 10.53.0.1; };
+       listen-on { @ns.ip@; };
        # test TLS
-       listen-on port @EXTRAPORT1@ proxy plain tls none http default { 10.53.0.1; };
-       listen-on-v6 port @EXTRAPORT1@ proxy plain tls none http default { fd92:7065:b8e:ffff::1; };
+       listen-on port @EXTRAPORT1@ proxy plain tls none http default { @ns.ip@; };
+       listen-on-v6 port @EXTRAPORT1@ proxy plain tls none http default { @ns.ip6@; };
        ##
        recursion no;
        notify explicit;
@@ -21,7 +21,7 @@ options {
        dnssec-validation no;
        tcp-initial-timeout 1200;
        allow-proxy { any; };
-       allow-proxy-on { 10.53.0.1; fd92:7065:b8e:ffff::1; };
+       allow-proxy-on { @ns.ip@; @ns.ip6@; };
 };
 
 
index 0538153f925b9ee71c6d7de976b0968b182a0aa5..072b62b56963c199cf6ab8fd6c0dfcf14afa5dcd 100644 (file)
@@ -10,10 +10,10 @@ options {
        {% include_indented "_common/options/server.conf.j2" %}
        ##
        # generic
-       listen-on { 10.53.0.1; };
+       listen-on { @ns.ip@; };
        # test TLS
-       listen-on port @EXTRAPORT1@ tls none http default { 10.53.0.1; };
-       listen-on-v6 port @EXTRAPORT1@ tls none http default { fd92:7065:b8e:ffff::1; };
+       listen-on port @EXTRAPORT1@ tls none http default { @ns.ip@; };
+       listen-on-v6 port @EXTRAPORT1@ tls none http default { @ns.ip6@; };
        ##
        recursion no;
        notify explicit;
@@ -21,7 +21,7 @@ options {
        dnssec-validation no;
        tcp-initial-timeout 1200;
        allow-proxy { any; };
-       allow-proxy-on { 10.53.0.1; fd92:7065:b8e:ffff::1; };
+       allow-proxy-on { @ns.ip@; @ns.ip6@; };
 };
 
 
index 0c57785bd6ce0a42bec6458c468ff01c8886ab5d..ed110651a8e151b89092469a48f9c1fe417de569 100644 (file)
@@ -10,10 +10,10 @@ options {
        {% include_indented "_common/options/server.conf.j2" %}
        ##
        # generic
-       listen-on { 10.53.0.1; };
+       listen-on { @ns.ip@; };
        # test TLS
-       listen-on port @EXTRAPORT1@ proxy encrypted tls self-signed http default { 10.53.0.1; };
-       listen-on-v6 port @EXTRAPORT1@ proxy encrypted tls self-signed http default { fd92:7065:b8e:ffff::1; };
+       listen-on port @EXTRAPORT1@ proxy encrypted tls self-signed http default { @ns.ip@; };
+       listen-on-v6 port @EXTRAPORT1@ proxy encrypted tls self-signed http default { @ns.ip6@; };
        ##
        recursion no;
        notify explicit;
@@ -21,7 +21,7 @@ options {
        dnssec-validation no;
        tcp-initial-timeout 1200;
        allow-proxy { any; };
-       allow-proxy-on { 10.53.0.1; fd92:7065:b8e:ffff::1; };
+       allow-proxy-on { @ns.ip@; @ns.ip6@; };
 };
 
 
index d0898653021a6ad73a469a8a04f51be96314ff99..61acad0898d96b6327718d82aac615f2224776f7 100644 (file)
@@ -10,10 +10,10 @@ options {
        {% include_indented "_common/options/server.conf.j2" %}
        ##
        # generic
-       listen-on { 10.53.0.1; };
+       listen-on { @ns.ip@; };
        # test TLS
-       listen-on port @EXTRAPORT1@ proxy plain tls self-signed http default { 10.53.0.1; };
-       listen-on-v6 port @EXTRAPORT1@ proxy plain tls self-signed http default { fd92:7065:b8e:ffff::1; };
+       listen-on port @EXTRAPORT1@ proxy plain tls self-signed http default { @ns.ip@; };
+       listen-on-v6 port @EXTRAPORT1@ proxy plain tls self-signed http default { @ns.ip6@; };
        ##
        recursion no;
        notify explicit;
@@ -21,7 +21,7 @@ options {
        dnssec-validation no;
        tcp-initial-timeout 1200;
        allow-proxy { any; };
-       allow-proxy-on { 10.53.0.1; fd92:7065:b8e:ffff::1; };
+       allow-proxy-on { @ns.ip@; @ns.ip6@; };
 };
 
 
index a13829e30168f266cbda070bc5d781bd4bb227a0..f78abd83560b2d578e3c353c8d42146b59c1189f 100644 (file)
@@ -10,10 +10,10 @@ options {
        {% include_indented "_common/options/server.conf.j2" %}
        ##
        # generic
-       listen-on { 10.53.0.1; };
+       listen-on { @ns.ip@; };
        # test TLS
-       listen-on port @EXTRAPORT1@ tls self-signed http default { 10.53.0.1; };
-       listen-on-v6 port @EXTRAPORT1@ tls self-signed http default { fd92:7065:b8e:ffff::1; };
+       listen-on port @EXTRAPORT1@ tls self-signed http default { @ns.ip@; };
+       listen-on-v6 port @EXTRAPORT1@ tls self-signed http default { @ns.ip6@; };
        ##
        recursion no;
        notify explicit;
@@ -21,7 +21,7 @@ options {
        dnssec-validation no;
        tcp-initial-timeout 1200;
        allow-proxy { any; };
-       allow-proxy-on { 10.53.0.1; fd92:7065:b8e:ffff::1; };
+       allow-proxy-on { @ns.ip@; @ns.ip6@; };
 };
 
 
index aeeab8c06609f89d4dc8669c6fb776b2ee8f756a..bbfbbce82498471566261df754b001b049df15fa 100644 (file)
@@ -10,10 +10,10 @@ options {
        {% include_indented "_common/options/server.conf.j2" %}
        ##
        # generic
-       listen-on { 10.53.0.1; };
+       listen-on { @ns.ip@; };
        # test
-       listen-on port @EXTRAPORT1@ proxy plain { 10.53.0.1; };
-       listen-on-v6 port @EXTRAPORT1@ proxy plain { fd92:7065:b8e:ffff::1; };
+       listen-on port @EXTRAPORT1@ proxy plain { @ns.ip@; };
+       listen-on-v6 port @EXTRAPORT1@ proxy plain { @ns.ip6@; };
        ##
        recursion no;
        notify explicit;
@@ -21,7 +21,7 @@ options {
        dnssec-validation no;
        tcp-initial-timeout 1200;
        allow-proxy { any; };
-       allow-proxy-on { 10.53.0.1; fd92:7065:b8e:ffff::1; };
+       allow-proxy-on { @ns.ip@; @ns.ip6@; };
 };
 
 
index 60bbe2f7ce3ec5c088cd63b11067f05eae8eca63..261ff42738c17a0f6fa242fd45ecb3a3fc1c10ff 100644 (file)
@@ -10,10 +10,10 @@ options {
        {% include_indented "_common/options/server.conf.j2" %}
        ##
        # generic
-       listen-on { 10.53.0.1; };
+       listen-on { @ns.ip@; };
        # test TLS
-       listen-on port @EXTRAPORT1@ proxy encrypted tls self-signed { 10.53.0.1; };
-       listen-on-v6 port @EXTRAPORT1@ proxy encrypted tls self-signed { fd92:7065:b8e:ffff::1; };
+       listen-on port @EXTRAPORT1@ proxy encrypted tls self-signed { @ns.ip@; };
+       listen-on-v6 port @EXTRAPORT1@ proxy encrypted tls self-signed { @ns.ip6@; };
        ##
        recursion no;
        notify explicit;
@@ -21,7 +21,7 @@ options {
        dnssec-validation no;
        tcp-initial-timeout 1200;
        allow-proxy { any; };
-       allow-proxy-on { 10.53.0.1; fd92:7065:b8e:ffff::1; };
+       allow-proxy-on { @ns.ip@; @ns.ip6@; };
 };
 
 
index 1f5b2bf1d43a900c149c01524348968b7e7cfe11..54b967578e67e2316348bb82430b71c3f1bec0ee 100644 (file)
@@ -10,10 +10,10 @@ options {
        {% include_indented "_common/options/server.conf.j2" %}
        ##
        # generic
-       listen-on { 10.53.0.1; };
+       listen-on { @ns.ip@; };
        # test TLS
-       listen-on port @EXTRAPORT1@ proxy plain tls self-signed { 10.53.0.1; };
-       listen-on-v6 port @EXTRAPORT1@ proxy plain tls self-signed { fd92:7065:b8e:ffff::1; };
+       listen-on port @EXTRAPORT1@ proxy plain tls self-signed { @ns.ip@; };
+       listen-on-v6 port @EXTRAPORT1@ proxy plain tls self-signed { @ns.ip6@; };
        ##
        recursion no;
        notify explicit;
@@ -21,7 +21,7 @@ options {
        dnssec-validation no;
        tcp-initial-timeout 1200;
        allow-proxy { any; };
-       allow-proxy-on { 10.53.0.1; fd92:7065:b8e:ffff::1; };
+       allow-proxy-on { @ns.ip@; @ns.ip6@; };
 };
 
 
index 9467f9c5c871869ed492a0bc9121c3a91b31105c..06e3f5356dc8205273f1ee15010ec8f6dcacbc68 100644 (file)
@@ -10,10 +10,10 @@ options {
        {% include_indented "_common/options/server.conf.j2" %}
        ##
        # generic
-       listen-on { 10.53.0.1; };
+       listen-on { @ns.ip@; };
        # test TLS
-       listen-on port @EXTRAPORT1@ tls self-signed { 10.53.0.1; };
-       listen-on-v6 port @EXTRAPORT1@ tls self-signed { fd92:7065:b8e:ffff::1; };
+       listen-on port @EXTRAPORT1@ tls self-signed { @ns.ip@; };
+       listen-on-v6 port @EXTRAPORT1@ tls self-signed { @ns.ip6@; };
        ##
        recursion no;
        notify explicit;
@@ -21,7 +21,7 @@ options {
        dnssec-validation no;
        tcp-initial-timeout 1200;
        allow-proxy { any; };
-       allow-proxy-on { 10.53.0.1; fd92:7065:b8e:ffff::1; };
+       allow-proxy-on { @ns.ip@; @ns.ip6@; };
 };
 
 
index c074d3cfc21dbb81d462f568768fda04808e0e18..900540169f339bfe8a4fcfdb1765ea378d2d74a7 100644 (file)
@@ -10,10 +10,10 @@ options {
        {% include_indented "_common/options/server.conf.j2" %}
        ##
        # generic
-       listen-on { 10.53.0.1; };
+       listen-on { @ns.ip@; };
        # test
-       listen-on port @EXTRAPORT1@ { 10.53.0.1; };
-       listen-on-v6 port @EXTRAPORT1@ { fd92:7065:b8e:ffff::1; };
+       listen-on port @EXTRAPORT1@ { @ns.ip@; };
+       listen-on-v6 port @EXTRAPORT1@ { @ns.ip6@; };
        ##
        recursion no;
        notify explicit;
@@ -21,7 +21,7 @@ options {
        dnssec-validation no;
        tcp-initial-timeout 1200;
        allow-proxy { any; };
-       allow-proxy-on { 10.53.0.1; fd92:7065:b8e:ffff::1; };
+       allow-proxy-on { @ns.ip@; @ns.ip6@; };
 };
 
 
index 1dac37dc9f389114b71b6f4adf3cdaf1a1bcbb29..4d81ed22c54db4f0ed6fe6ecbcc3f397580c0334 100644 (file)
@@ -2,7 +2,7 @@ options {
        {% include_indented "_common/options/sources.conf.j2" %}
        {% include_indented "_common/options/server.conf.j2" %}
        session-keyfile "session.key";
-       listen-on { 10.53.0.1; 127.0.0.1; };
+       listen-on { @ns.ip@; 127.0.0.1; };
        listen-on-v6 { none; };
        recursion no;
        dnssec-validation no;
index ea409efdead2a8bea89b8e20927b23fa03fe97f4..62b46d855ac4af2f0c118f092f00e639dcb22131 100644 (file)
@@ -6,7 +6,7 @@ key "update.example." {
 options {
        {% include_indented "_common/options.conf.j2" %}
        tls-port @TLSPORT@;
-       listen-on tls ephemeral { 10.53.0.1; };
+       listen-on tls ephemeral { @ns.ip@; };
        allow-transfer { any; };
        dnssec-validation no;
 };
index f76991ec868adc0251fc505972232b4fb91b6243..0daf81bfa6b9b10cc6a561ae2d865d8fb8a6e9ad 100644 (file)
@@ -1,7 +1,7 @@
 options {
        {% include_indented "_common/options.conf.j2" %}
        tls-port @TLSPORT@;
-       listen-on tls ephemeral { 10.53.0.3; };
+       listen-on tls ephemeral { @ns.ip@; };
        allow-transfer { any; };
        recursion no;
        dnssec-validation no;
index 8d76b1552b4f305edca1ff1556459bd4ced6176e..bc9d61b1f47d43905ee207db5fc7fd2b600d9ac5 100644 (file)
@@ -1,7 +1,7 @@
 options {
        {% include_indented "_common/options.conf.j2" %}
        tls-port @TLSPORT@;
-       listen-on tls ephemeral { 10.53.0.3; };
+       listen-on tls ephemeral { @ns.ip@; };
        allow-transfer { any; };
        recursion no;
        dnssec-validation no;
index db9b2a783f5d20ac49229f1ff7c3c233bdd53987..2609cf959828faebea15b2ae6655cb7a9b8b93ec 100644 (file)
@@ -1,7 +1,7 @@
 options {
        {% include_indented "_common/options/sources.conf.j2" %}
        {% include_indented "_common/options/server.conf.j2" %}
-       listen-on { 10.53.0.2; 10.53.0.4; };
+       listen-on { @ns.ip@; 10.53.0.4; };
        listen-on-v6 { none; };
        allow-transfer { any; };
        dnssec-validation no;
@@ -17,7 +17,7 @@ dnssec-policy "views" {
 };
 
 view "internal" {
-       match-clients { 10.53.0.2;
+       match-clients { @ns.ip@;
                        10.53.0.3; };
 
        {% include_indented "_common/root.hint.conf" %}
index 60c7a30f922ea977ea9ea3aa37af44d5ad884537..3785b24f949af78df1e920ae192c1398622fe4d0 100644 (file)
@@ -36,7 +36,7 @@ zone "axfr-rndc-retransfer-force" {
 {% if enable_some_zones | default(True) %}
 zone "secondary" {
        type primary;
-       allow-transfer { 10.53.0.1; 10.53.0.2; 10.53.0.6; 10.53.0.7; };
+       allow-transfer { @ns.ip@; 10.53.0.2; 10.53.0.6; 10.53.0.7; };
        file "sec.db";
 };
 
index 64125866208a11fe0d8eea8144155d4592a0e9aa..78245b6388c89814f6b7f73d8909be3bd06a95b3 100644 (file)
@@ -31,7 +31,7 @@ zone "tsigzone" {
        allow-transfer { tzkey; };
 };
 
-remote-servers "ns1" port @PORT@ source 10.53.0.2 {
+remote-servers "ns1" port @PORT@ source @ns.ip@ {
        10.53.0.1;
 };
 
index 1ae5503b14d0e7b6b05a5e89bf3ee8ba42613ab8..79fe275b02b73caf357e972b7281caff80cf5678 100644 (file)
@@ -21,7 +21,7 @@ zone "example" {
 
 zone "primary" {
        type secondary;
-       transfer-source 10.53.0.3;
+       transfer-source @ns.ip@;
        primaries { 10.53.0.6; };
        file "primary.bk";
 };
index 431367cd137ace7608a1a455595fb84210c11670..77670160b14e64a05024e337dc4937689c864ac1 100644 (file)
@@ -1,8 +1,8 @@
 options {
        {% include_indented "_common/options/server.conf.j2" %}
        {% include_indented "_common/options/listen.conf.j2" %}
-       query-source address 10.53.0.1;
-       transfer-source 10.53.0.1;
+       query-source address @ns.ip@;
+       transfer-source @ns.ip@;
        recursion no;
        /*
         * Notifications are sent from 10.53.1.1. This, the `notify