Skip to content

Does changing your DNS server lower ping? What the test shows

The Net Fix · Updated · 9 min read

The short answer

Changing your DNS server usually does not lower ping in a game. DNS only turns a name, such as a game launcher's server address, into an IP address. After that, game packets travel straight to that address, so the DNS server is not on the path that sets your ping. A different DNS server can shorten the lookup that happens before a launcher or store page starts loading. To see what your own line does, run the speed and lag test and compare ping before and after a change.

Why a DNS change rarely changes ping

Ping is the time one packet takes to reach a server and come back. It is measured on the route between your device and the server a game is using. DNS is a different step. Before your device can talk to a server by name, it asks a DNS resolver for the matching IP address, and then it stops using the resolver for that connection.

Because of that order, the resolver usually sits off the path your game packets take. Changing it changes how fast the name lookup returns. It does not change the distance to the game server, the route between hops, or how long your packets wait in your router's queue. Those are what set in-game ping.

The answer is also cached. The DNS standard says each answer carries a time to live (TTL), in seconds, and resolvers keep the answer until it expires. So a lookup that a game or launcher already made is often answered from memory on the next visit, and the choice of resolver matters least for names you use every day.

What DNS does, in plain words

The Domain Name System maps names to addresses. When you open a website, start a launcher or join a server listed by name, your device sends a question to the DNS resolver set on your network adapter. The resolver answers with an IP address, or passes the question up the chain until it gets one.

  1. Your device checks its own cache. If the name was looked up recently and the TTL has not expired, it uses the saved answer and no network trip happens.
  2. If not, it asks the resolver on the adapter, often your router, which may answer from its own cache.
  3. If the resolver also has no fresh answer, it asks other DNS servers in turn until one returns the address, then stores it for the TTL.
  4. Your game then opens a connection to that IP address. From here on, the resolver is not involved, and ping is the round trip to that address.

Windows shows the same split. Microsoft's ping reference says the command reports the round-trip time of ICMP echo messages, and that if pinging an IP address works but pinging the name does not, the problem is likely name resolution rather than the route. The ping command guide shows how to run that check yourself.

Where a DNS change can help

A DNS change can make the lookup part of a session quicker. That shows up when a launcher, store or patch server is first reached by name, or when a website is opened for the first time in a while. It is a real gain, but it is measured in milliseconds to a few hundred on the first lookup, and it happens once per name rather than every second of a match.

DNS can also matter when a service picks a server based on where the lookup seems to come from. That is not the same as a lower ping in a match, and the result depends on the service. If your problem is the server choice itself, a route check is more useful than a resolver change. The game server check shows which regions your connection reaches fastest.

What we measured on one PC

To check the claim against this site's own network path, we ran a short test on a Windows PC on 29 November 2026. The PC was on Wi-Fi, with its adapter pointed at the home router at 10.40.1.1. Two public resolvers were used: Cloudflare at 1.1.1.1 and Google Public DNS at 8.8.8.8. This is one PC and one evening of data, so treat it as an example of the method, not a rating of either company.

Ping to each resolver address, 10 echo requests each, from the test PC on Wi-Fi
ResolverPackets lostMinimumAverageMaximum
1.1.1.1 (Cloudflare)0 of 1021 ms26 ms54 ms
8.8.8.8 (Google)0 of 1038 ms41 ms48 ms

These two rows show two different routes to two different addresses. They are not a test of DNS, and they do not show that one resolver is better for gaming. Ping to a resolver only tells you the route to that address. The game server's route is what sets your game's ping, and that is a separate measurement.

Lookup time for five names, one query each, sent straight to each resolver (milliseconds)
ResolverLookup 1Lookup 2Lookup 3Lookup 4Lookup 5
1.1.1.1137749252323
8.8.8.813842765944

The first lookup to 1.1.1.1 took 1,377 ms, much longer than any other lookup in the run. Our data cannot say why: it could be a cold start on that resolver, or a one-off delay on the path. The other four lookups to each resolver fell between 23 ms and 76 ms. Each name was queried once, so this is one sample per name, not an average you can rely on.

How to test your own line in 10 minutes

