From: Aki Tuomi Date: Sat, 7 Nov 2015 13:04:50 +0000 (+0200) Subject: Do not strip dot in BindParser X-Git-Tag: dnsdist-1.0.0-alpha1~239^2~5^2~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=06452a6758eb832a9815027dd53f5b800deee81d;p=pdns Do not strip dot in BindParser --- 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();