]> granicus.if.org Git - pdns/commitdiff
possibly fix up dnssec detection spewing errors, restore default config file location
authorbert hubert <bert.hubert@netherlabs.nl>
Sat, 21 Mar 2015 15:48:54 +0000 (16:48 +0100)
committerbert hubert <bert.hubert@netherlabs.nl>
Sat, 21 Mar 2015 15:48:54 +0000 (16:48 +0100)
pdns/dnsdist.cc

index 7f2f40c326b9b3a93ff76a83a16164c8ab1ddc4d..fa56e0600402961d942d16707db9bc5cb7ab97a0 100644 (file)
@@ -280,7 +280,7 @@ int getEDNSZ(const char* packet, unsigned int len)
   int pos = consumed + 4;
   uint16_t qtype, qclass;
 
-  DNSName aname(packet, len, 12+pos, false, &qtype, &qclass, &consumed);
+  DNSName aname(packet, len, 12+pos, true, &qtype, &qclass, &consumed);
   
   if(qtype!=QType::OPT || 12+pos+consumed+7 >= len)
     return 0;
@@ -1040,7 +1040,7 @@ try
     exit(EXIT_FAILURE);
   }
 #endif
-
+  g_cmdLine.config="/etc/dnsdist.conf";
   struct option longopts[]={ 
     {"config", required_argument, 0, 'C'},
     {"execute", required_argument, 0, 'e'},