Commit f9561c1fbd for bind
commit f9561c1fbd595e809ee8e5291ceffdb6df350f37
Merge: fc79a7496d 5e5605bc28
Author: Evan Hunt <each@isc.org>
Date: Fri Oct 23 08:53:36 2026 +0000
new: test: Allow extra zone options in template-generated zones
The 'options' argument of isctest.zone.Zone lists statements to be
added to the 'zone' statement generated for the zone from
'_common/zones.conf.j2'.
For example, to configure a primary zone that can receive dynamic
updates and allows transfers to a secondary, use the following in the
python test:
```
def bootstrap():
zone = Zone(
"example",
NS2,
signed=True,
options=[
"allow-update { 10.53.0.1; }",
"allow-transfer { 10.53.0.3; }",
],
)
zone.configure()
```
... and the '_common/zones.conf.j2' template will generate:
```
zone "example" {
type primary;
file "zones/example.db.signed";
allow-update { 10.53.0.1; };
allow-transfer { 10.53.0.3; };
};
```
Merge branch 'each-test-extra-zone-opts' into 'main'
See merge request isc-projects/bind9!12991