Whenever you visit a website, your computer performs a DNS lookup. Your computer is probably performing hundreds of lookups every single day. But if you're using your ISP-supplied DNS servers and they're slow or having issues, this can impact your web browsing experience for the worse.
💡 DNS, or the Domain Name System, translates human readable domain names (for example, www.amazon.com) to machine readable IP addresses. - AWS
For faster web surfing, to improve security and privacy, and to have more control over your browsing, you may want to use a custom DNS server.
Included in this article:
Before you start
- Check if you need administrator or root privileges to make changes to your network settings.
- Open the network settings on your device and write down the current server addresses or settings on a piece of paper. You'll be able to reference this if you ever need to revert the changes.
- 💡 For the most reliable DNS service, configure at least two DNS addresses. Do not specify the same address as both primary and secondary. - Google
To change your DNS server
Windows 11
Follow these steps to change your DNS server for Windows.
-
On your keyboard, press Windows+I to open your Settings.
-
Click Networks & internet > Advanced network settings.
-
Click the down tab next to your Wi-Fi connection.
-
Click View additional properties.
-
Next to DNS server assignment click Edit.
-
In the pop-up, switch from Automatic to Manual.
-
Toggle both IPv4 and IPv6 to On.
-
Enter the new DNS addresses for IPv4 and IPv6.
- Check out Google's Public DNS public addresses to use.
-
Click Save.
macOS
Follow these steps to change your DNS server for macOS.
-
From the Apple menu, click System Preferences > Network.
-
Select the Wi-Fi connection on the left panel, then click Advanced...
-
Click the DNS tab.
- Click the plus-sign next to IPv4 or IPv6 DNS addresses to add an address.
- Click the minus-sign to remove an address.
-
Click OK to make the change.
Android
Follow these steps to change your DNS server on Android.
- Go to Settings > Network & Internet > Advanced > Private DNS.
- Select Private DNS provider hostname.
- Enter the hostname of the new DNS provider.
- Tap Save.
iOS
Follow these steps to change your DNS server on iOS.
- Open the Settings app and tap Wi-Fi.
- Tap the ⓘ icon next to the Wi-Fi network.
- Swipe down and tap Configure DNS.
- Tap Manual to Add Server.