Contents
7 sections · 7 min read
Network settings screen showing DNS server fields being changed to 1.1.1.1
Domain Management

How to Change DNS Server on Windows, Mac, Android, and Router

A
Domain 360 Team
·July 7, 2026·7 min read

By default, your device uses DNS servers provided by your ISP — usually set automatically when you connect. ISP DNS is functional but often slower, less private, and less reliable than public alternatives. Switching takes two minutes and the change takes effect immediately.

The two most popular alternatives are Cloudflare (1.1.1.1) and Google (8.8.8.8). For security-focused users, Quad9 (9.9.9.9) adds automatic blocking of malware and phishing domains.

Windows 11

  • Preferred DNS: 1.1.1.1
  • Alternate DNS: 1.0.0.1

Click Save. The change applies immediately.

Windows 10

Control Panel, Network and Sharing Center, Change adapter settings. Right-click your active connection, Properties. Select Internet Protocol Version 4 (TCP/IPv4), click Properties. Choose Use the following DNS server addresses. Enter 1.1.1.1 and 1.0.0.1. Click OK through all dialogs.

macOS

System Settings (or System Preferences on older macOS), Network. Click your active connection, then Details. Click the DNS tab. Click the + button and add 1.1.1.1, then add 1.0.0.1. Move them above any existing entries using the - button to remove old ISP values if desired. Click OK, then Apply.

Settings, Network and internet, Private DNS, Private DNS provider hostname. Enter: one.one.one.one for Cloudflare or dns.google for Google. Save.

This uses encrypted DNS over TLS — better privacy than the plain-text DNS that the IP address method uses. Our guide on Private DNS and DNS over HTTPS explains the difference.

iPhone and iPad

Settings, Wi-Fi, tap the i icon next to your connected network, Configure DNS, Manual. Delete the existing entries and add 1.1.1.1 and 1.0.0.1. Save.

Note: this changes DNS only for the current Wi-Fi network. You would need to repeat for each network, or use a DNS configuration profile for system-wide encrypted DNS.

Router (Covers All Devices on Your Network)

Changing DNS on the router is the most efficient approach — every device automatically uses the new DNS without individual configuration.

Open a browser and navigate to your router admin page — typically 192.168.1.1 or 192.168.0.1 (check the label on your router if unsure). Log in with your admin credentials.

Find the DNS settings — usually under WAN settings, Internet settings, or Advanced settings depending on your router brand. Look for Primary DNS and Secondary DNS fields. Enter 1.1.1.1 and 1.0.0.1. Save and apply.

Restart the router. All connected devices now use Cloudflare DNS automatically.

After Changing DNS

Flush your DNS cache to ensure the device immediately uses the new server for all lookups rather than old cached results. Windows: ipconfig /flushdns. Mac: sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder.

Test the change by visiting a website you have not visited recently — first visits require a fresh DNS lookup and confirm the new server is working. If everything loads normally, the change is successful.

Never lose a domain again

Track every domain you own in one dashboard. Free for up to 15 domains.