Created
January 14, 2022 02:47
-
-
Save thiagoeh/7bd7bf25e7ea19b0dbeb14d64a7ffc0c to your computer and use it in GitHub Desktop.
DNS over HTTP (DoH) using Curl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl --http2 -H 'accept: application/dns-json' "https://1.1.1.1/dns-query?name=cloudflare.com" --next --http2 -H 'accept: application/dns-json' "https://1.1.1.1/dns-query?name=example.com"|jq . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment