]> granicus.if.org Git - pdns/commitdiff
for fancy records to work in the BIND backend, they must be reported first
authorBert Hubert <bert.hubert@netherlabs.nl>
Sat, 14 Feb 2009 15:17:38 +0000 (15:17 +0000)
committerBert Hubert <bert.hubert@netherlabs.nl>
Sat, 14 Feb 2009 15:17:38 +0000 (15:17 +0000)
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1339 d19b8d6e-7fed-0310-83ef-9ca221ded41b

pdns/receiver.cc

index 6a9feb0af6f4a5375720c2ae47bb5bfcb6eb3869..1e3dcb82f623f8f52b5b8d72f166bfc0eda597a9 100644 (file)
@@ -499,6 +499,10 @@ int main(int argc, char **argv)
       exit(99);
     }
 
+    if(::arg().mustDo("fancy-records")) {
+      reportFancyTypes();
+    }
+
     if(!::arg().asNum("local-port")) {
       L<<Logger::Error<<"Unable to launch, binding to no port or port 0 makes no sense"<<endl;
       exit(99); // this isn't going to fix itself either