YTUNE

Best DNS and VPN for Gaming:
Do They Actually Lower Ping?

Short answer: DNS never changes your in-game ping, and a VPN usually makes it worse. Here is why, the rare cases where a VPN helps, and how to change DNS anyway if you want to.

Verified by Yassine • 5.0 ★ (1,000+ Tuned PCs) • Windows 10 / 11
// QUICK ANSWER

DNS does not affect in-game ping. It only turns a server name into an address before you connect. After that, your game talks to the server directly. A VPN adds encryption and an extra stop, so it usually raises ping. It can only help when your provider routes badly to a specific server. Test it with and without, and keep it only if the in-game ping is lower.

Time: 5 minutes•Difficulty: Beginner•Applies to: Any online game on Windows•Last reviewed: November 2026
// COMPETITIVE SETUP: JUST SET THIS

The competitive setup:

DNS
Cloudflare 1.1.1.1 or your provider's, it does not change game ping
VPN
Only on if it clearly lowers your in-game ping
Off
Server region
Closest to you
Connection
Ethernet
Router
SQM / Smart Queue on

When a game connects, it asks a DNS server "what is the address of this game server?". That takes a few milliseconds, once. Then all game traffic goes straight to that address. Your DNS server is not involved in any of it, so changing it cannot lower your ping during a match.

Your ping depends on the physical distance to the game server, the route your provider takes to get there, and how busy your own connection is. Fixing bufferbloat and choosing the nearest server do far more than any DNS or VPN.

A VPN sends all your traffic through its own server first. That adds distance and encryption work. In rare cases your provider uses a bad route to a game server, and the VPN's route happens to be shorter. Then ping drops. Gaming "accelerators" like ExitLag work on the same idea.

Step-by-step

  1. 1.If you still want a faster DNS: pick one

    A good DNS can make websites and launchers find servers a little faster, and it helps if your provider's DNS is slow or unreliable.

    1. Cloudflare: 1.1.1.1 and 1.0.0.1.
    2. Google: 8.8.8.8 and 8.8.4.4.
    3. Quad9: 9.9.9.9 and 149.112.112.112 (blocks known malware domains).
    4. To see which is fastest from your location, run GRC DNS Benchmark.
  2. 2.Change DNS on Windows 11

    1. Settings > Network & internet > Ethernet (or Wi-Fi > your network) > Hardware properties.
    2. Next to DNS server assignment, click Edit and choose Manual.
    3. Turn on IPv4 and enter the preferred and alternate addresses. Optionally set DNS over HTTPS to On (automatic template) for privacy.
    4. Save, then clear the old cache with the command below.
    ipconfig /flushdns
  3. 3.Test whether a VPN or accelerator helps you

    1. Join the game and note your in-game ping on your usual server without the VPN.
    2. Turn on the VPN, choose a VPN server close to you (not close to the game server), and check the in-game ping again on the same server.
    3. Keep it only if the in-game ping is clearly lower and steady. If it is the same or higher, turn it off.

    Many games pick your match region from your IP. A VPN in another country can put you in a different region, and some games do not allow changing region this way. Check the game's rules.

  4. 4.Fix what actually lowers ping

    1. Play on the closest server region.
    2. Use Ethernet instead of Wi-Fi.
    3. Turn on SQM on your router to stop bufferbloat. See our ping spikes guide.

Check that it worked

  • ✓Your in-game ping on the same server is the same before and after changing DNS. That is expected.
  • ✓With a VPN, keep it only if the in-game number goes down.

What does not work (and why)

✗ Changing DNS lowers in-game ping

DNS is only used before you connect. In-game ping is set by distance and route.

✗ A gaming VPN always lowers ping

It usually adds ping. It helps only when your provider's route to that server is poor.

✗ A static IP lowers ping

A static IP is for port forwarding and stable addresses. It does not change latency.

✗ Speed test ping is your game ping

Speed tests pick a nearby test server. Your game server can be much farther away.

// WHAT THIS GUIDE DOES NOT COVER

The parts that depend on your exact hardware

Everything above is free and safe on any PC. The parts below depend on your exact CPU, RAM, motherboard and games, so they need live testing. That is what a 1-on-1 YTUNE session covers:

  • ✓Route checks to your game servers to see if your provider is the problem
  • ✓Network adapter and driver setup for your exact hardware
  • ✓Router SQM setup over screen share

// SOURCES & FURTHER READING

Trusted by 1,000+ competitive players.

Real messages from players after their 1-on-1 AnyDesk session with y1assine.

Book a session
toruk_fps avatar
toruk_fps Discord
★★★★★

"fixed all the fps drops i was getting in apex hot drops. guy is super patient, explained everything live on anydesk and tracking feels so much smoother now. definitely recommend"

Full PC Tuning ($35) -68% Frametime Spikes
kx_controller avatar
kx_controller Discord
★★★★★

"overclocked my dualsense to 1000hz and isolated usb interrupts. 0 stick drift feeling, crosshair micro-adjustments are instantaneous on pc."

Full PC Tuning ($35) 1000Hz 0 Delay
nexu5_comp avatar
nexu5_comp Discord
★★★★★

"was paying hone $10/mo for basically useless registry scripts that broke windows update. yassine did full bios memory subtimings via anydesk for $35 one-time. night and day difference."

Full PC Tuning ($35) 100% Refund Guarantee
// 1-ON-1 REMOTE ANYDESK CALIBRATION

Ready for Flat Glass-Smooth Frametimes?

Every system is calibrated live via AnyDesk by Yassine. We strip DPC latency, eliminate micro-stutters, and dial in memory sub-timings. If your system does not feel measurably faster with lower input delay, you receive an immediate 100% refund.

// FREQUENTLY ASKED QUESTIONS

Does DNS affect ping in games?
No. DNS only looks up the server address before you connect. All game traffic after that goes straight to the server.
What is the best DNS for gaming?
Any reliable one: Cloudflare (1.1.1.1), Google (8.8.8.8) or Quad9 (9.9.9.9). It can make websites and launchers a little faster, but it will not change your in-game ping.
Does a VPN lower ping?
Usually not. It adds an extra stop and encryption. It can help only when your provider's route to a game server is poor. Test your in-game ping with and without it.
Are gaming accelerators like ExitLag worth it?
Only if your route to the game server is bad. Compare the in-game ping with and without it on the same server.

// RELATED OPTIMIZATION GUIDES