diff --git a/src/context.c b/src/context.c index df1bf8b7c..cc059f6fc 100644 --- a/src/context.c +++ b/src/context.c @@ -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,