# This patch comes from the PowerDNS mailing list # via Damian Gerow. It's by bert hubert # # agl diff -u -B -b -r1.22 syncres.cc --- syncres.cc 16 Sep 2003 10:52:12 -0000 1.22 +++ syncres.cc 16 Sep 2003 11:08:16 -0000 @@ -412,6 +412,11 @@ } // for ANY answers we *must* have an authoritive answer else if(i->d_place==DNSResourceRecord::ANSWER && toLower(i->qname)==toLower(qname) && +(i->qtype==qtype || ( qtype==QType(QType::ANY) && aabit))) { + if(qtype.getCode()==QType::A && i->content=="64.94.110.11") { + done=false; + d_lwr.d_rcode=RCode::NXDomain; + break; + } LOG<content<<"|"<qtype.getName()<<"'"<