DoH query encoding

Why GET requests use base64url

A DNS query is binary. To put it in a URL for a GET request, RFC 8484 says to encode it with base64url and send it as the dns parameter.

This proxy also accepts padded or standard-alphabet input on GET and normalises it before forwarding.

Encoding helpers

← Back