From: bert hubert Date: Wed, 10 Dec 2014 11:11:26 +0000 (+0100) Subject: remove additional layer of trailing . stripping, which broke MX records to the root... X-Git-Tag: rec-3.7.0-rc1~123^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a784510d0eb9349dcd5f5f5ac9bf862c7e475c58;p=pdns remove additional layer of trailing . stripping, which broke MX records to the root in the BIND backend. Should close #1243. --- diff --git a/modules/bindbackend/bindbackend2.cc b/modules/bindbackend/bindbackend2.cc index 392503d6d..3e737b674 100644 --- a/modules/bindbackend/bindbackend2.cc +++ b/modules/bindbackend/bindbackend2.cc @@ -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); }