← Technical

DNS Explained: How Your Browser Finds Websites

Published April 8, 2026

When you type Facebook.com into your browser, your computer doesn't magically know where Facebook's servers are located. It needs help finding the right address, just like you need GPS to find a new restaurant. That's where DNS comes in.

DNS stands for Domain Name System. Think of it as the internet's phone book. Instead of remembering that Facebook's server is at 157.240.11.35, you just type Facebook.com. DNS translates that friendly name into the actual server address your computer needs.

How DNS Works Step by Step

Here's what happens when you visit a website:

  1. You type "google.com" in your browser
  2. Your computer asks your router "Where is google.com?"
  3. Your router asks your internet provider's DNS server
  4. The DNS server looks up google.com and finds the IP address
  5. Your router gets the answer and tells your computer
  6. Your browser connects to Google's server using that IP address

This whole process takes milliseconds. But if DNS isn't working properly, websites won't load at all.

Common DNS Problems You'll Face

DNS issues show up in several ways. Your browser might say "This site can't be reached" or "DNS probe finished no internet." Sometimes only certain websites won't load while others work fine.

The most common problems are:

  • Your router is using slow DNS servers
  • DNS cache is corrupted on your device
  • Your internet provider's DNS servers are down
  • Router's DNS settings got changed accidentally

If you can access websites by typing their IP address directly but not their domain name, it's definitely a DNS problem. Try typing 8.8.8.8 in your browser. If Google loads, your DNS is broken.

Checking Your Current DNS Settings

First, let's see what DNS servers you're currently using. On Windows, open Command Prompt and type:

nslookup google.com

You'll see something like "Server: 192.168.1.1" which is your router, and then the actual DNS server your router is using.

On your phone, go to Settings → Wi-Fi → tap your network name → Advanced. Look for DNS settings to see what your device is using.

Changing DNS Settings on Your Router

The best place to change DNS is on your router, so all devices on your network use better servers automatically.

Netgear Routers

  1. Open your browser and go to 192.168.1.1
  2. Log in with your admin username and password
  3. Click "Advanced" → "Setup" → "Internet Setup"
  4. Look for "DNS Servers" or "Domain Name Server"
  5. Change from "Get Dynamically" to "Use These DNS Servers"
  6. Enter 8.8.8.8 as primary and 8.8.4.4 as secondary
  7. Click "Apply" and restart your router

TP-Link Routers

  1. Go to 192.168.0.1 in your browser
  2. Log in with your credentials
  3. Click "Advanced" → "Network" → "Internet"
  4. Find "Primary DNS" and "Secondary DNS"
  5. Enter 1.1.1.1 and 1.0.0.1 for Cloudflare DNS
  6. Save the settings and reboot

Asus Routers

  1. Access your router at 192.168.1.1
  2. Go to "Adaptive QoS" → "WAN"
  3. Set "Connect to DNS Server automatically" to "No"
  4. Enter your preferred DNS servers
  5. Apply settings

If you can't access your router's settings, check our router login guide for help.

Best DNS Servers to Use

Your internet provider's DNS servers might be slow or unreliable. Here are better alternatives:

Google DNS

  • Primary: 8.8.8.8
  • Secondary: 8.8.4.4
  • Fast and reliable worldwide
  • Good for general use

Cloudflare DNS

  • Primary: 1.1.1.1
  • Secondary: 1.0.0.1
  • Fastest response times
  • Privacy-focused

OpenDNS

  • Primary: 208.67.222.222
  • Secondary: 208.67.220.220
  • Blocks malware and phishing sites
  • Family-friendly filtering options

Test different DNS servers to see which works best in your area. In the Philippines, many users find Google DNS most reliable. In India, Cloudflare often performs better.

Fixing DNS Problems on Individual Devices

Sometimes you need to fix DNS on just one computer or phone without changing router settings.

Windows 10/11

  1. Right-click the network icon in your taskbar
  2. Select "Open Network & Internet settings"
  3. Click "Change adapter options"
  4. Right-click your Wi-Fi connection
  5. Choose "Properties"
  6. Select "Internet Protocol Version 4 (TCP/IPv4)"
  7. Click "Properties"
  8. Choose "Use the following DNS server addresses"
  9. Enter 8.8.8.8 and 8.8.4.4
  10. Click OK

iPhone/iPad

  1. Go to Settings → Wi-Fi
  2. Tap the (i) next to your network name
  3. Tap "Configure DNS"
  4. Select "Manual"
  5. Remove existing servers
  6. Add 1.1.1.1 and 1.0.0.1
  7. Save settings

Android

  1. Go to Settings → Wi-Fi
  2. Long-press your network name
  3. Select "Modify network"
  4. Tap "Advanced options"
  5. Change IP settings to "Static"
  6. Enter DNS 1: 8.8.8.8 and DNS 2: 8.8.4.4
  7. Save changes

Clearing DNS Cache

Sometimes your computer remembers old DNS information. Clear the cache to fix loading problems:

On Windows, open Command Prompt as administrator and type:

ipconfig /flushdns

On Mac, open Terminal and enter:

sudo dscacheutil -flushcache

Restart your browser after clearing the cache.

Testing if DNS Changes Worked

After changing DNS settings, test if everything works:

  1. Restart your router and wait 2 minutes
  2. Open Command Prompt and type: nslookup facebook.com
  3. Check if the response comes from your new DNS server
  4. Visit a website you couldn't access before
  5. Use an online DNS speed test to compare performance

If websites still won't load, try a different DNS server or check if your internet connection has other issues.

When DNS Isn't the Problem

Not all website loading problems are DNS-related. If you can visit some sites but not others, and DNS changes don't help, you might have:

  • Firewall blocking certain websites
  • Parental controls enabled on your router
  • Internet provider blocking specific sites
  • Malware on your computer

Check your router's access restrictions and scan for viruses if DNS changes don't solve the problem.

Summary

DNS translates website names into IP addresses so your browser can find servers. When DNS breaks, websites won't load even if your internet connection works fine. Change your router's DNS settings to use faster, more reliable servers like Google DNS (8.8.8.8) or Cloudflare DNS (1.1.1.1). Clear your device's DNS cache if problems persist. Most DNS issues get fixed quickly once you know what to change.


Related Articles

Understanding IP Addresses: IPv4 vs IPv6

A deep dive into how IP addresses work and the differences between IPv4 and IPv6.

What is DNS and How Does It Work?

Learn how the Domain Name System translates website names into IP addresses.

How to Enable WPA3 Security on Your Router

WPA3 is the latest and most secure WiFi encryption standard. Here is how to enable it on your router.

IPv4 vs IPv6: What You Need to Know

Simple explanation of IPv4 vs IPv6 differences. Learn which one your router uses and how to enable IPv6 on Netgear, TP-Link, and other routers.


More from Other Topics

How to Reset Your Router to Factory Settings
Troubleshooting WiFi Connection Problems
How to Find Your Router's Default IP Address
How to Set Up Port Forwarding

Router Guides

Popular Router Resources

Popular Router Brands