From: Aki Tuomi Date: Thu, 5 Nov 2015 10:14:25 +0000 (+0200) Subject: Use DNSName with trailing dot X-Git-Tag: dnsdist-1.0.0-alpha1~234^2~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5341b0fe0f3cece221e852c11986d829f035cbe2;p=pdns Use DNSName with trailing dot --- diff --git a/modules/remotebackend/remotebackend.cc b/modules/remotebackend/remotebackend.cc index 784af21ba..35335d8c3 100644 --- a/modules/remotebackend/remotebackend.cc +++ b/modules/remotebackend/remotebackend.cc @@ -816,7 +816,7 @@ bool RemoteBackend::feedEnts(int domain_id, map& nonterm) { JSON_ADD_MEMBER(parameters, "trxid", d_trxid, query.GetAllocator()); nts.SetArray(); for(auto t: nonterm) { - rapidjson::Value value(t.first.toStringNoDot().c_str(), query.GetAllocator()); + rapidjson::Value value(t.first.toString().c_str(), query.GetAllocator()); nts.PushBack(value, query.GetAllocator()); } parameters.AddMember("nonterm", nts, query.GetAllocator()); @@ -843,7 +843,7 @@ bool RemoteBackend::feedEnts3(int domain_id, const DNSName& domain, map