NextPlayIntelNextPlayIntel

Explore

PS4 error code

PS4 NW-31246-6 Error: DNS Settings Invalid, How to Fix

By Tulasiram Pemmadi · Published · Updated · Source checked 17 November 2026

NW-31246-6 in one line: DNS settings are invalid.
Try this first: Sony’s first step is to restart the PS4 to refresh the network connection.
Name-to-address lookup rows with a broken arrow beside the NW-31246-6 DNS Settings Invalid headline

What NW-31246-6 means

PlayStation Support says: “DNS settings are invalid. If you set IP Address Settings or DNS Settings to Manual, make sure the Primary DNS and Secondary DNS are set correctly. Otherwise the system might not have obtained an IP address, or the DNS settings may have been changed.” (official page)

NW-31246-6 is a PS4 network error that Sony says means the DNS settings are invalid. Restart the PS4 to refresh the connection and run Test Internet Connection. If you entered DNS manually, check the Primary and Secondary DNS. If you didn’t, Sony says the PS4 may not have an IP address, so contact your ISP. DNS, the Domain Name System, translates names into IP addresses, as Sony’s network terms list explains. NW-31246-6 means the PS4’s DNS settings aren’t valid, so it can’t look up the servers it needs. Sony splits the code into two cases. If you chose Manual for IP Address Settings or DNS Settings when you set up the connection, check that both DNS entries are correct. Manual settings are under Custom when you set up a wired or Wi-Fi connection on PS4. Sony advises choosing Easy, or asking your ISP or network administrator, if you’re not familiar with these settings. If you never changed them, Sony says the PS4 might not have obtained an IP address, or the DNS settings may have been changed, and sends you to your ISP. Sony’s page doesn’t list specific DNS servers to use and doesn’t mention router resets for this code, so we haven’t added either. If the PS4 can’t join your Wi-Fi at all, NW-31297-2 is a different code about the Wi-Fi password or a busy network.

Match what you see

Where NW-31246-6 appears tells you where to start. Find the row closest to your situation, then jump to that step.

What you seeMost likely causeStart at
NW-31246-6 appears while connectingThe DNS settings are invalidRestart the PS4 to refresh the connection
You entered DNS addresses manuallyThe Primary or Secondary DNS may be wrongCheck both entries in a Custom connection setup
You used Easy setup and never changed DNSThe PS4 may not have an IP address, or DNS was changedContact your internet service provider
You’re not sure what to enterCustom network settings need details from your networkSet up the connection again with Easy

Likely causes

How to fix NW-31246-6, easiest first

  1. Restart the PS4
    Sony’s first step is to restart the PS4 to refresh the network connection.
  2. Run Test Internet Connection
    Go to Settings > Network > Test Internet Connection and check whether the error comes back.
  3. Check manual DNS entries
    If you chose Manual for IP Address Settings or DNS Settings when you set up the connection, make sure the Primary DNS and Secondary DNS are set correctly. To change them, go to Settings > Network > Set Up Internet Connection, choose Wi-Fi or a LAN cable, then select Custom.
  4. Not sure? Set the connection up with Easy
    Sony’s connection guide says to select Easy, or to ask your ISP or network administrator, if you’re not familiar with the Custom settings. Go to Settings > Network > Set Up Internet Connection, choose Use Wi-Fi or Use a LAN Cable, then Easy. Choose the right network and password; if that part fails, see NW-31297-2.
  5. Contact your internet service provider
    If you didn’t set anything manually, Sony says the PS4 may not have obtained an IP address, or the DNS settings may have been changed. It says to contact your ISP for help. If the connection works but a server refuses it, WS-37397-9 is a different code.
Fixes at a glance
StepWhat to doSource
1Restart the PS4Official
2Run Test Internet ConnectionOfficial
3Check manual DNS entriesOfficial
4Not sure? Set the connection up with EasyOfficial
5Contact your internet service providerOfficial

When to contact support

Sony sends NW-31246-6 to your internet service provider when the settings weren’t entered manually, because the console may not have been given an IP address. If your ISP finds no problem, contact PlayStation Support from Sony’s error page with the code and your Test Internet Connection result. For wider PS4 network help, see our PS4 troubleshooting guide.

NW-31246-6 FAQ

What is error code NW-31246-6?

Sony says NW-31246-6 means the DNS settings on your PS4 are invalid. Either a manually entered DNS address is wrong, or the PS4 didn’t get an IP address or its DNS settings were changed.

How do I fix NW-31246-6 on PS4?

Restart the PS4 and run Settings > Network > Test Internet Connection. If you entered DNS manually, check the Primary and Secondary DNS. If you didn’t, Sony says to contact your internet service provider.

Sources

Official sources last checked 17 November 2026.

Related codes and how they differ

See all PS4 codes

PS4 troubleshooting guide · All PS4 codes · Error code directory

About the Author

Tulasiram Pemmadi, Owner and editor. Researched and written with AI assistance, fact-checked by Tulasiram Pemmadi against the linked sources. Fixes were not tested on hardware by NextPlayIntel.