mirror of https://github.com/getdnsapi/getdns.git
target-fetch-policy for more resilient recursion
This commit is contained in:
parent
64dfed2a07
commit
c9fab8c242
|
@ -1563,7 +1563,7 @@ rebuild_ub_ctx(struct getdns_context* context) {
|
||||||
return GETDNS_RETURN_MEMORY_ERROR;
|
return GETDNS_RETURN_MEMORY_ERROR;
|
||||||
|
|
||||||
ub_ctx_set_option(context->unbound_ctx,
|
ub_ctx_set_option(context->unbound_ctx,
|
||||||
"target-fetch-policy:", "0 0 0 0 0");
|
"target-fetch-policy:", "1 1 1 0 0");
|
||||||
set_ub_dnssec_allowed_skew(context,
|
set_ub_dnssec_allowed_skew(context,
|
||||||
context->dnssec_allowed_skew);
|
context->dnssec_allowed_skew);
|
||||||
set_ub_edns_maximum_udp_payload_size(context,
|
set_ub_edns_maximum_udp_payload_size(context,
|
||||||
|
|
Loading…
Reference in New Issue