
Changing the DNS server on your Xbox or PS5 is a popular tip for fixing lag, but it does not work the way many people think. DNS helps your console find game servers faster. It does not change the speed of your connection once you are in a match. This guide explains what DNS really does, how it differs from NAT type, and how to change DNS on your console in a few minutes.

What DNS Does for Your Console
The Domain Name System (DNS) turns names such as a game’s server address into the numeric IP addresses your console needs to connect. You can read the original specification in RFC 1035. By default, your console uses your internet provider’s DNS server. A slow or overloaded DNS server can make lookups take longer, which shows up when you start a game, join matchmaking or open a store page.
Does DNS Reduce Lag? Myth vs Reality
DNS does not control your in-game ping. Ping depends on the distance to the game server, your connection quality and the load on the network. A faster DNS server can still help in some ways:
- Faster lookups when you start a game or open the console store.
- Fewer failed or slow connections if your provider’s DNS is unreliable.
- In some cases, a different download server, which can change update speeds.
If you already have a stable connection, you may notice no difference. A custom DNS server will not fix a weak Wi-Fi signal, a slow plan or a busy network.
DNS vs NAT Type
DNS and NAT type are often confused, but they do different jobs.
| DNS | NAT type | |
|---|---|---|
| What it does | Translates names into IP addresses | Controls how your console connects to other players |
| What it affects | Lookup speed and server discovery | Matchmaking, party chat and joining friends |
| Typical settings | Provider default or a public DNS | Open, moderate or strict |
| How to improve it | Change the DNS server in console settings | Adjust router settings, such as UPnP or port forwarding |
If you cannot join friends or hear party chat, check your NAT type first. Changing DNS will not fix that.
How to Change DNS on Xbox and PS5
Menu names can change after a console update, so follow the on-screen wording if it looks different. For a longer walkthrough, see our full guide to the best DNS for Xbox and PS5.
Xbox Series X|S
- Open Settings, then General, then Network settings.
- Choose Advanced settings, then DNS settings.
- Select Manual.
- Enter the primary and secondary DNS addresses from the table below.
- Save, and let the console test the connection.
PS5
- Open Settings, then Network, then Settings.
- Choose Set Up Internet Connection and select your network.
- Open Advanced Settings and set DNS Settings to Manual.
- Enter the primary and secondary DNS addresses from the table below.
- Save and test the connection.
Which Public DNS Should You Choose?
| Provider | Primary DNS | Secondary DNS |
|---|---|---|
| Google Public DNS | 8.8.8.8 | 8.8.4.4 |
| Cloudflare | 1.1.1.1 | 1.0.0.1 |
| OpenDNS | 208.67.222.222 | 208.67.220.220 |
All three are widely used. Read more in the Google Public DNS documentation and the Cloudflare 1.1.1.1 documentation. The fastest option depends on where you live, so test them with a DNS benchmark tool and keep the one with the lowest response time. If you want to compare many more providers, see our list of the best DNS servers for gaming.
Is Custom DNS Worth It?
It takes a few minutes and costs nothing, so it is worth trying if your lookups feel slow or your provider’s DNS is unreliable. Just keep your expectations realistic: DNS will not lower your in-game ping, so also check your Wi-Fi, use a wired connection when you can and review your NAT type.
Frequently Asked Questions
Does changing DNS reduce lag on Xbox and PS5?
Not directly. DNS affects how quickly your console finds servers, not your in-game ping. It can still help if your current DNS is slow or unreliable.
Which DNS is best for Xbox Series X and PS5?
Google, Cloudflare and OpenDNS are all common choices. Test them from your location and keep the fastest one.
Is a custom DNS safe for gaming?
Yes, if you use a provider you trust, such as Google, Cloudflare or OpenDNS. Avoid unknown DNS servers.
What is the difference between DNS and NAT type?
DNS translates names into IP addresses. NAT type controls how your console connects to other players. Each one fixes a different problem.
Conclusion
A custom DNS server is a quick, free tweak that can make lookups faster, but it is not a cure for lag. Use it together with a wired connection and the right NAT type for the best results.

[…] As the primary developer of DNSCrypt, OpenDNS supports both IPv4 and IPv6 addresses and includes the DNSCrypt protocol along side DNS-over-HTTPS (DOH), ensuring a fast and secure net enjoy faster dns for xbox gaming. […]