+8 October 2009: Wouter
+ - please doxygen
+ - add val-log-level print to corner case (nameserver.epost.bg).
+
7 October 2009: Wouter
- retry for validation failure in DS and prime results. Less mem use.
unit test. Provisioning in other tests for requeries.
* Append text to error info: from 1.2.3.4
* @param qstate: query state.
* @param vq: validator state.
- * @param list: sock list with origin of trouble.
+ * @param origin: sock list with origin of trouble.
* Every element added.
* If NULL: nothing is added.
* if 0len element: 'from cache' is added.
* @param vq: validator state.
* @param str: explanation string
* @param dname: the dname.
- * @param rr: rrset_key.
*/
void val_errinf_dname(struct module_qstate* qstate, struct val_qstate* vq,
const char* str, uint8_t* dname);
log_err("alloc failure in missing dnskey response");
/* key_entry is NULL for failure in Validate */
}
+ val_errinf(qstate, vq, "No DNSKEY record");
+ val_errinf_origin(qstate, vq, origin);
+ val_errinf_dname(qstate, vq, "for key", qinfo->qname);
vq->state = VAL_VALIDATE_STATE;
return;
}