What DNS settings are and why you might need to check them

DNS settings tell your device which server to contact when you type a web address into your browser. When something goes wrong — a website won't load, email stops working, or your internet feels slow — checking your DNS settings is often the first troubleshooting step. Your device might be using the wrong DNS server, or the server itself might be down.

Every device connected to the internet has DNS settings. Your computer, phone, or tablet gets these settings automatically from your internet provider in most cases, but you can also set them manually. Knowing how to find and read these settings means you can spot problems yourself instead of waiting for technical support to tell you what's wrong.

The steps differ depending on whether you use Windows, Mac, iPhone, Android, or a router. This guide covers the most common devices and shows you exactly where to look.

Key Takeaways

  • DNS settings live in your network or internet settings, not in your browser or email program.
  • Windows users find DNS settings in Network Settings under "Change adapter options," while Mac users go to System Settings and then Network.
  • Your device usually shows two DNS addresses (primary and secondary), and both should be filled in for your internet to work properly.
  • Common DNS servers include 8.8.8.8 and 8.8.4.4 (Google), 1.1.1.1 and 1.0.0.1 (Cloudflare), or numbers starting with your internet provider's prefix.

Checking DNS settings on Windows

Open the Start menu and type "Network settings" into the search box. Click the result that says "Network settings" — not "Network and Sharing Center," which is the older version. Once the window opens, scroll down on the left side until you see "Advanced network settings," then click it.

Look for a section called "More options" or scroll down to find "DNS servers." Click on "Edit" next to DNS servers. A small window will pop up showing your current DNS addresses. Write down both numbers exactly as they appear — these are the addresses your device uses to look up websites. If the window shows "Automatic" instead of numbers, your device is getting DNS settings from your internet provider, which is the normal setup.

If you see numbers but they look wrong (for example, all zeros or a number that starts with 169), your device may not have received proper settings from your router. Note what you see and compare it to your router's documentation or your internet provider's support page.

Checking DNS settings on Mac

Click the Apple menu in the top-left corner and select "System Settings." In the sidebar on the left, click "Network." You will see a list of connection types — click the one you are currently using, either "Wi-Fi" or "Ethernet" depending on how you connect.

Click the "Details" button, then look for a tab labeled "DNS." Click it. You will see a list of DNS servers, usually showing two addresses. If the list is empty or grayed out, your Mac is using automatic DNS from your router, which is normal. Write down any numbers you see exactly as they appear.

If you need to see more detail, click "Advanced" at the bottom of the window. This shows additional DNS settings and search domains, which are less commonly the source of problems but worth noting if you are troubleshooting a specific issue.

Checking DNS settings on iPhone and Android

On iPhone, open Settings and tap "Wi-Fi." Find the network you are connected to and tap the information icon (a small circle with an "i" inside). Scroll down to the section labeled "DNS" and you will see one or more addresses listed. If you see "Automatic" or the section is empty, your phone is using DNS from your router.

On Android, the process varies by phone model, but the general path is Settings, then Network or Connections, then Wi-Fi. Find your connected network, tap and hold it, then select "Manage" or "Modify." Look for "Advanced options" and expand it. DNS settings appear in this section, usually showing one or two addresses. Some Android phones show DNS only if you have set it manually; if you see nothing, your phone is using automatic settings from your router.

Phones rarely have DNS problems on their own, but checking these settings helps rule out your phone as the source of a network issue. If your phone shows different DNS addresses than your computer, that is usually not a problem — each device can use different DNS servers.

Checking DNS settings on your router

Your router is where DNS settings often originate. To check them, open a web browser and type your router's address into the address bar. Most routers use 192.168.1.1 or 192.168.0.1, but check your router's label or manual if neither works. You will be asked for a username and password — the default is often "admin" for both, but this varies by brand.

Once logged in, look for a section called "WAN," "Internet," "Network," or "DNS Settings." The exact name depends on your router brand. You will see one or two DNS addresses listed here. These are the addresses your router passes to all devices on your network unless those devices have been set to use different DNS manually.

If your router shows DNS addresses that start with numbers your internet provider did not give you, someone may have changed them intentionally — either to use a faster DNS service or because of a configuration mistake. Check your internet provider's support page to see what DNS addresses they recommend.

Understanding what the numbers mean

DNS addresses are always four groups of numbers separated by periods, like 8.8.8.8. Each group is between 0 and 255. Your internet provider usually assigns you two DNS addresses — a primary one (the first address your device tries) and a secondary one (the backup if the primary is down). Both should be filled in for your internet to work reliably.

Common DNS servers you might see include 8.8.8.8 and 8.8.4.4 (Google's public DNS), 1.1.1.1 and 1.0.0.1 (Cloudflare's public DNS), or addresses starting with your internet provider's number range. If you see addresses that match your provider's documentation, your settings are correct. If you see unfamiliar addresses and you did not set them yourself, note them and contact your internet provider to confirm they are legitimate.

If both DNS addresses are the same, or if one is blank, your internet may work but less reliably. A blank secondary DNS means your device has no backup if the primary server goes down.

What to do after you check your DNS settings

Write down exactly what you found — the DNS addresses, which device you checked, and the date. This information helps if you need to contact your internet provider or troubleshoot later. If you found DNS addresses that look wrong or unfamiliar, take a screenshot before making any changes.

If your DNS settings show automatic or match your internet provider's documentation, your DNS is probably not the source of your problem. If the settings look incorrect or blank, you can reset them to automatic (which tells your device to get DNS from your router) or contact your internet provider for the correct addresses to enter manually.

Checking DNS settings is a diagnostic step, not a fix in itself. The information you gather helps you understand whether DNS is involved in whatever problem you are experiencing, and it gives you concrete details to share with support if you need help.

Frequently Asked Questions

What if I see different DNS addresses on different devices?

This is normal. Each device can use different DNS servers. If one device has internet problems and others do not, the problem is likely with that device's settings or connection, not with DNS itself. If all devices lose internet at the same time, the problem is usually your router or internet provider.

Can I change my DNS settings myself?

Yes, but only change them if you have a specific reason — for example, if your internet provider told you to use different addresses, or if you want to try a public DNS service to troubleshoot a problem. Most people should leave DNS on automatic. If you change it and your internet stops working, you can always change it back to automatic.

What does "automatic DNS" mean?

Automatic DNS means your device asks your router for DNS addresses instead of using fixed numbers you entered yourself. Your router then uses the DNS addresses your internet provider gave it. This is the standard setup and works for most people.

Why would I see 169.254 as a DNS address?

An address starting with 169.254 means your device did not receive proper DNS settings from your router. This usually happens when your router lost its connection to your internet provider or when there is a configuration problem. Restart your router and check again. If the problem persists, contact your internet provider.

Is it safe to use Google or Cloudflare DNS instead of my provider's DNS?

Yes, public DNS services like Google (8.8.8.8) and Cloudflare (1.1.1.1) are safe and often faster than provider DNS. However, change to them only if you have a specific reason. If you do change them and experience problems, change back to automatic or your provider's addresses.