DNS or Domain Name System is structured setup of servers which enables easy identifying of IP address of a website address entered in a browser. When you enter a site address, the browser will a send a request to server to resolve the domain name into an IP address to retrieve requested data. Browsers by default use the DNS servers provided by your local internet service provider (ISP) to retrieve the IP address faster. Hence, all your internet activities will be routed through the DNS servers offered by ISP. The issue is if your local ISP’s DNS have problems, then your browser will not be able to resolve the domain name and you will see a timeout error. Since it is not possible to frequently change ISP, the simple solution is to to change your DNS servers. This article explains the step by step instructions of how to change default DNS server IPs in iPhone with any other DNS servers.
Get Ready With Your DNS Server IPs
Before trying to change the setup in iPhone, make sure you have reliable DNS details. You should have a primary and a secondary (or alternative) IP addresses and add them in iPhone settings. There are many free DNS services available on the web like Cloudflare, OpenDNS, Google Public DNS, etc. For example, below are the DNS IPs for Google Public DNS.
- Primary – 184.108.40.206
- Alternative 220.127.116.11
Change DNS in iPhone
- Tap “Settings” icon on the home screen of your iPhone.
- Tap on “WLAN” option showing just below your Apple ID details.
- iPhone will show your currently connected Wi-Fi network name just below the “WLAN” toggle button. Tap on the network name or the information icon showing at the end to open the settings page for your Wi-Fi network.
- Scroll down to bottom of the page and check the “DNS” section. By default, “Automatic” option is assigned to “Configure DNS” setting and tap on it.
- On the next screen, you can find the automatically assigned DNS server IPs from your router or ISP under “DNS Servers” section. Select “Manual” option to override the automatic DNS setup.
- Now, you will see additional options are revealed and tap on “Add Server” option.
- Type your new primary DNS IP address (for example – 18.104.22.168). Again, tap on “Add Server” and add your secondary DNS IP address (for example – 22.214.171.124).
- For deleting existing automatic DNS IPs, tap on the red ⊖ icon against the IP address and select “Delete” option.
- Tap “Save” link showing on top right corner to change your DNS server IPs in iPhone.
Change to Default DNS Setup
Open a website that has problem with your default DNS. You can use Safari or any other browser for this as all browser apps will use the same iPhone DNS settings. Ideally, the site should load faster if the problem was related to DNS resolution. If the problem is not resolved, perhaps the site is completely blocked by your ISP and you should use VPN to unblock the access. In this case, you may want to change back the DNS to automatic setup.
- Go to iPhone’s DNS settings page and delete all DNS server IPs.
- Select “Automatic” option and save your changes.
- This will automatically assign your router/ISP DNS IP addresses as before.
Though changing DNS is an easier task in iPhone, remember the followings:
- Secondary or alternate IP is a fallback server which will be used when resolution through the primary server fails.
- Sometimes, changing to global DNS may result in slow response time for the local websites which are ideal to resolve through your ISP.
- If you are using multiple Wi-Fi networks on your iPhone, make sure to change DNS for all the networks.
- You can’t change the DNS IPs for cellular data connection.
- You can follow the same steps in iPadOS to change the DNS IPs in your iPad.