Does Changing DNS Make Your Internet Faster? How to Do It

Short answer
What Is DNS and How Does It Work?
Every server on the internet has a numeric address called an IP address, while people remember websites by easy domain names. DNS (the Domain Name System) is the system that turns a domain name you type into a browser into the IP address of that site. That is why DNS is often compared to the internet's phone book: you say the name, and the book gives you the number.
Changing your DNS does not increase your download or upload speed, meaning the megabit figure you see in a speed test. DNS only translates domain names into IP addresses. A DNS server that answers faster can shorten the wait before a page starts to load, anywhere from a few milliseconds to a few tens of milliseconds. If your provider's DNS is slow, unstable or faulty, you will clearly feel the difference; if it already works well, you usually will not notice anything. You can change DNS on a phone, a computer or directly on your router in a few minutes.
The quick order looks like this: (1) Set your expectations: DNS affects the time it takes to connect, not your download speed. (2) Choose a reliable public DNS service (Cloudflare, Google or Quad9, for example). (3) Change it on the router if you want it to apply to the whole home, or on the device if you want it on one device only. (4) On phones, prefer the encrypted Private DNS option. (5) After the change, clear the DNS cache. (6) Use it for a few days and watch the difference; if problems appear, go back to automatic.
When you visit a site, the process runs roughly like this. Your device first looks in its own cache; if the address was requested recently, the answer is already there. If not, it sends the question to the DNS server that is configured, called the resolver. By default this is usually your router and the provider's DNS behind it. If the resolver has the answer in its cache, it returns it right away; if not, it makes a chain of queries, starting from the root servers and going down to the authoritative server for the domain, and passes the result back to you. Once the address is known, the browser makes the actual connection with the site and the content is downloaded.
As this shows, DNS is only the first step in loading a page. While the content is being downloaded, DNS plays no part. So how fast you can download a large file, the quality of a video stream and the megabit value in a speed test do not depend on DNS.
What Does Changing DNS Change, and What Does It Not Change?
The most common mistake on this subject is to think that changing DNS is a magic setting that "speeds up" the internet. The table below sums up the real effect.
| Topic | Effect of a DNS change | Explanation |
|---|---|---|
| Download and upload in a speed test | No effect | Bandwidth is set by your line and your plan |
| Time before a page starts to open | Can be positive | If name resolution finishes faster, the first response arrives earlier |
| Ping in games | Usually no effect | Once the connection to the game server is made, DNS is no longer involved |
| Some sites not opening at all | Can fix it | If the problem is a fault or outage in your provider's DNS |
| Privacy | Can improve partly | Encrypted DNS makes it harder for your queries to be read along the way |
| Protection from harmful sites | Depends on the service chosen | Some DNS services block known harmful domains |
| Video streaming quality | Indirect and limited | Some content networks choose the server closest to you based on DNS |
The last row is an important subtlety. Large content delivery networks can look at the region a DNS query comes from in order to send you to the nearest server. If the public DNS service you choose has no server near you, you may occasionally be sent to a more distant content server, and video or download performance can drop slightly. Most of the large public DNS providers use wide server networks and extra techniques to reduce this problem, but it is worth knowing that the result can vary with your location and your provider.
When Does It Really Make a Difference?
These are the situations in which changing DNS gives the clearest benefit:
- Your provider's DNS server answers slowly at busy hours, so pages sit blank for a while after you click.
- Some sites show a "server not found" error while others open without trouble.
- The router's own DNS forwarder hangs from time to time and the problem goes away after a restart.
- You want an extra layer of protection against harmful sites, phishing pages or advertising domains.
- You want to use a family DNS that filters adult content for children.
On the other hand, if your speed test result is low, your Wi-Fi signal is weak or video stutters, the problem is most likely not DNS. In that case you need to look at things such as the position of the router, the Wi-Fi channel, the quality of the line and your plan. If Wi-Fi shows as connected but no internet gets through at all, the steps in our article on fixing the "Wi-Fi connected but no internet" error will suit you better.
Popular Public DNS Services
Below are the commonly used public DNS services and their main features. Because the policies of these services can change over time, it is recommended that you check the latest details on the provider's own page.
| Service | Primary / secondary IPv4 | Android Private DNS name | Key feature |
|---|---|---|---|
| Cloudflare | 1.1.1.1 / 1.0.0.1 | one.one.one.one | Focused on speed and privacy |
| Cloudflare (malware blocking) | 1.1.1.2 / 1.0.0.2 | security.cloudflare-dns.com | Blocks known harmful domains |
| Cloudflare (family) | 1.1.1.3 / 1.0.0.3 | family.cloudflare-dns.com | Filters harmful and adult content |
| Google Public DNS | 8.8.8.8 / 8.8.4.4 | dns.google | Widely used, stable |
| Quad9 | 9.9.9.9 / 149.112.112.112 | dns.quad9.net | Blocks harmful domains |
| AdGuard DNS | 94.140.14.14 / 94.140.15.15 | dns.adguard-dns.com | Blocks ads and trackers |
Which one is fastest for you depends on where you are and on how your provider connects to these services. That is why there is no single answer to "the fastest DNS". Further down we also explain how you can measure it on your own connection.
How Do You Change DNS on Android?
Android 9 and later versions have a system-wide setting called Private DNS. It applies on both Wi-Fi and mobile data, and it sends your queries encrypted (DNS over TLS).
- Go to Settings, then Network & internet (on Samsung phones, Connections, then More connection settings).
- Tap Private DNS.
- Select the private DNS provider hostname option.
- Type one of the names in the table, for example one.one.one.one or dns.google, and save.
Menu names can differ by version and by manufacturer; if you cannot find it, type "Private DNS" in the search box in Settings. Note that you must enter a hostname here, not an IP address. If you enter a wrong or non-working name, the phone may show a "no internet" warning; in that case set the option back to Automatic.
How Do You Change DNS on iPhone and iPad?
On iOS, the DNS setting is made per Wi-Fi network; there is no built-in menu for mobile data.
- Go to Settings, then Wi-Fi.
- Tap the (i) icon next to the network you are connected to.
- Scroll down, open Configure DNS and choose Manual.
- Delete the existing servers, then use Add Server to enter the addresses you want, and save.
If you want to use encrypted DNS on both Wi-Fi and mobile data, official apps or configuration profiles offered by some DNS providers make that possible. When installing a profile, use only profiles you downloaded from the provider's own website; profiles from sources you do not know can have the power to redirect your traffic.
How Do You Change DNS on Windows?
- Go to Settings, then Network & internet; choose Wi-Fi or Ethernet and open the properties of the network you are connected to.
- Next to DNS server assignment, click Edit and choose Manual.
- Turn on IPv4 and enter the preferred and alternate DNS addresses.
- On Windows 11 you can turn on the DNS over HTTPS option for suitable providers.
- After saving, clear the cache in Command Prompt with the "ipconfig /flushdns" command.
The old Control Panel route still works too: Network and Sharing Center, Change adapter settings, right-click the connection, Properties, Internet Protocol Version 4, Properties, "Use the following DNS server addresses".
How Do You Change DNS on macOS?
In System Settings, go to Network, select the connection you use (Wi-Fi or Ethernet) and press the Details button. On the DNS tab, add new servers with the plus button; you can remove the old ones with the minus button. Press OK to apply the change. To clear the cache, Terminal needs a command that varies by version; the simplest way is to restart the computer.
Changing DNS on the Router: One Setting for the Whole Home
A DNS change made on the router applies to every device that gets its address automatically from the router: phones, computers, smart TVs, game consoles and smart home devices. This is the only practical route, especially for devices that have no DNS setting of their own.
- Open the router's admin address in a browser. The address and password are usually printed on the label under the router; common addresses are 192.168.1.1 and 192.168.0.1.
- Find the LAN, DHCP or Local Network settings section. On some models the DNS setting is in the WAN or Internet section.
- Type the addresses you chose into the primary and secondary DNS fields.
- Save, then restart the router or disconnect and reconnect your devices.
On some provider routers the DNS setting can be locked or may not appear in the menu. In that case you need to make the setting on each device one by one. When you sign in to the router interface, make sure the admin password has not been left at the factory value; if anyone who connects to your network can change the router settings, and therefore your DNS, that is a serious security risk. A malicious DNS setting can send you to a fake page even when you type the right address.
How Can You Measure DNS Speed Yourself?
Other people's measurements are not decisive for your own connection. There are a few ways to take your own measurement.
A simple measurement from the command line: On Windows, a command like "nslookup example.com 1.1.1.1" sends a query to the server you name. On macOS and Linux, the command "dig @1.1.1.1 example.com" shows the query time in milliseconds along with the answer. You can ask the same domain several times on different servers and compare the averages. The first query can be slow because it is not in the cache; later queries come from the cache. For a meaningful comparison you need to try different domains, some used often and some rarely.
Benchmark tools: Free DNS benchmark tools that run on a computer test dozens of servers with hundreds of domains and rank the results. Because these tools show cached and uncached response times separately, they give a more reliable picture.
Watching everyday use: In the end, what matters is whether pages reach you faster. Changing DNS and using it for a few days, and watching the difference especially in the busy evening hours, is a practical method. If you notice no difference, your provider's DNS is already working well and there is no need to make a change.
Encrypted DNS: What Are DoT and DoH?
Classic DNS queries are sent unencrypted. That means someone on the same network, or a provider in between, can see which domains you ask for and, in theory, change the answers. Encrypted DNS was developed to solve this problem.
| Method | What it stands for | Where it is used | Note |
|---|---|---|---|
| Classic DNS | Unencrypted, port 53 | The default everywhere | Queries can be seen along the way |
| DoT | DNS over TLS | Android Private DNS | Encrypted communication on a separate port |
| DoH | DNS over HTTPS | Browsers, Windows 11 | Travels through the same channel as normal web traffic |
| DNSSEC | DNS Security Extensions | On the domain and resolver side | Does not encrypt; verifies that the answer is not fake |
Most browsers have an option such as "Use secure DNS". This setting affects only that browser's queries; other apps keep using the system DNS. In Chrome you can find it under Settings, Privacy and security, Security; in Firefox, under Settings, Privacy & Security, in the section titled DNS over HTTPS.
Encrypted DNS increases privacy but does not give complete anonymity. The IP address of the site you connect to and some connection details can still be seen on the network. Your DNS provider also sees your queries, so it matters to choose a provider whose privacy policy is transparent.
Possible Downsides of Changing DNS
A DNS change is usually risk free, but in some cases it can lead to unwanted results:
- Local services: Some providers use records that exist only in their own DNS for services such as their customer portal, IPTV or the router interface. When you switch to a public DNS, these services may stop working.
- Corporate networks: On workplace networks, internal servers and company intranet sites can be found only through the company's DNS. Changing DNS on a work computer cuts off access to these resources and usually breaks company policy as well.
- Hotel and cafe networks: On networks that require a login page, a fixed DNS setting can break the redirect, so the login page does not open. In that case, go back to automatic for the time being.
- Over-blocking with filtered DNS: DNS services that block ads or harmful sites can sometimes block a legitimate domain as well. If a particular app or payment page does not work, try the unfiltered version.
- Getting around parental controls: If you set up a family filter at router level at home, remember that it can be bypassed by changing DNS at device level. To lock this setting on children's devices, use the operating system's parental controls.
DNS Cache and Why a Change Does Not Show Up Right Away
After a DNS change, it is normal for some sites to keep behaving the old way, because your device, your browser and your router keep the addresses they learned earlier for a while. How long they keep them depends on the time to live (TTL) set by the owner of the domain, and it can range from a few seconds to hours.
To make the change take effect right away, clear the caches. On Windows the "ipconfig /flushdns" command is enough. For the browser cache, in Chrome you can type chrome://net-internals/#dns in the address bar and clear the cache; the location of this page can change with the version. On phones the easiest way is to turn airplane mode on and off or restart the device. Restarting the router also resets the router's own cache.
DNS as a Security Layer
DNS services that block harmful domains can cut the connection to phishing pages and malware servers before it is even made. This is a useful extra measure, especially for family members who are not very comfortable with technology. However, a DNS filter alone is not a sufficient security solution. Newly created fake sites may not be on the lists yet.
What really matters for account security is strong and unique passwords, two-step verification and, where possible, passwordless sign-in. If you received a warning that your password appeared in a leak, see our article on what a data breach warning for your password means; and if you are curious about the sign-in method most resistant to phishing, see our passkey guide. Because passkeys do not work on a fake site even if you are redirected to one, they also give natural protection against attacks at the DNS level.
DNS on Smart TVs and Game Consoles
Most smart TVs and game consoles have an option in the network settings for entering DNS by hand. Usually you choose Advanced or Custom setup in the connection settings, leave the IP setting on automatic and enter only the DNS manually. The most common reason for changing DNS on these devices is that the app store or content apps open slowly or that updates do not start. On game consoles, remember that changing DNS has no effect on in-game lag; it can only affect the first connection to the game store and the update servers.
After entering DNS by hand on a TV or console, run the connection test. If the test fails, check whether you typed the addresses correctly; putting a comma instead of a dot or leaving out a digit are common mistakes. If you are not sure, set it back to automatic and prefer changing DNS on the router.
Using DNS on Mobile Data
On a mobile data connection, DNS is assigned by your mobile carrier by default. Because Android's Private DNS setting also applies on mobile data, you can use an encrypted DNS of your choice everywhere on your phone. On iPhone, the built-in menu lets you enter DNS only for Wi-Fi networks; if you want to use a different DNS on mobile data, you need the provider's official app or profile.
The effect of changing DNS on speed over mobile data is usually smaller than on home internet, because most of the delay on a mobile network comes from the radio link. The real gain is on the privacy and filtering side. Also, some carrier services, such as data allowance check pages, may require the carrier's DNS; if you run into a problem like that, turn the setting off for the time being.
A Quick Recap to Help You Decide
Changing DNS is a useful and low-risk setting when done with the right expectations. It does not raise the speed of your internet plan, but it can improve how quickly pages respond, how reliable the connection is and your privacy. If you have a concrete problem with your provider's DNS, for example some sites do not open or pages stay blank for a long time after you click, the change will most likely make a difference. If you have no problem and are only thinking of changing it so that "the internet gets faster", keep your expectations low.
When choosing, ask yourself these questions: Is my priority speed, privacy or filtering? Should the setting apply only on this device or across the whole home? Your answers decide the right provider and the right place. For speed, measure a few providers on your own connection; for privacy, turn on encrypted DNS; for children, set up a service that offers a family filter at router level. In every case, noting down the change you make and knowing you can go back to automatic if a problem appears lets you try this setting with confidence.
Common Misunderstandings About DNS
"Changing DNS lets you reach blocked sites." Access restrictions can be applied by different technical methods; a block applied only at the DNS level can be affected by a DNS change, but many blocks are made by IP address or other methods. Trying to get around such restrictions can also have legal consequences depending on where you live. It is best to think of changing DNS as a speed and security setting.
"The nearest DNS is always the fastest." Physical closeness matters but it is not the only factor. A resolver with a large cache that keeps frequently used records ready can answer faster even if it is a bit farther away. That is why measuring is worth more than guessing.
"It is fine to leave the secondary DNS empty." In the rare cases when the primary server cannot be reached, the device uses the secondary server. If you leave the secondary field empty, your internet will look as if it has gone down in that case. Entering the secondary address of the same provider, or a different provider as a backup, is good practice; however, mixing different providers can cause inconsistent behavior in features such as filtering.
"Changing DNS makes everything private." Encrypting DNS queries protects only one part of your traffic. Which sites you connect to can also be worked out in other ways. Expecting complete privacy is wrong; DNS is only one piece of that picture.
A Step-by-Step Trial Plan
To find out whether a DNS change works on your connection, you can follow a short, regular trial plan. First note down the current situation: how a few sites you visit often feel when they open, the behavior in the evening hours and any error messages. Then change DNS on only one device and use it that way for a few days. Because the other devices keep running with the old setting in the same period, you get a natural comparison. If the difference is clear, move the change to the router level; if there is no difference or new problems have appeared, go back to the old setting. This approach avoids the confusion a change affecting the whole home at once can bring, and it lets you base your decision on your own observation, not on guesses.
During the trial, take care not to make any other change at the same time. Moving the router, changing the Wi-Fi channel or installing a new browser extension mixes up the results and makes it harder to tell which step worked. One variable, a few days of observation and a clear notebook: it may look simple, but this is the method that gives the most reliable result in network problems. In the end you have a decision based on real use that is specific to your home and your provider, and you do not depend on other people's measurements. If needed, you can run the same plan again a few months later with a different provider; conditions can change over time.
Frequently asked questions
Does changing DNS make the internet faster?
It does not raise download and upload speed. If your provider's DNS is slow or unstable, it can shorten the time before pages start to open. If you already use a fast DNS, the difference is usually not noticeable.
Does changing DNS lower ping in games?
No. Ping depends on the length and quality of the network path between you and the game server. DNS is used only once, to find the address of the server; it plays no part while you are playing.
Which DNS is the fastest?
There is no single correct answer; the result changes with your location and your provider. The best approach is to measure a few providers on your own connection and choose the one with the lowest response time.
Is it safe to change DNS?
It is safe as long as you use well-known and trusted providers. An unknown DNS server, on the other hand, can send you to fake sites. So get the DNS address only from the provider's official page.
Does changing DNS mean I am using a VPN?
No. DNS changes only the name resolution; your IP address, your location and the rest of your traffic stay the same. A VPN sends all traffic through an encrypted tunnel via another server.
Should I change it on the router or on the device?
If you want it to apply to all devices at home, change it on the router; if you want it on one device only, or also when you are away, change it on the device. On phones, Private DNS is a practical option because it works on both Wi-Fi and mobile data.
I changed DNS and some sites will not open. What should I do?
First clear the DNS cache and restart the device. If you chose a DNS that blocks ads or harmful sites, that site may have been caught by the filter; switch to the unfiltered version. If the problem continues, set it back to automatic.
How do I go back to the old setting?
On the device, it is enough to set the option to Automatic or DHCP. On Android set Private DNS to Automatic, on iPhone choose Automatic under Configure DNS, and on Windows set the DNS assignment to Automatic (DHCP).
Do I need to enter a DNS address for IPv6 as well?
If your network uses IPv6 and you change only the IPv4 DNS, the device can still make some queries through the provider's IPv6 DNS. For a consistent result, enter the provider's IPv6 addresses too. Get the addresses only from the provider's official page.
Does a family DNS fully protect children?
Family DNS services block a significant part of adult and harmful content, but they are not perfect. New sites can be added to the lists late, and the setting can be bypassed by changing it at device level. For the best result, use the router-level filter together with the operating system's parental controls.
Does the DNS setting affect my internet bill or data allowance?
No. DNS queries are very small data packets and have no meaningful effect on your data allowance. Your bill and your plan depend on the contract you have with your provider; which DNS you use does not change those terms. Your subscription with your provider continues the same way, and only the server that does the name resolution changes.
