What changing your DNS address does and why you might want to
Your DNS address is the server your device contacts to translate website names (like google.com) into the numbers computers actually use. By default, your internet provider assigns this for you. Changing it means you pick a different company to do that translation work instead.
People change DNS for a few practical reasons: to use a service that blocks malware and adult content (like Cloudflare's 1.1.1.1 for Families), to speed up web browsing if your provider's DNS is slow, or to use a privacy-focused service that doesn't log which websites you visit. The change is reversible — you can switch back anytime.
The steps differ depending on whether you're changing DNS on your whole network (through your router) or on a single device. Changing it on your router affects every device connected to that network. Changing it on one device affects only that device.
Key Takeaways
- You can change DNS through your router (affecting all devices on your network) or on individual devices like your computer or phone.
- Common alternative DNS services include Cloudflare (1.1.1.1), Google (8.8.8.8), and Quad9 (9.9.9.9), each with different features around privacy and content filtering.
- On Windows, you change DNS in Settings under Network & Internet, then Advanced Network Settings; on Mac, it's in System Settings under Network.
- On iPhone, DNS changes happen per Wi-Fi network in Settings under Wi-Fi; on Android, you typically need to change it through your router or use a VPN app since Android doesn't expose DNS settings directly.
- After changing DNS, you may need to restart your device or clear your browser cache before the change takes full effect.
Changing DNS on Windows 10 and 11
Open Settings and go to Network & Internet. On the left sidebar, select Wi-Fi (if you're on wireless) or Ethernet (if you're wired). Click the network you're currently connected to, then scroll down and select Edit next to DNS server assignment.
Change the dropdown from Automatic (DHCP) to Manual. Toggle on IPv4 and enter your new DNS addresses. Most services provide two addresses — a primary and a secondary. For example, Cloudflare's addresses are 1.1.1.1 (primary) and 1.0.0.1 (secondary). Enter both, then click Save.
If you're using a wired connection and don't see an Edit option, go back to Network & Internet, select Advanced network settings, then More network options, then Change adapter options. Right-click your connection, select Properties, find Internet Protocol Version 4 (TCP/IPv4), click Properties, and manually enter the DNS addresses there.
Changing DNS on Mac
Open System Settings and go to Network. Select your active connection (Wi-Fi or Ethernet) from the list on the left. Click Details, then select the DNS tab.
Click the + button at the bottom of the DNS Servers list and type in your new DNS address. Add both the primary and secondary addresses if the service provides them. Click OK when done. The change takes effect immediately on most networks.
Changing DNS on iPhone
DNS changes on iPhone happen per Wi-Fi network, not globally. Go to Settings, tap Wi-Fi, and find the network you're connected to. Tap the info icon (the small circle with an "i") next to the network name.
Scroll down to DNS and tap Edit. Remove the existing DNS server by tapping the minus sign, then tap Add Server and enter your new DNS address. Add both primary and secondary if available. Tap Save when finished. This setting only applies to that specific Wi-Fi network.
Changing DNS on Android
Android doesn't expose DNS settings in the same way as other devices. Your best options are to change DNS through your router (which affects all devices on that network) or to use a VPN app that lets you choose a DNS service.
If you want to change DNS for a specific Wi-Fi network on Android, some phones allow it through Settings > Wi-Fi > long-press the network > Modify > Advanced options > DHCP to Static, but this varies by manufacturer and Android version. A VPN app like Cloudflare's WARP or Quad9's app is more reliable and works across all networks.
Changing DNS on your router
Changing DNS at the router level affects every device connected to that network. Log into your router's admin panel by typing your router's IP address (usually 192.168.1.1 or 192.168.0.1) into a browser. You'll need your router's admin username and password — check the label on the back of the router if you haven't changed these.
Look for a section called DNS Settings, WAN Settings, or Internet Settings (the exact name varies by router brand). Enter your new DNS addresses in the primary and secondary fields. Save and apply the changes. Your router will restart, and all connected devices will use the new DNS.
Common DNS services and what they offer
| Service | Primary Address | Secondary Address | Main Feature |
|---|---|---|---|
| Cloudflare | 1.1.1.1 | 1.0.0.1 | Privacy-focused; doesn't log queries |
| Cloudflare for Families | 1.1.1.2 | 1.0.0.2 | Blocks malware and adult content |
| Google Public DNS | 8.8.8.8 | 8.8.4.4 | Fast, widely used; Google logs queries |
| Quad9 | 9.9.9.9 | 149.112.112.112 | Blocks malware; privacy-focused |
| OpenDNS | 208.67.222.222 | 208.67.220.220 | Customizable filtering; some features paid |
Troubleshooting after you change DNS
If websites still aren't loading after you change DNS, restart your device. Your computer or phone may be holding onto the old DNS information in its cache. On Windows, you can flush the DNS cache by opening Command Prompt as administrator and typing ipconfig /flushdns, then pressing Enter. On Mac, open Terminal and type sudo dscacheutil -flushcache.
If you're still having trouble, check that you entered the DNS addresses correctly — even a single digit wrong will cause problems. You can test your DNS by visiting a site like whatsmydns.net and entering a domain name; it will show you which DNS server is answering. If the results show your old DNS provider, the change hasn't taken effect yet. Wait a few minutes and try again, or restart your router.
If you want to revert to your original DNS, follow the same steps but select Automatic on Windows or remove the manual entries on Mac and iPhone. Your device will go back to using your internet provider's DNS.
Frequently Asked Questions
Will changing DNS make my internet faster?
It might, but not always. If your internet provider's DNS server is slow or overloaded, switching to a faster service like Cloudflare or Google can improve page load times. However, the difference is usually small — a few hundred milliseconds at most. If your internet feels slow overall, the problem is usually your connection speed, not your DNS.
Does changing DNS affect my security?
It can help. Services like Quad9 and Cloudflare for Families block known malware sites at the DNS level, so your device never connects to them in the first place. However, DNS filtering is just one layer — it doesn't replace antivirus software or safe browsing habits. Your internet provider can still see which websites you visit unless you also use a VPN.
Can I use different DNS addresses on different devices?
Yes. You can change DNS on individual devices without affecting others on your network. If you change DNS on your router, all devices use the same addresses unless you override it on a specific device. This is useful if you want content filtering on your kids' devices but not on your own.
What happens if I enter a DNS address wrong?
Websites won't load, and you'll see an error like "This site can't be reached." Double-check the address you entered — DNS addresses are strings of numbers separated by periods, and even one digit wrong breaks it. If you're stuck, revert to automatic DNS and try again.
Do I need to change DNS on my phone if I change it on my router?
No. If you change DNS on your router, every device connected to that Wi-Fi network automatically uses the new DNS. You only need to change DNS on individual devices if you want different settings on that device than on the rest of your network.