From: Peter van Dijk Date: Thu, 30 Nov 2017 18:20:41 +0000 (+0100) Subject: forbid label compression in ALIAS wire format X-Git-Tag: rec-4.1.0~9^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=85c6d90e8776d08c7edfb916c272d5a7c0b04d2c;p=thirdparty%2Fpdns.git forbid label compression in ALIAS wire format fixes #6028 --- diff --git a/pdns/dnsrecords.cc b/pdns/dnsrecords.cc index 3b3d569c15..418cead8df 100644 --- a/pdns/dnsrecords.cc +++ b/pdns/dnsrecords.cc @@ -136,7 +136,7 @@ boilerplate_conv(AAAA, QType::AAAA, conv.xfrIP6(d_ip6); ); boilerplate_conv(NS, QType::NS, conv.xfrName(d_content, true)); boilerplate_conv(PTR, QType::PTR, conv.xfrName(d_content, true)); boilerplate_conv(CNAME, QType::CNAME, conv.xfrName(d_content, true)); -boilerplate_conv(ALIAS, QType::ALIAS, conv.xfrName(d_content, true)); +boilerplate_conv(ALIAS, QType::ALIAS, conv.xfrName(d_content, false)); boilerplate_conv(DNAME, QType::DNAME, conv.xfrName(d_content)); boilerplate_conv(MR, QType::MR, conv.xfrName(d_alias, true)); boilerplate_conv(MINFO, QType::MINFO, conv.xfrName(d_rmailbx, true); conv.xfrName(d_emailbx, true));