From: Thomas Jarosch Date: Sat, 27 Dec 2025 17:32:37 +0000 (+0100) Subject: tmp: Make DNS tests work in local net X-Git-Url: http://developer.intra2net.com/git/?a=commitdiff_plain;h=refs%2Fheads%2Fport-to-64bit-and-new-boost-WIP;p=pingcheck tmp: Make DNS tests work in local net --- diff --git a/test/test_dns.cpp b/test/test_dns.cpp index 20802f3..612a164 100644 --- a/test/test_dns.cpp +++ b/test/test_dns.cpp @@ -42,7 +42,7 @@ on this file might be covered by the GNU General Public License. using boost::asio::ip::address; // constants for master -address name_server = address::from_string("127.0.0.1"); +address name_server = address::from_string("192.168.XXX.XXX"); const int resolved_ip_ttl_threshold = 5; // this should be greater than... const uint32_t min_time_between_resolves = 3; // ... this! const int max_address_resolution_attempts = 2;