Skip to content

catz: improved log message when a zone is overridden

Tony Finch requested to merge fanf/bind9:u/fanf2/catz-logging into master

If you have a catalog zone containing 10.in-addr.arpa and an explicitly-configured version which overrides the catz version, named used to log a warning:

catz: error "success" while trying to add zone "10.in-addr.arpa"

After this patch it logs an informational message:

catz: zone "10.in-addr.arpa" is overridden by explicitly configured zone

In Cambridge our catz includes a version of 10.in-addr.arpa suitable for most cases, but we want departments to be able to override it if they are using addresses in 10/9 (sic - they can only use the bottom half! More info at https://www.dns.cam.ac.uk/domains/reverse/ten.html)

Merge request reports