From: bert hubert Date: Tue, 1 Dec 2015 16:39:20 +0000 (+0100) Subject: default zone for zoneparser should be the root, not the "empty DNSName" X-Git-Tag: dnsdist-1.0.0-alpha1~155 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad2ad9017abf4eb2a74d4898f0710eddf02885c8;p=thirdparty%2Fpdns.git default zone for zoneparser should be the root, not the "empty DNSName" --- diff --git a/pdns/zoneparser-tng.hh b/pdns/zoneparser-tng.hh index 0631516765..2993c9fd30 100644 --- a/pdns/zoneparser-tng.hh +++ b/pdns/zoneparser-tng.hh @@ -1,6 +1,6 @@ /* PowerDNS Versatile Database Driven Nameserver - Copyright (C) 2005 - 2007 PowerDNS.COM BV + Copyright (C) 2005 - 2015 PowerDNS.COM BV This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 @@ -32,7 +32,7 @@ class ZoneParserTNG { public: - ZoneParserTNG(const string& fname, const DNSName& zname=DNSName(), const string& reldir=""); + ZoneParserTNG(const string& fname, const DNSName& zname=DNSName("."), const string& reldir=""); ZoneParserTNG(const vector zonedata, const DNSName& zname); ~ZoneParserTNG();