]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
DNSResourceRecords that are read back should generally be in noDot format
authorChristian Hofstaedtler <christian.hofstaedtler@deduktiva.com>
Fri, 7 Oct 2016 17:15:56 +0000 (19:15 +0200)
committerChristian Hofstaedtler <christian.hofstaedtler@deduktiva.com>
Thu, 8 Dec 2016 16:54:48 +0000 (17:54 +0100)
pdns/dnsparser.cc

index 3ec4c566d5be10c6e3413bd173a5199c31d7a84a..ef6e13e3b2db59d3d3239f3f3b29b9844a17f96f 100644 (file)
@@ -216,7 +216,7 @@ DNSResourceRecord DNSResourceRecord::fromWire(const DNSRecord& d) {
   rr.qname = d.d_name;
   rr.qtype = QType(d.d_type);
   rr.ttl = d.d_ttl;
-  rr.content = d.d_content->getZoneRepresentation();
+  rr.content = d.d_content->getZoneRepresentation(true);
   rr.auth = false;
   rr.qclass = d.d_class;
   return rr;