]> git.ipfire.org Git - thirdparty/bind9.git/commit
fix: dev: initialize queryonacl dns_view_t property
authorColin Vidal <colin@isc.org>
Wed, 4 Jun 2025 08:24:18 +0000 (08:24 +0000)
committerColin Vidal <colin@isc.org>
Wed, 4 Jun 2025 08:24:18 +0000 (08:24 +0000)
commitbb1458460b36f624cd765c1047eb5c457ddda4f7
tree0f1034002ef5d48b40ebaa03c3b8c3307ae53800
parent93c44ba551c7d51a5a70ef508f2f407e2f017783
parent48dc763949016991adf8cd5886a006176e83042f
fix: dev: initialize queryonacl dns_view_t property

A dns_view_t has a queryonacl property, which is supposed to hold the
ACL matching the configuration "allow-query-on". However the code
parsing this configuration ACL was missing (or removed by mistake?),
hence this property was always NULL. The ACL was still built but
individually for each zone (which checks if the property exists in the
zone definition, view definition, and finally options definition).

We now create the ACL instance at the view level, enabling zones to
share the same (identical) ACL instead of having their own copies.

Merge branch 'colin/view-allowqueryon' into 'main'

See merge request isc-projects/bind9!10551