DNS over TLS
By default, DNS is sent over a plaintext connection. DNS over TLS (DoT) is a standard for encrypting DNS queries to keep them secure and private. DoT uses the same security protocol, TLS, that HTTPS websites use to encrypt and authenticate communications.
Obtain your DoT hostname
Each Gateway location has a unique DoT hostname. Locations and corresponding DoT hostnames have policies associated with them.
Navigate to the Locations page to visualize your location.
If you have more than one location set up, you will see a list of all your locations.
Expand the location card for the location whose DoT hostname you'd like to retrieve.
Get the DoT hostname for the location.
In the example below, the DoT hostname is:
Take note of the DoT hostname.
Configure your DoT client
Depending on your operating system, you can choose from a variety of standalone DoT clients. Alternatively, stub resolvers (e.g. BIND) support DoT natively.
To configure your DoT client, use the following IP address and hostname:
Hostname: DoT hostname for a chosen location (above this is 9y65g5srsm.cloudflare-gateway.com)IP address: 126.96.36.199
Supported TLS versions
Cloudflare's DNS over TLS supports TLS 1.3 and TLS 1.2.