curl-curl/tests/data/test2104
Stefan Eissing a28540787c
asyn-ares: connect async
Make separate queries for A and AAAA records. Hand out A/AAAA/HTTPS
information before all queries are complete.

Closes #21205
2026-04-09 09:32:12 +02:00

48 lines
796 B
XML

<?xml version="1.0" encoding="US-ASCII"?>
<testcase>
<info>
<keywords>
DNS cache
</keywords>
</info>
# Server-side
<reply>
<dns>
</dns>
</reply>
# Client-side
<client>
<server>
dns
</server>
<features>
override-dns
</features>
<name>
Get three URLs with bad hostname - cache
</name>
<setenv>
CURL_DNS_SERVER=127.0.0.1:%DNSPORT
</setenv>
<command>
http://examplehost.invalid/%TESTNUMBER http://examplehost.invalid/%TESTNUMBER http://examplehost.invalid/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
# curl: (6) Could not resolve host: examplehost.invalid
<errorcode>
6
</errorcode>
# Ignore HTTPS requests here
<dns host="examplehost.invalid QTYPE A">
QNAME examplehost.invalid QTYPE A
QNAME examplehost.invalid QTYPE AAAA
</dns>
</verify>
</testcase>