You can repeat the method above on your own network. The aim is to separate lookup time from in-game ping, so you know whether a change did anything useful for you.

  1. Connect the test PC to the router with an Ethernet cable if you can. Wi-Fi adds delay and jitter that hides small differences.
  2. Close downloads, cloud sync, game updates and streams on every device. A busy line makes every number worse for reasons that have nothing to do with DNS.
  3. Measure ping to the game server you actually play on, for two minutes, with the speed and lag test. Note the average and the highest spike.
  4. Change the DNS server on the adapter, or in the router, to one resolver you want to compare. Keep the game and server the same.
  5. Repeat the ping measurement for two minutes. If the average and spikes are about the same, the DNS change did not change in-game ping, which is the usual result.
  6. Measure lookup time for two names you use, with the old resolver and the new one. Keep the numbers next to the ping results, so you can see what each change did.

If the ping is still high after that, the cause is somewhere else on the route or in the line. A load test shows whether the queue in your router is the problem. The bufferbloat test runs idle and busy pings in one go, and the high ping guide lists the seven usual causes with a fix for each.

What does change in-game ping

Ping is set by the route, the queue and the radio link. Each one has a different fix, and a DNS change touches none of them. The table lists the usual causes and the page that covers each one.

Causes of in-game ping compared with what a DNS change affects
CauseDoes a DNS change touch it?Where to fix it
Queue in the router under load (bufferbloat)NoSmart Queue on the router, see the bufferbloat fix guide
Wi-Fi delay, jitter and dropsNoThe Wi-Fi fix guide and a wired test
Distance to the game serverNoPick a closer server or region, see the game server check
Packet loss on the line or routeNoThe packet loss guide and a traceroute
A DNS lookup before a launcher or page opensYesA resolver change or a local cache
Name lookup failing or slow on one deviceYesThe DNS fix guide and the device's settings

When this advice does not apply

This guide is about in-game ping and ordinary lookups on a home network. It does not cover a DNS filter you set up to block content or ads, which can make some sites or launchers fail to load. It also does not cover business DNS, where a company's own resolver may be required for internal names.

The result of one PC on one evening is not a general rating of Cloudflare, Google or any other resolver. Resolver speed can change by hour and by place, so repeat the test before you decide to keep a change.

Next steps for lower lag

If your goal is lower lag rather than a quicker lookup, start with the measurement that tells you which part of the route is slow. A lag test on the busy line shows whether the queue is the cause. A traceroute shows where the delay starts. The Wi-Fi room check is the quickest way to see whether the radio link is the weak point.

Questions

Does changing DNS lower ping in games?

Usually not. DNS turns a server name into an IP address once, and game packets then travel to that address. The resolver is not on the path that sets in-game ping, so a change rarely lowers it. The speed and lag test shows your ping before and after a change, so you can see the result on your own line.

Is 1.1.1.1 or 8.8.8.8 better for gaming?

Neither public resolver is shown to lower in-game ping by the tests in this guide. In one run on 29 November 2026, the lookup times varied from about 23 ms to over 1,300 ms on the first query to 1.1.1.1. Repeat the test on your own line before you decide.

Can a DNS change make my launcher or store load faster?

It can, for the lookup step. A faster resolver can shorten the first name lookup before a launcher or store page opens, but that delay happens once per name. It does not change how long a match takes to respond.

What is the difference between DNS and ping?

DNS finds the IP address for a name. Ping measures how long a packet takes to reach that address and return. Windows' ping reference treats name lookup as a separate step, so a name that fails to resolve shows up differently from a slow route.

How do I test whether DNS is slow on my network?

Time a lookup for a few names with each resolver, using Resolve-DnsName with the -Server option in Windows PowerShell, or a similar tool on your system. Then compare ping to your game server. If lookups are slow but ping is normal, the DNS change may help launchers and pages but not matches.

Does a VPN change DNS and ping?

A VPN can send your DNS lookups through its own resolver, and it adds a route to its server, which can raise ping rather than lower it. Test with and without the VPN on the same server. Does a VPN lower ping? covers that case in full.

Should I set DNS on my router or on each device?

Setting it on the router covers every device that uses it, which is simpler for a home network. Setting it on one device is useful for a test. Either way, keep the change only if the lookup times improve and your ping does not get worse.

References