DNS over HTTPS lookup

Type a name and a record type. A QIP component encodes the question as an RFC 1035 DNS message, your browser sends it to a public resolver over RFC 8484 DNS over HTTPS (DoH), and a second component decodes the reply into the text layout that dig prints.

Network tool: When you press Look up, your browser sends the name, record type, and DNSSEC setting as a DNS query in the displayed request URL to the selected resolver, Cloudflare or Google. The resolver receives the query and the request's source IP address. Editing the form and using Decode a message do not send your input to a resolver.

Request URL

    Query message (0 bytes)
    

    Response message (0 bytes)
    

  
Decoded response

  

Decode a message #

Paste a DNS message as hex or as base64url, such as the dns parameter of a DoH GET URL. Nothing is sent.


How it works #

The same components work in a terminal:

printf 'cloudflare.com HTTPS' |
  qip run application/dns-message/dns-query-to-dns-message.wasm -u dnssec_ok=1 |
  curl -s --header 'content-type: application/dns-message' --data-binary @- https://cloudflare-dns.com/dns-query |
  qip run application/dns-message/dns-message-to-text.wasm

Cloudflare and Google each publish their own privacy policy for their public resolvers.