Skip to content
Guides

Best DNS Settings for Gaming on PS5, Xbox, PC and Switch

Can changing DNS lower your ping? We break down the best DNS servers for gaming and show setup steps for PS5, Xbox Series X|S, PC, and Nintendo Switch.

Share this story

“Change your DNS for lower ping” is one of the oldest tips in gaming, and it is also one of the most misunderstood. Done right, switching DNS can fix slow matchmaking, failed connections, and sluggish store downloads. It will not magically cut your in-game ping in half. Here is an honest breakdown of what DNS can and cannot do, the best servers to use, and setup steps for every major platform.

## What DNS actually does for gaming

DNS is the internet’s phone book: it translates hostnames like `playstation.net` into IP addresses. Your console or PC queries a DNS server every time it connects to a game server, signs in, or loads the store. A fast, reliable DNS server means those lookups resolve in milliseconds instead of hanging.

What DNS does **not** do is change the physical route your game traffic takes or the distance to the server. Your in-game ping is mostly set by how far you are from the server and the quality of your connection. If someone promises a DNS change will take you from 120ms to 20ms, they are selling something.

Where a better DNS genuinely helps:

– Faster sign-ins and matchmaking when your ISP’s default DNS is slow
– Fixing “can’t connect to server” errors caused by flaky ISP DNS
– Snappier downloads from platform stores
– A backup when your ISP’s DNS goes down entirely

## The best DNS servers for gaming

Provider Primary Secondary Notes
Cloudflare `1.1.1.1` `1.0.0.1` Fastest in most independent tests, privacy-focused
Google `8.8.8.8` `8.8.4.4` Extremely reliable, huge global network
Quad9 `9.9.9.9` `149.112.112.112` Blocks malicious domains, solid speed

Cloudflare’s `1.1.1.1` is the usual top pick for gaming: it consistently benchmarks as one of the fastest public resolvers worldwide, and you can read more about the project at [1.1.1.1](https://1.1.1.1/). Google’s Public DNS ([developers.google.com/speed/public-dns](https://developers.google.com/speed/public-dns)) is the safest fallback if Cloudflare has issues in your region. Any of the three beats a sluggish ISP default.

## How to change DNS on PS5

1. Go to **Settings** > **Network** > **Settings** > **Set Up Internet Connection**.
2. Select your network and choose **Advanced Settings**.
3. Set **DNS Settings** to **Manual**.
4. Enter `1.1.1.1` as Primary DNS and `1.0.0.1` as Secondary DNS.
5. Leave everything else as-is and confirm.

## How to change DNS on Xbox Series X|S

1. Press the Xbox button and go to **Profile & system** > **Settings** > **General** > **Network settings**.
2. Choose **Advanced settings** > **DNS settings** > **Manual**.
3. Enter `1.1.1.1` as Primary IPv4 DNS and `1.0.0.1` as Secondary IPv4 DNS.
4. Press B to save and test the connection.

## How to change DNS on PC (Windows)

1. Open **Settings** > **Network & internet**, then click your connection type.
2. Under DNS server assignment, click **Edit** and switch to **Manual**.
3. Toggle **IPv4** on and enter `1.1.1.1` as Preferred DNS and `1.0.0.1` as Alternate DNS.
4. Save. You may want to flush the old cache by running `ipconfig /flushdns` in a terminal.

## How to change DNS on Nintendo Switch

1. Go to **System Settings** > **Internet** > **Internet Settings**.
2. Select your network and choose **Change Settings**.
3. Scroll to **DNS Settings**, switch to **Manual**.
4. Set Primary DNS to `1.1.1.1` and Secondary DNS to `1.0.0.1`, then save.

## When DNS actually makes a difference

You will notice the biggest improvement if your ISP’s default DNS is slow or unreliable, which is more common than people think. Symptoms include long “connecting” screens, friends loading into lobbies before you, and store pages that crawl. If everything already feels instant, a DNS swap may change nothing measurable, and that is fine. It is a five-minute tweak, not a miracle.

## What helps more than DNS

If your ping is the real problem, these matter far more than any DNS setting:

– **Use ethernet.** A wired connection beats Wi-Fi for stability every time.
– **Pick close servers.** Play on the nearest region in the game’s server browser.
– **Stop the background downloads.** Streaming, updates, and cloud backups on the same network add latency.
– **Check your plan.** Old routers and congested cable nodes cause more lag than DNS ever will.

Pair a fast DNS with a wired connection and nearby servers, and you have covered the easy wins. For more ways to squeeze performance out of your setup, check our [Battlefield 6 best settings guide](https://gamebeacon.co/battlefield-6-best-settings/).