DoH and DoT: Difference between revisions
Appearance
Content deleted Content added
mNo edit summary |
|||
| Line 52: | Line 52: | ||
==Using DOH with curl== |
==Using DOH with curl== |
||
Curl version 7.62.0 and above support using DoH for its DNS lookups. Here's an example: |
|||
curl --doh-url https://dns.aa.net.uk/dns-query https://www.aa.net.uk |
curl --doh-url https://dns.aa.net.uk/dns-query https://www.aa.net.uk |
||
This will download the www.aa.net.uk webpage |
This will download the www.aa.net.uk webpage and would have used the DOH server to resolve the DNS. |
||