Jump to content

This is the support site for Andrews & Arnold Ltd, a UK Internet provider. Information on these pages is generally for our customers but may be useful to others, enjoy!

DoH and DoT: Difference between revisions

Content deleted Content added
AA-Andrew (talk | contribs)
mNo edit summary
AA-Andrew (talk | contribs)
Line 52: Line 52:
==Using DOH with curl==
==Using DOH with curl==


Note: curl version 7.62.0 or above is required, here's an example:
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 but would have used the DOH server to resolve the DNS.
This will download the www.aa.net.uk webpage and would have used the DOH server to resolve the DNS.