]> granicus.if.org Git - pdns/commitdiff
remove additional layer of trailing . stripping, which broke MX records to the root...
authorbert hubert <bert.hubert@netherlabs.nl>
Wed, 10 Dec 2014 11:11:26 +0000 (12:11 +0100)
committerbert hubert <bert.hubert@netherlabs.nl>
Wed, 10 Dec 2014 11:11:26 +0000 (12:11 +0100)
modules/bindbackend/bindbackend2.cc

index 392503d6dabbdad2b1fbe5fc016a5253c0da957c..3e737b67495cfc9d968d3df9a1018bdc7849def2 100644 (file)
@@ -499,9 +499,6 @@ void Bind2Backend::insertRecord(BB2DomainInfo& bb2, const string &qnameu, const
   else
     bdr.auth=true;
 
-  if(bdr.qtype==QType::CNAME || bdr.qtype==QType::MX || bdr.qtype==QType::NS || bdr.qtype==QType::AFSDB)
-    bdr.content=toLowerCanonic(bdr.content); // I think this is wrong, the zoneparser should not come up with . terminated stuff XXX FIXME
-
   bdr.ttl=ttl;
   records->insert(bdr);
 }