Skip to main content

Encrypted DNS Setup (DoH/DoT)

This guide explains how to set up DNS-over-HTTPS (DoH) / DNS-over-TLS (DoT) links using the Encrypted DNS section of the SafeDNS Dashboard.


Creating DoH/DoT link

Please note that DoH/DoT links with the filtering policy token are available on Pro, Pro Plus, and Education & Non-Profit plans only.
Other plans can use the DoH/DoT link without the filtering policy (explained below).

1. Navigate to the SafeDNS Dashboard > Settings and create a new record in the Encrypted DNS table with a required filtering policy.

1-encrypted-dns-setup.png

2. Click Copy link.

Please note that this method works only when the device with the link is located in the network specified in the SafeDNS Dashboard.

1. Navigate to the SafeDNS Dashboard > Settings and copy your IP address in the "Enter an IP address or DynDNS" box. Click "Add".

2-encrypted-dns-setup.png

2. Use https://doh.safedns.com as a DoH/DoT link.


Operating systems
Windows 11

1. Open Start on Windows 11.
2. Search for Settings and click the top result to open the app.
3. Click on Network & internet.
4. Click the Ethernet or Wi-Fi tab (depending on the active connection).
    If you have a Wi-Fi connection, click on the connection properties setting to access the settings.
5. Click the Edit button in the "DNS server assignment" setting.
1-encrypted-dns-windows-setup.png
6. Select the Manual option from the drop-down menu.
7. Turn on the IPv4 toggle switch.
8. Under the Preferred DNS and Alternate DNS sections, enter the created DoH/DoT link.
2-encrypted-dns-windows-setup.png
9. Use the DNS over HTTPS drop-down menu and select the On (automatic template) option.
10. Turn off the Fallback to plaintext toggle.
11. Click Save.

Android Private DNS

1. Navigate to Settings > Network & internet. (on some devices - More connectivity options).
2. Select Advanced > Private DNS. (on some devices it is under Advanced or More options).
1-encrypted-dns-android-setup.png
3. Select the Private DNS provider hostname option.
2-encrypted-dns-android-setup.png
4. Add the DoH/DoT link and select Save.
3-encrypted-dns-android-setup.png


Browsers
Microsoft Edge

1. Open Settings.
2. Navigate to Privacy, search, and services.
3. Scroll down to Security.
4. Select Choose a service provider.
5. Add the DoH/DoT link.
1-encrypted-dns-edge-setup.png

Google Chrome

1. Open Settings.
2. Navigate to Privacy and security and click on the Security section.
3. Scroll down to Use secure DNS.
4. Choose Add custom DNS service provider from the dropdown menu.
5. Add the DoH/DoT link.
1-encrypted-dns-chrome-setup.png

Mozilla Firefox

1. Open Settings.
2. Select Privacy & Security and scroll down to the DNS over HTTPS section.
3. Select Max Protection.
4. Click the "Choose provider" dropdown menu and select Custom.
5. Add the DoH/DoT link.
1-encrypted-dns-firefox-setup.png


DNS-over-TLS

You can also set up DoT without creating the link in the Encrypted DNS section using this guide.