From 06452a6758eb832a9815027dd53f5b800deee81d Mon Sep 17 00:00:00 2001 From: Aki Tuomi Date: Sat, 7 Nov 2015 15:04:50 +0200 Subject: [PATCH] Do not strip dot in BindParser --- pdns/bindparser.yy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pdns/bindparser.yy b/pdns/bindparser.yy index c3a6afd39..d83190313 100644 --- a/pdns/bindparser.yy +++ b/pdns/bindparser.yy @@ -125,7 +125,7 @@ command: global_zone_command: ZONETOK quotedname zone_block { - s_di.name=DNSName(stripDot($2)); + s_di.name=DNSName($2); free($2); parent->commit(s_di); s_di.clear(); @@ -133,7 +133,7 @@ global_zone_command: | ZONETOK quotedname AWORD zone_block { - s_di.name=DNSName(stripDot($2)); + s_di.name=DNSName($2); free($2); parent->commit(s_di); s_di.clear(); -- 2.40.0