In today's digital world, the stability and speed of your internet connection often depend not only on your provider's plan but also on your equipment settings. One of the key parameters affecting website response speed is the DNS server address. Many users are unaware that the default settings provided by their provider may not be the fastest or most secure. Understanding where to find this information and how to manage it opens the door to more detailed home network configurations.
When you connect to Wi-Fi, your device receives an IP address and DNS server addresses automatically. However, there are times when you need to manually check these values or replace them with faster public servers, such as those from Google or Cloudflare. This may be necessary to bypass blocking, speed up page loading, or resolve access issues with certain resources. In this article, we'll cover how to find the current DNS settings on your Wi-Fi network and how to change them if necessary.
What is DNS and why should I change it on a WiFi network?
Domain Name System, or DNS (Domain Name System), works like an internet phone book. When you enter a website address, for example, google.comYour computer doesn't understand alphabetic characters. It needs numerical IP addresses to find the server where the website is stored. DNS is what converts a human-readable name into machine code. If this process is slow or the server is unresponsive, the website simply won't load, even if the internet connection is working properly.
Providers often provide their own DNS servers, which can be overloaded or limited. Replacing them with public alternatives can significantly speed up network response times. Furthermore, using third-party DNS services can improve the level of security, blocking access to phishing sites and malicious resources at the router level. This is especially important for devices where antivirus software cannot be installed, such as smart TVs or CCTV cameras.
There are several popular DNS service providers, each with its own advantages. Some focus on maximum speed, others on privacy or parental controls. Choosing the best server depends on your personal priorities and geographic location. Below is a table of the most common addresses often used to override the provider's default settings.
| DNS provider | Main address | Alternative address | Peculiarity |
|---|---|---|---|
| Google Public DNS | 8.8.8.8 | 8.8.4.4 | High speed and reliability |
| Cloudflare | 1.1.1.1 | 1.0.0.1 | Emphasis on privacy |
| OpenDNS | 208.67.222.222 | 208.67.220.220 | Flexible content filtering |
| Quad9 | 9.9.9.9 | 149.112.112.112 | Blocking security threats |
How to find the current DNS on a Windows computer
Before making any changes to your router settings, it's helpful to know which DNS addresses your computer is currently using. In the operating system Windows This can be done in several ways without resorting to complex software. The fastest and most reliable method is using the command line, which provides accurate information about the current network configuration.
To begin, open the command prompt. Press the key combination Win + R, enter cmd and press Enter. In the black window that opens, enter the command ipconfig /all and press Enter. The system will display a huge list of parameters. Find the section that corresponds to your connection (for example, "Wireless Network" or "Ethernet") and look at the "DNS Servers" lines. This will list the IP addresses that are currently active.
⚠️ Attention: If you see addresses starting with 192.168... or 10.0..., it means the router is distributing DNS itself. In this case, to change servers, you need to access the router's settings, not your computer's.
An alternative method is through the network settings graphical interface. Go to Settings → Network & Internet → Properties (for an active connection). Scroll down to the "DNS Settings" section. Here you'll see whether the address is set to be obtained automatically or statically. This method is more intuitive for beginners, but the command line provides more detailed technical information about the cache status and lease time.
Checking DNS on macOS and Linux systems
Computer users Apple You can also easily check your DNS settings, although the macOS interface differs from Windows. To get this information, open Terminal (via Spotlight or in the Applications folder) and enter the command scutil --dns. It will output a detailed list of the resolver configuration. A simpler, but less informative, way is to go to System Preferences → Network, select the active connection and click "Advanced", then go to the DNS tab.
In operating systems based on Linux The situation may vary depending on the distribution and network manager used. However, the universal method remains viewing the configuration file. Open a terminal and enter the command cat /etc/resolv.confThis file will list lines that start with the word nameserver, followed by the IP addresses being searched for. This is a system file, and direct editing of it can be overwritten by the NetworkManager service, so for permanent DNS changes, it's best to use the interface settings.
It's important to understand that DNS caching works differently on Mac and Linux computers than it does on Windows. If you've changed addresses but the changes haven't taken effect, you may need to clear the cache. For macOS, the command looks like this: sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponderThis ensures that the system stops using old, cached routes and refers to new name servers.
Why might the addresses on a computer and a router differ?
A router can act as a DHCP server and forward its DNS addresses to the computer, even if other DNS addresses are configured internally. Alternatively, the computer may have a static DNS that overrides the router's settings.
How to view and change DNS in the router's web interface
The most effective way to manage DNS for all devices in your home is to configure it directly on the router. To do this, access the web admin interface. Open a browser and enter the router's IP address in the address bar. This is most often 192.168.0.1 or 192.168.1.1, but the exact address is indicated on the sticker on the bottom of the device. You will be asked to enter your username and password (often admin/admin by default).
Interfaces vary greatly between manufacturers, but the logic for finding DNS settings is the same. Find the section related to WAN (wide area network) or Internet. Look for subsections labeled "Network," "Internet," "WAN," or "Basic Settings." Inside, you should see an option labeled "Use the following DNS addresses" or "Static DNS." This is where you enter the addresses the router will use for all connected clients.
- 📡 TP-Link: Typically found in the "Network" → WAN menu. Select "Use the following DNS addresses" and enter the values.
- 🌐 ASUS: Go to "Internet" (WAN) → "Connection" tab. At the bottom of the form, you'll see fields for Primary and Secondary DNS.
- 📶 Keenetic: In the "Internet" menu, click the icon for your ISP (cable or PPPoE). In the window that opens, select "Use DNS servers" and enter the addresses.
- 📡 D-Link: In the "WAN Settings" or "Network" section, select your active connection and locate the fields for manual DNS entry.
⚠️ Attention: Firmware interfaces are updated regularly. Menu locations may change in new software versions. If you don't find the described options, consult the official manual for your specific router model on the manufacturer's website.
After entering the new addresses, be sure to click "Save" or "Apply." Your router may require a reboot for the changes to take effect. After this, all devices that receive a new IP address (or reconnect to Wi-Fi) will begin using the new DNS servers. This is a global setting that overrides the default settings from your ISP.
☑️ Checklist for changing DNS on a router
Setting up DNS on Android and iOS devices
Mobile devices allow you to change DNS not only for Wi-Fi, but also for the mobile network, although the approaches here differ. Android Starting with version 9 (Pie), the "Private DNS" feature has appeared. It is located in Settings → Connections → Other connection settings → Private DNSHere you can enter the hostname of the provider (for example, dns.google), which will ensure encryption of DNS queries (DoT), protecting them from eavesdropping.
To change your IP address on Android, go to Wi-Fi settings, tap and hold your network name (or tap the gear icon), and select "Change" or "Advanced." In the "IP Settings" field, switch from DHCP to "Static." Below that, fields for entering DNS 1 and DNS 2 will appear. Be careful: with a static IP, you must manually enter both the gateway (usually the router's IP) and the subnet mask, otherwise you may lose internet access.
Owners iPhone And iPad (iOS) can configure DNS for a Wi-Fi network similarly. Go to Settings → Wi-Fi, click on the blue icon (i) next to the network name. Scroll down to the "DNS Configuration" section and switch from "Automatic" to "Manual." Remove old servers and add new ones by tapping the green plus sign. For mobile networks on iOS, changing DNS using standard tools is not possible; configuration profiles or special apps are required.
Diagnosing problems and clearing the DNS cache
After changing DNS servers, you may encounter a situation where some websites don't open or display incorrectly. This is often due to DNS caching at the device or browser level. Computers and routers store name and IP address mappings to speed up subsequent access. If a cached entry is outdated or contains an error, the new DNS server may be ignored until the cache is refreshed.
To force clear the cache on Windows, use the command ipconfig /flushdns in the command line. You should receive a message indicating that the cache has been successfully cleared. On macOS, as mentioned earlier, the command is used via sudoOn Android and iOS, simply turn Airplane mode off and on again or reconnect to your Wi-Fi network to reset network settings.
It's also helpful to check whether the new settings are actually applied. There are online services that show which DNS server you're using to connect to the internet and whether there are any DNS leaks. If your speed hasn't improved after all these changes, try testing different server combinations. Sometimes, a server that's geographically farther away works faster due to its lighter bandwidth.
- 🚀 Speedtest: Check ping times to different servers to assess overall network responsiveness.
- 🔍 DNS Leak Test: Make sure that your real IP and provider are not revealed through DNS requests.
- ⚙️ Namebench: A specialized utility that tests the availability of thousands of DNS servers and recommends the fastest one specifically for your location.
What should I do if I lose internet access after changing my DNS?
If your internet connection stops working after entering the new addresses, it's likely that the addresses were entered incorrectly or the selected DNS server is blocked by your ISP. Return to the network settings and select "Obtain DNS address automatically" (or delete static entries) to ensure the system receives working addresses from your ISP again. Also, check whether your firewall is blocking access to port 53, which is used for DNS queries.
Can changing DNS improve file download speed?
Changing DNS itself doesn't increase bandwidth (the speed of downloading large files), as it only affects the website "search" stage. However, if the provider's DNS server is slow, pages will load with a delay. A fast DNS speeds up response times (page loading), but doesn't affect data transfer speeds once the connection is established.
Is it safe to use public DNS from Google or Cloudflare?
Yes, it's safe and often more reliable than your provider's DNS. Large companies invest heavily in protecting their infrastructure. However, it's important to remember that your DNS provider can technically see which domains you visit. If complete anonymity is crucial to you, consider using DNS-over-HTTPS (DoH) or VPN services that encrypt all traffic.