Best DNS Servers for Gaming: What They Change and How to Test
Ten public DNS servers that work, what a DNS server can and cannot do for your ping, how to measure which is fastest for you, and how to switch.
3 min readBy Smita
Reviewed by the AmazingRDP technical team

Hosting a game server for your group? Game servers are allowed on our VPS and dedicated plans. See Windows VPS from $8.99
A DNS server turns a name such as example.com into the IP address your device connects to. Every online game does this lookup when it finds its login, match-making and download servers. A faster or more reliable DNS server can make those steps quicker. It is worth knowing exactly what it changes before you expect miracles.
Does DNS lower your ping?
No. Ping during a match is the travel time between you and the game server. DNS is finished before the match starts and plays no part in it. What a better DNS server can improve:
- Time to connect: logging in, finding a match, opening the store.
- Reliability: fewer "cannot connect" errors when your provider's DNS has a bad day.
- Download speed, sometimes: game downloads come from content networks that pick a nearby server partly from your DNS, so a different resolver can give you a closer or a farther one.
High ping, lag spikes and packet loss come from your connection, Wi-Fi, or the distance to the game server. DNS will not fix them.
Ten public DNS servers
| Service | Primary | Secondary | Note |
|---|---|---|---|
| Cloudflare | 1.1.1.1 | 1.0.0.1 | Usually among the fastest; privacy-focused |
| Google Public DNS | 8.8.8.8 | 8.8.4.4 | Very reliable, worldwide |
| Quad9 | 9.9.9.9 | 149.112.112.112 | Blocks known malicious sites |
| OpenDNS (Cisco) | 208.67.222.222 | 208.67.220.220 | Optional filtering with an account |
| Cloudflare, malware blocking | 1.1.1.2 | 1.0.0.2 | Cloudflare's speed plus a malware filter |
| AdGuard DNS | 94.140.14.14 | 94.140.15.15 | Blocks adverts and trackers |
| CleanBrowsing (security) | 185.228.168.9 | 185.228.169.9 | Security filter |
| Control D (unfiltered) | 76.76.2.0 | 76.76.10.0 | Other filter levels on other addresses |
| DNS.WATCH | 84.200.69.80 | 84.200.70.40 | Based in Germany, no filtering |
| Comodo Secure DNS | 8.26.56.26 | 8.20.247.20 | Security filter |
The earlier version of this list had 18 entries. Several of those services have since closed, so they were removed. Check an address still answers before you rely on it (next section).
A filter that blocks adverts can occasionally block something a game launcher needs. If a launcher misbehaves after a change, try an unfiltered server.
Find the fastest one for you
The fastest server depends on where you are, so measure. In PowerShell on Windows:
Measure-Command { Resolve-DnsName example.com -Server 1.1.1.1 } | Select-Object TotalMilliseconds
Measure-Command { Resolve-DnsName example.com -Server 8.8.8.8 } | Select-Object TotalMilliseconds
On Linux or macOS:
dig @1.1.1.1 example.com | grep 'Query time'
dig @9.9.9.9 example.com | grep 'Query time'
Run each a few times with different names; the first lookup is slower than repeats. A difference of a few milliseconds does not matter. Pick one that is consistently quick and never fails.
How to change the DNS server
On the router (best: every device, consoles included, gets it): open the router's settings, find the internet or DHCP settings, and enter the two addresses.
Windows 10 and 11: open Settings, Network & internet, your connection, and edit the DNS server assignment to Manual. Or in PowerShell as administrator:
Set-DnsClientServerAddress -InterfaceAlias "Ethernet" -ServerAddresses 1.1.1.1,1.0.0.1
ipconfig /flushdns
PlayStation, Xbox, Switch: in the network settings, set the connection up manually and enter the primary and secondary DNS.
What actually helps ping
- A network cable in place of Wi-Fi.
- Choosing the game region closest to you.
- Stopping downloads and video streams on the same line while you play.
- A better route: sometimes only another internet provider changes it.
If you run a game server yourself, its location decides everyone's ping. Game servers are allowed on our Windows VPS and dedicated plans, in several countries. Related guides: monitor all network traffic in Windows and enable a port through PowerShell.
Questions
Does changing DNS reduce ping in games?
No. DNS is used to find servers before you connect. Ping in a match depends on the route between you and the game server.
What is the best DNS server for gaming?
Cloudflare (1.1.1.1) and Google (8.8.8.8) are fast and reliable in most places. Measure from your own connection to be sure.
Is it safe to use a public DNS server?
Yes, with a well-known provider. The provider can see which names you look up, so choose one whose privacy terms you accept.
Should I change DNS on the router or on the device?
On the router, if you can. Every device on the network then uses it, including consoles.