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: auth-3.4.2~15^2~35 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e94c2c40ac6e0ecf8a5fdf7c415da5c59a8330d6;p=thirdparty%2Fpdns.git 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 f5ef1dbeba..1ae98afde4 100644 --- a/modules/bindbackend/bindbackend2.cc +++ b/modules/bindbackend/bindbackend2.cc @@ -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);