Permalink
Browse files

remove additional layer of trailing . stripping, which broke MX recor…

…ds to the root in the BIND backend. Should close #1243.
  • Loading branch information...
1 parent 031ab21 commit e94c2c40ac6e0ecf8a5fdf7c415da5c59a8330d6 @ahupowerdns ahupowerdns committed with mind04 Dec 10, 2014
Showing with 0 additions and 3 deletions.
  1. +0 −3 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);

0 comments on commit e94c2c4

Please sign in to comment.