]> granicus.if.org Git - pdns/commitdiff
pdns: lmdbbackend: strip trailing dots in content
authorKees Monshouwer <mind04@monshouwer.org>
Mon, 6 May 2019 13:56:59 +0000 (15:56 +0200)
committermind04 <mind04@monshouwer.org>
Mon, 6 May 2019 13:58:52 +0000 (15:58 +0200)
modules/lmdbbackend/lmdbbackend.cc

index a31b25f1024829b38b505fc500a8ecaa5579cbe2..8f2d0925db41a93c4030f228f22f0fce6c158ef0 100644 (file)
@@ -616,7 +616,7 @@ bool LMDBBackend::get(DNSResourceRecord& rr)
   rr.qname = dzr.dr.d_name;
   rr.ttl = dzr.dr.d_ttl;
   rr.qtype =dzr.dr.d_type;
-  rr.content = dzr.dr.d_content->getZoneRepresentation();
+  rr.content = dzr.dr.d_content->getZoneRepresentation(true);
   rr.domain_id = dzr.domain_id;
   rr.auth = dzr.auth;
   //  cout<<"old school called for "<<rr.qname<<", "<<rr.qtype.getName()<<endl;