Problem: TestDNSResolver resolved google.com against 1.1.1.1 over the real network. Whenever a CI runner couldn’t reach external DNS, the lookup returned no records, and the test failed. Fix: Stand up a local UDP and TCP server on 127.0.0.1 that answers the query with a canned A and AAAA record, and point the resolver at it. |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| TestDNSMessage.cpp | ||
| TestDNSResolver.cpp | ||