From ad2ad9017abf4eb2a74d4898f0710eddf02885c8 Mon Sep 17 00:00:00 2001 From: bert hubert Date: Tue, 1 Dec 2015 17:39:20 +0100 Subject: [PATCH] default zone for zoneparser should be the root, not the "empty DNSName" --- pdns/zoneparser-tng.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); -- 2.47.3