From c20202cc54227195b72735bc24e2d7e66afd3318 Mon Sep 17 00:00:00 2001 From: bert hubert Date: Thu, 19 Apr 2018 12:37:58 +0200 Subject: [PATCH] f-root is sometimes slow, try k --- tdns/contents.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tdns/contents.cc b/tdns/contents.cc index d2ec32e..a092ae3 100644 --- a/tdns/contents.cc +++ b/tdns/contents.cc @@ -11,7 +11,7 @@ using namespace std; //! Called by tdns.cc main() to load user content void loadZones(DNSNode& zones) { - auto addresses=resolveName("f.root-servers.net"); // this retrieves IPv4 and IPv6 + auto addresses=resolveName("k.root-servers.net"); // this retrieves IPv4 and IPv6 for(auto& a: addresses) { try { a.sin4.sin_port = htons(53); @@ -19,7 +19,7 @@ void loadZones(DNSNode& zones) break; } catch(std::exception& e) { - cout<<"Unable to retrieve root zone from f-root server "+a.toStringWithPort()<<": " << e.what() << endl; + cout<<"Unable to retrieve root zone from k-root server "+a.toStringWithPort()<<": " << e.what() << endl; } } /*