Daniel Stenberg 02e9690c3e
tests/server/dnsd: basic DNS server for test suite
Currently the DNS server only responds to A and AAAA queries. It always
responds with a fixed response: the localhost address. Three times.

It should work fine over either IPv4 or IPv6, but I don't think it
matters much for curl testing.

The idea is to allow curl tests to use "normal" DNS hostnames (using the
normal name resolving code paths) and still use the local test servers.

This setup currently only works if curl is built with c-ares because
redirecting DNS requests to our test server when using getaddrinfo() is
not easy.

This should be extended to respond to HTTPS queries as well to allow
more testing there, as c-ares is always used for that.

Test 2102 is the first test using this.

Closes #17015
2025-04-17 09:13:24 +02:00
..
2024-02-27 09:47:21 +01:00
2024-07-19 17:03:25 +02:00
2024-07-19 17:03:25 +02:00
2024-07-19 17:03:25 +02:00
2024-07-19 17:03:25 +02:00
2024-07-19 17:03:25 +02:00
2024-07-19 17:03:25 +02:00
2024-07-19 17:03:25 +02:00
2024-08-04 19:17:45 +02:00
2024-07-19 17:03:25 +02:00
2024-07-19 17:03:25 +02:00
2024-07-19 17:03:25 +02:00
2024-07-19 17:03:25 +02:00
2024-07-19 17:03:25 +02:00
2024-07-19 17:03:25 +02:00
2024-07-19 17:03:25 +02:00
2024-07-19 17:03:25 +02:00
2024-07-19 17:03:25 +02:00
2024-07-19 17:03:25 +02:00
2024-07-19 17:03:25 +02:00
2024-07-19 17:03:25 +02:00
2024-07-19 17:03:25 +02:00
2024-07-19 17:03:25 +02:00
2024-07-19 17:03:25 +02:00
2024-07-30 21:27:12 +02:00
2024-03-01 09:59:48 +01:00
2025-01-27 20:59:46 +01:00
2023-09-07 22:52:07 +02:00