tested new DNS with internal server, make more robust against caching; works nicely now
[pingcheck] / src / dns / dnsresolver.h
index 5caf9c7..0918fd0 100644 (file)
@@ -63,7 +63,7 @@ private:
 public:
     HostAddress get_next_ip(const bool check_up_to_date=true);
     bool have_up_to_date_ip();
-    int get_resolved_ip_count();
+    int get_resolved_ip_count(const bool check_up_to_date=true);
     void cancel_resolve();
     bool is_resolving() const;
     bool is_waiting_to_resolve() const;
@@ -109,7 +109,7 @@ private:
     boost::uuids::random_generator RandomIdGenerator;
     uint16_t RequestId;
     bool OperationCancelled;
-    bool LongermTimerIsActive;
+    bool LongtermTimerIsActive;
 };
 
 #endif