created and passed first unit tests for DNS; finished recovery from PingScheduler...
[pingcheck] / src / dns / dnsmaster.h
index 27470a9..1976ba5 100644 (file)
@@ -102,6 +102,11 @@ public:
                             const int resolved_ip_ttl_threshold,
                             const int max_address_resolution_attempts,
                             const std::string &cache_file);
+    static void create_master(const IoServiceItem &io_serv,
+                            const boost::asio::ip::address &default_name_server,
+                            const int resolved_ip_ttl_threshold,
+                            const int max_address_resolution_attempts,
+                            const DnsCacheItem &cache);  // needed for unit test
     static DnsMasterItem& get_instance();
     ~DnsMaster();