From 85c6d90e8776d08c7edfb916c272d5a7c0b04d2c Mon Sep 17 00:00:00 2001 From: Peter van Dijk Date: Thu, 30 Nov 2017 19:20:41 +0100 Subject: [PATCH] forbid label compression in ALIAS wire format fixes #6028 --- pdns/dnsrecords.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdns/dnsrecords.cc b/pdns/dnsrecords.cc index 3b3d569c1..418cead8d 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)); -- 2.40.0