git://developer.intra2net.com
/
pingcheck
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
6f7a2bc
)
tmp: Make DNS tests work in local net
port-to-64bit-and-new-boost-WIP
author
Thomas Jarosch
<thomas.jarosch@intra2net.com>
Sat, 27 Dec 2025 17:32:37 +0000 (18:32 +0100)
committer
Thomas Jarosch
<thomas.jarosch@intra2net.com>
Sat, 27 Dec 2025 19:24:27 +0000 (20:24 +0100)
test/test_dns.cpp
patch
|
blob
|
blame
|
history
diff --git
a/test/test_dns.cpp
b/test/test_dns.cpp
index
20802f3
..
612a164
100644
(file)
--- 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;