--dnssec-debug

This commit is contained in:
Simon Kelley
2014-01-25 17:03:07 +00:00
parent 0744ca66ad
commit 5b3bf92101
5 changed files with 15 additions and 5 deletions

View File

@@ -1351,7 +1351,9 @@ size_t dnssec_generate_query(struct dns_header *header, char *end, char *name, i
header->hb3 = HB3_RD;
SET_OPCODE(header, QUERY);
header->hb4 = HB4_CD;
/* For debugging, set Checking Disabled, otherwise, have the upstream check too,
this allows it to select auth servers when one is returning bad data. */
header->hb4 = option_bool(OPT_DNSSEC_DEBUG) ? HB4_CD : 0;
/* ID filled in later */