]> granicus.if.org Git - pdns/commitdiff
Use . for root
authorAki Tuomi <cmouse@cmouse.fi>
Sat, 7 Nov 2015 16:12:55 +0000 (18:12 +0200)
committerAki Tuomi <cmouse@cmouse.fi>
Sat, 7 Nov 2015 16:12:55 +0000 (18:12 +0200)
pdns/pdns_recursor.cc

index 65a2adf6501cc27ac99ed6a031afc90478b61598..31354cff301f1a1a2dfe65a8bbd8d91f4a5ddc42 100644 (file)
@@ -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)
        {