not overwrite valid cache entry with SERVFAIL.
- auth-zone give SERVFAIL when expired, fallback activates when
expired, and this is documented in the man page.
+ - stat count SERVFAIL downstream auth-zone queries for expired zones.
26 November 2018: Wouter
- Fix to not set GLOB_NOSORT so the unbound.conf include: files are
return 0;
}
lock_rw_unlock(&z->lock);
+ lock_rw_wrlock(&az->lock);
+ az->num_query_down++;
+ lock_rw_unlock(&az->lock);
auth_error_encode(qinfo, env, edns, repinfo, buf, temp,
LDNS_RCODE_SERVFAIL);
return 1;