DNS-over-HTTPS (DoH) is enabled by default on most web browsers to encrypt all DNS lookups. In specific situations like managing network filters, disabling secure DNS might be necessary to ensure proper functionality.
Use the following instructions to disable secure DNS.
Google Chrome
Click the menu button in the top right corner (3 ellipses) and then select Settings.
Select Privacy and security in the left menu, and then select Security.
Under Advanced, toggle off Use Secure DNS.
Go back to Privacy and security, and then select Delete browsing data.
Clear all browsing history for All time and then click Delete data.
Clear your browser DNS cache.
In the address bar, type
chrome://net-internals/#dns
.Select DNS in the left menu.
Click Clear host cache.
Restart your browser.
Microsoft Edge
Click the menu button in the top right corner (3 ellipses) and then select Settings.
Select Privacy, search, and services in the left menu, and then scroll down to Security.
Toggle off Use secure DNS to specify how to lookup the network address for websites.
Scroll up to Delete browsing data, and then click Choose what to clear.
Clear all browsing history for All time and then click Clear now.
Restart your browser.
Mozilla Firefox
Click the menu button in the top right corner and then select Settings.
Select Privacy and security in the left menu, and then scroll down to Enable DNS over HTTPS.
Select Off.
Restart your browser.
Chromebook
Click the time in the bottom right corner, and then select Settings.
Select Privacy and security in the left menu.
Toggle off Use secure connections to look up sites.
Clear OS DNS Cache
Windows
Open a DOS command window by clicking Start, click Run, type
cmd
, and then press Enter.Run the following command:
ipconfig /flushdns
Mac
Go to Applications > Utilities, and then open the Terminal application.
Run the following command based on your Mac OS version:
Sequoia, Sonoma, Ventura, Monterey, Big Sur, Catalina:
sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder
Mojave, High Sierra, Sierra, El Capitan, Mavericks, Mountain Lion, Lion:
sudo killall -HUP mDNSResponder
Linux (Ubuntu)
Open the terminal by pressing Ctrl + Alt + T or searching for “Terminal” in the Activities menu.
Run the following command based on your Ubuntu version:
Ubuntu 20.04 LTS or older:
sudo systemd-resolve --flush-caches
Ubuntu 22.04 LTS:
sudo resolvectl flush-caches