merged PingRotate into PingScheduler; fixed save/load of cache to/from file; started...
[pingcheck] / src / dns / dnsresolver.h
index 1e8ce1a..895f6b4 100644 (file)
@@ -52,10 +52,6 @@ public:
     friend ResolverItem& DnsMaster::get_resolver_for(
                                                  const std::string &hostname,
                                                  const DnsIpProtocol &protocol);
-    friend ResolverItem DnsMaster::get_recursor_for(
-                                   const std::string &hostname,
-                                   const DnsIpProtocol &protocol,
-                                   const boost::asio::ip::address &name_server);
 private:
     DnsResolver(IoServiceItem &io_serv,
                 const std::string &hostname,
@@ -65,7 +61,7 @@ private:
 
 // only real public function (called from pingers)
 public:
-    HostAddress get_next_ip();
+    HostAddress get_next_ip(const bool check_up_to_date=true);
     bool have_up_to_date_ip();
     int get_resolved_ip_count();
     void cancel_resolve();