From 82ebbe32d15d5b7214de5a68add553e6ac5ccbc0 Mon Sep 17 00:00:00 2001 From: Wouter Wijngaards Date: Thu, 1 Mar 2012 13:38:28 +0000 Subject: [PATCH] comment for explanation of bit toggle. git-svn-id: file:///svn/unbound/trunk@2638 be551aaa-1e26-0410-a405-d3ace91eadb9 --- iterator/iter_hints.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/iterator/iter_hints.c b/iterator/iter_hints.c index 577ae50b4..36ed999f2 100644 --- a/iterator/iter_hints.c +++ b/iterator/iter_hints.c @@ -257,6 +257,9 @@ read_stubs(struct iter_hints* hints, struct config_file* cfg) !read_stubs_host(s, dp) || !read_stubs_addr(s, dp)) return 0; + /* the flag is turned off for 'stub-first' so that the + * last resort will ask for parent-side NS record and thus + * fallback to the internet name servers on a failure */ dp->has_parent_side_NS = !s->isfirst; if(!hints_insert(hints, LDNS_RR_CLASS_IN, dp, !s->isprime)) return 0; -- 2.47.2