added clean-up to DnsCache: will remove very old entries after 60 days
[pingcheck] / src / dns / dnscache.h
index b7862a9..83292bc 100644 (file)
@@ -97,6 +97,7 @@ private:
                                 const DnsIpProtocol &protocol) const;
     cname_map_key_type key_for_cname(const std::string &hostname) const;
     bool check_timestamps(const boost::posix_time::ptime &cache_save_time);
+    void remove_old_entries();
 
 };