From 6ed9a6116a8a45b21df0d90d5f2229f2f0d7c2e6 Mon Sep 17 00:00:00 2001 From: Aki Tuomi Date: Sat, 7 Nov 2015 18:12:55 +0200 Subject: [PATCH] Use . for root --- pdns/pdns_recursor.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.40.0