]> granicus.if.org Git - pdns/commitdiff
disable the broken 'storing unknown records' code for now
authorBert Hubert <bert.hubert@netherlabs.nl>
Mon, 31 Jan 2011 07:48:19 +0000 (07:48 +0000)
committerBert Hubert <bert.hubert@netherlabs.nl>
Mon, 31 Jan 2011 07:48:19 +0000 (07:48 +0000)
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1942 d19b8d6e-7fed-0310-83ef-9ca221ded41b

pdns/slavecommunicator.cc

index aeb57a4fd34632d047a94a2d5e0556f1e2c3229e..415f01ba854458a58dfda1c741de17b166c0a8e5 100644 (file)
@@ -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<string>(i->qtype.getCode()-1024));
-
+#endif
         di.backend->feedRecord(*i);
       }
     }