mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
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:
commit
e75f146485
1 changed files with 10 additions and 8 deletions
|
|
@ -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 };
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue