]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Fix controls statements bound to another instance's address
authorNicki Křížek <nicki@isc.org>
Wed, 8 Jul 2026 18:06:19 +0000 (18:06 +0000)
committerNicki Křížek <nicki@isc.org>
Thu, 23 Jul 2026 08:18:11 +0000 (08:18 +0000)
Some of the system test named configs had a mismatched control channel
IP address. As there is no evidence this was intentional (no uses of the
control channel), it was most likely introduced as a copy-paste bug. Fix
the control channel IP to match the instance number.

Assisted-by: Claude:claude-fable-5
bin/tests/system/rpzextra/ns2/named.conf.j2
bin/tests/system/shutdown/ns2/named.conf.j2
bin/tests/system/sig0/ns1/named.conf.j2
bin/tests/system/ttl/ns2/named.conf.j2

index a888e3a45b9ff920ccd1ae88038b085a9bd832f0..51e748c7dc00294e47827a98224aa6212e9ec186 100644 (file)
@@ -4,7 +4,7 @@ key rndc_key {
 };
 
 controls {
-       inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
+       inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
 };
 
 options {
index f637cbe935feffa18278ed93243dd679bf2876b2..fbe71161fff18ef328d8c1f4d7106709b2aa0b8f 100644 (file)
@@ -4,7 +4,7 @@ key rndc_key {
 };
 
 controls {
-       inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
+       inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
 };
 
 options {
index 4dbddd9e0078f7b17310c012e4bb385b89f2301d..3196e19536e63be4121b822442d2cb90cd051f22 100644 (file)
@@ -16,7 +16,7 @@ key rndc_key {
 };
 
 controls {
-       inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
+       inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
 };
 
 view "v1" {
index 62f1c319cc767a62e0e277b8eea9fa0e59ce81c8..4b17e1b2cd48f86e61e9c110eebbf396d04cc0a9 100644 (file)
@@ -23,7 +23,7 @@ key rndc_key {
 };
 
 controls {
-       inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
+       inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
 };
 
 zone "." { type hint; file "hints.db"; };