Show
Ignore:
Timestamp:
01/25/11 02:23:36 (3 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1295922216 +0000
git-parent:

[78bf9035137ab04dfa29092585c07d27820a584f]

git-author:
Theo Schlossnagle <jesus@omniti.com> 1295922216 +0000
Message:

this allows us to follow CNAMES

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/noit_check_resolver.c

    rb553f9a rb9e1ddf  
    241241 
    242242  while((r = dns_nextrr(&p, &rr)) > 0) { 
    243     if (!dns_dnequal(dn, rr.dnsrr_dn)) continue; 
     243    if (!dns_dnequal(idn, rr.dnsrr_dn)) continue; 
    244244    if (DNS_C_IN == rr.dnsrr_cls && rtype == rr.dnsrr_typ) ++nrr; 
    245245    else if (rr.dnsrr_typ == DNS_T_CNAME && !nrr) {