fix: usr: Fix suppressed missing-glue check in named-checkzone

named-checkzone and named-checkconf -z silently skipped the
missing-glue check for any NS name that had already triggered an
extra-AAAA-glue warning, so zones missing required A glue could pass
validation and be deployed with broken delegations.

Merge branch 'ondrej/check-tool-err-glue-code-collision' into 'main'

See merge request isc-projects/bind9!11899
This commit is contained in:
Ondřej Surý 2026-04-29 17:31:30 +02:00
commit e75f146485

View file

@ -53,14 +53,16 @@
#define CHECK_LOCAL 1
#endif /* ifndef CHECK_LOCAL */
#define ERR_IS_CNAME 1
#define ERR_NO_ADDRESSES 2
#define ERR_LOOKUP_FAILURE 3
#define ERR_EXTRA_A 4
#define ERR_EXTRA_AAAA 5
#define ERR_MISSING_GLUE 5
#define ERR_IS_MXCNAME 6
#define ERR_IS_SRVCNAME 7
enum {
ERR_IS_CNAME = 1,
ERR_NO_ADDRESSES,
ERR_LOOKUP_FAILURE,
ERR_EXTRA_A,
ERR_EXTRA_AAAA,
ERR_MISSING_GLUE,
ERR_IS_MXCNAME,
ERR_IS_SRVCNAME,
};
static const char *dbtype[] = { ZONEDB_DEFAULT };