- Fix that edns-subnet failure to create a subquery errors as

servfail, and not formerror.
This commit is contained in:
W.C.A. Wijngaards 2025-08-07 16:09:47 +02:00
parent 08d59c9a78
commit 3ec5d78ac9
2 changed files with 3 additions and 1 deletions

View file

@ -1,6 +1,8 @@
7 August 2025: Wouter
- Fix dname_str for printout of long names. Thanks to Jan Komissar
for the fix.
- Fix that edns-subnet failure to create a subquery errors as
servfail, and not formerror.
6 August 2025: Wouter
- Fix edns subnet, so that the subquery without subnet is stored in

View file

@ -608,7 +608,7 @@ generate_lookup_without_subnet(struct module_qstate *qstate, int id,
verbose(VERB_ALGO, "subnetcache: make subquery to look up without subnet");
if(!generate_sub_request(qstate, id, sq)) {
verbose(VERB_ALGO, "Could not generate sub query");
qstate->return_rcode = LDNS_RCODE_FORMERR;
qstate->return_rcode = LDNS_RCODE_SERVFAIL;
qstate->return_msg = NULL;
return module_finished;
}