From ca60f09f996a96f36364cd2297a0b46c00aa6178 Mon Sep 17 00:00:00 2001 From: Kees Monshouwer Date: Mon, 6 May 2019 15:56:59 +0200 Subject: [PATCH] pdns: lmdbbackend: strip trailing dots in content --- modules/lmdbbackend/lmdbbackend.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/lmdbbackend/lmdbbackend.cc b/modules/lmdbbackend/lmdbbackend.cc index a31b25f10..8f2d0925d 100644 --- a/modules/lmdbbackend/lmdbbackend.cc +++ b/modules/lmdbbackend/lmdbbackend.cc @@ -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 "<