mirror of https://github.com/getdnsapi/getdns.git
target-fetch-policy only with unbound-event-api
This commit is contained in:
parent
cab13ce32a
commit
c53b15bd9a
|
@ -1562,8 +1562,10 @@ rebuild_ub_ctx(struct getdns_context* context) {
|
|||
if (!context->unbound_ctx)
|
||||
return GETDNS_RETURN_MEMORY_ERROR;
|
||||
|
||||
#ifdef HAVE_UNBOUND_EVENT_API
|
||||
ub_ctx_set_option(context->unbound_ctx,
|
||||
"target-fetch-policy:", "1 1 1 0 0");
|
||||
"target-fetch-policy:", "0 0 0 0 0");
|
||||
#endif
|
||||
set_ub_dnssec_allowed_skew(context,
|
||||
context->dnssec_allowed_skew);
|
||||
set_ub_edns_maximum_udp_payload_size(context,
|
||||
|
|
Loading…
Reference in New Issue