From: Wouter Wijngaards Date: Mon, 5 Jul 2010 07:45:20 +0000 (+0000) Subject: - log if a server is skipped because it is on the donotquery list, X-Git-Tag: release-1.4.6rc1~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=654d66d6a780367dbb6f4a67174622d6a9cbc9ff;p=thirdparty%2Funbound.git - log if a server is skipped because it is on the donotquery list, at verbosity 4, to enable diagnosis why no queries to 127.0.0.1. git-svn-id: file:///svn/unbound/trunk@2174 be551aaa-1e26-0410-a405-d3ace91eadb9 --- diff --git a/doc/Changelog b/doc/Changelog index 20ef88701..bd87b8345 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,3 +1,7 @@ +5 July 2010: Wouter + - log if a server is skipped because it is on the donotquery list, + at verbosity 4, to enable diagnosis why no queries to 127.0.0.1. + 1 July 2010: Wouter - Fix RFC4035 compliance with 2.2 statement that the DNSKEY at apex must be signed with all algorithms from the DS rrset at the parent. diff --git a/iterator/iter_utils.c b/iterator/iter_utils.c index b2531449d..dda1745f3 100644 --- a/iterator/iter_utils.c +++ b/iterator/iter_utils.c @@ -187,6 +187,8 @@ iter_filter_unsuitable(struct iter_env* iter_env, struct module_env* env, if(a->bogus) return -1; /* address of server is bogus */ if(donotq_lookup(iter_env->donotq, &a->addr, a->addrlen)) { + log_addr(VERB_ALGO, "skip addr on the donotquery list", + &a->addr, a->addrlen); return -1; /* server is on the donotquery list */ } if(!iter_env->supports_ipv6 && addr_is_ip6(&a->addr, a->addrlen)) {