- 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
This commit is contained in:
Wouter Wijngaards 2010-07-05 07:45:20 +00:00
parent 56b100a692
commit 654d66d6a7
2 changed files with 6 additions and 0 deletions

View file

@ -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 1 July 2010: Wouter
- Fix RFC4035 compliance with 2.2 statement that the DNSKEY at apex - 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. must be signed with all algorithms from the DS rrset at the parent.

View file

@ -187,6 +187,8 @@ iter_filter_unsuitable(struct iter_env* iter_env, struct module_env* env,
if(a->bogus) if(a->bogus)
return -1; /* address of server is bogus */ return -1; /* address of server is bogus */
if(donotq_lookup(iter_env->donotq, &a->addr, a->addrlen)) { 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 */ return -1; /* server is on the donotquery list */
} }
if(!iter_env->supports_ipv6 && addr_is_ip6(&a->addr, a->addrlen)) { if(!iter_env->supports_ipv6 && addr_is_ip6(&a->addr, a->addrlen)) {