From: Bert Hubert Date: Mon, 31 Jan 2011 07:48:19 +0000 (+0000) Subject: disable the broken 'storing unknown records' code for now X-Git-Tag: auth-3.0~305 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7fefa73ae58b6e6146e1b7544fb25563bd671ebf;p=pdns disable the broken 'storing unknown records' code for now git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1942 d19b8d6e-7fed-0310-83ef-9ca221ded41b --- diff --git a/pdns/slavecommunicator.cc b/pdns/slavecommunicator.cc index aeb57a4fd..415f01ba8 100644 --- a/pdns/slavecommunicator.cc +++ b/pdns/slavecommunicator.cc @@ -127,9 +127,10 @@ void CommunicatorClass::suck(const string &domain,const string &remote) qnames.insert(i->qname); i->domain_id=domain_id; - if(i->qtype.getCode()>=1024) +#if 0 + if(i->qtype.getCode()>=60000) throw DBException("Database can't store unknown record type "+lexical_cast(i->qtype.getCode()-1024)); - +#endif di.backend->feedRecord(*i); } }