How to Use Public DNS: Setup on Every Platform
Using public DNS requires no software: set the primary and secondary addresses on your device or router. Below are the steps per platform, followed by verification.
Before You Start
- Write down your current DNS in case you need to revert.
- Pick a pair: a primary and a backup, for example 223.5.5.5 and 223.6.6.6.
- Change it on the router to cover every device at once.
Windows 10 / 11
- Settings > Network & Internet > Ethernet (or Wi-Fi) > Edit IP assignment > Manual > enable IPv4.
- Enter the primary and alternate DNS, then save.
- Alternatively use Control Panel > Network Connections > adapter properties > Internet Protocol Version 4.
macOS
- System Settings > Network > current connection > Details > DNS.
- Add the primary and secondary addresses and confirm.
- From the terminal: networksetup -setdnsservers Wi-Fi 223.5.5.5 223.6.6.6
iPhone / iPad
- Settings > Wi-Fi > info button next to the network > Configure DNS > Manual.
- Add the server address, remove the old entry, then save.
Android
- Settings > Network & internet > current Wi-Fi > Modify network > Advanced > IP settings: Static.
- Fill DNS 1 and DNS 2, then save.
- On Android 9 and later you can also use Private DNS for encrypted resolution.
Router (Recommended)
- Sign in to the router admin page, usually 192.168.1.1 or 192.168.0.1.
- Find the DNS fields under DHCP or WAN settings.
- Save the addresses and reboot so clients pick up the new settings.
Verify the Change
On Windows run nslookup example.com and check the Server line. On macOS or Linux use dig, or scutil --dns. You can also open the DNS lookup tool on this site.