From: Aki Tuomi Date: Sat, 7 Nov 2015 16:12:55 +0000 (+0200) Subject: Use . for root X-Git-Tag: dnsdist-1.0.0-alpha1~239^2~5^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6ed9a6116a8a45b21df0d90d5f2229f2f0d7c2e6;p=pdns Use . for root --- diff --git a/pdns/pdns_recursor.cc b/pdns/pdns_recursor.cc index 65a2adf65..31354cff3 100644 --- a/pdns/pdns_recursor.cc +++ b/pdns/pdns_recursor.cc @@ -1471,7 +1471,7 @@ static void houseKeeping(void *) sr.setNoCache(); int res=-1; try { - res=sr.beginResolve(DNSName(), QType(QType::NS), 1, ret); + res=sr.beginResolve(DNSName("."), QType(QType::NS), 1, ret); } catch(PDNSException& e) {