ladybird/Tests/LibDNS
sideshowbarker 6757971d59 Tests/LibDNS: Make TestDNSResolver independent of live DNS
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.
2026-06-17 18:27:33 +02:00
..
CMakeLists.txt Tests/LibDNS: Make TestDNSResolver independent of live DNS 2026-06-17 18:27:33 +02:00
TestDNSMessage.cpp LibDNS: Reject domain name labels longer than 63 octets 2026-06-04 17:41:09 +02:00
TestDNSResolver.cpp Tests/LibDNS: Make TestDNSResolver independent of live DNS 2026-06-17 18:27:33 +02:00