]> git.ipfire.org Git - thirdparty/pdns.git/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)
committermind04 <mind04@monshouwer.org>
Mon, 22 Dec 2014 19:35:39 +0000 (20:35 +0100)
modules/bindbackend/bindbackend2.cc

index f5ef1dbeba6a097042d7a732565089fbe9ac7e61..1ae98afde4ae84f553a46920c73cdbccd05110a4 100644 (file)
@@ -516,9 +516,6 @@ void Bind2Backend::insertRecord(BB2DomainInfo& bb2, const string &qnameu, const
     trim_left(bdr.content);
   }
   
-  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;
   bdr.priority=prio;  
   records->insert(bdr);