From: Pieter Lexis Date: Thu, 10 Nov 2016 12:56:58 +0000 (+0100) Subject: On (re-)priming, fetch the root NS records X-Git-Tag: dnsdist-1.1.0-beta2~50^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F4672%2Fhead;p=thirdparty%2Fpdns.git On (re-)priming, fetch the root NS records --- diff --git a/pdns/pdns_recursor.cc b/pdns/pdns_recursor.cc index 4435bab3f9..9ce09f8fe9 100644 --- a/pdns/pdns_recursor.cc +++ b/pdns/pdns_recursor.cc @@ -1950,35 +1950,9 @@ static void houseKeeping(void *) } if(now.tv_sec - last_rootupdate > 7200) { - SyncRes sr(now); - sr.setDoEDNS0(true); - vector ret; - - sr.setNoCache(); - int res=-1; - try { - res=sr.beginResolve(g_rootdnsname, QType(QType::NS), 1, ret); - } - catch(PDNSException& e) - { - L<