Fix PS4 error NW-31246-6
DNS settings are invalid. (NW-31246-6)
Affects: PS4 consoles using manual DNS (Sony's error-code documentation); the same checks apply to a PS5 with manual DNS
What this message means
Sony's own error page gives the meaning in one line: "DNS settings are invalid." [1]. The console has a network link to your router but the resolver addresses it was given do not produce usable answers - typically because one of the two manual DNS fields holds a typo, an incomplete address, or a service address that no longer answers. Sony's fix instructions single out exactly those two fields: when Manual was selected under IP Address Settings or DNS Settings, verify that Primary DNS and Secondary DNS are set correctly [1]. If you never touched the DNS at all, the console may simply not have obtained an IP address, in which case Sony points to your internet provider [1].
Fix it step by step
Cause 1: A mistyped DNS address
The most likely cause by far when the code appears right after a Smart DNS setup. Both provider walkthroughs show two four-part addresses that must be copied exactly - Smart DNS Proxy's example says "Set Primary DNS and Secondary DNS from below." [2] and Unlocator's example fills both fields with distinct addresses [3]. One transposed digit is enough to invalidate the setting.
Fix:
- Open Settings > Network > Set Up Internet Connection on the PS4.
- Choose Use Wi-Fi or Use a LAN Cable, then Custom, and walk the wizard to the DNS Settings screen.
- Set DNS Settings to Manual and retype both fields from the provider page, then finish the wizard with Next and let the connection test run.
Re-reading the values against the provider page fixes the vast majority of these cases. The exact screen sequence is Step 6 of the PS4 DNS guide.
Cause 2: Your Smart DNS subscription has not registered your IP
If both fields are provably correct but the console still reports invalid DNS settings, the resolver may be rejecting your household because it is unknown to the provider. Smart DNS providers match your account to the IP your connection comes from; when the IP is new or changed, the service stays inert. Smart DNS Proxy states the mechanism directly: whenever your PS4 or router IP changes, the service stops working until you log in and update the IP [2].
Fix:
- Open the provider's account page in a browser on the same network as the console.
- Confirm the IP shown there matches your current household IP and trigger the update or registration button.
- Restart the PS4 and run Test Internet Connection again.
If the account page shows a different address than your current one, re-registration is the whole fix. The verify section of the PS4 DNS guide covers the order of checks.
Cause 3: The console never obtained an IP address
Sony's page names this case explicitly: the system might not have obtained an IP address, and the provider is the suggested contact [1]. With no valid local address, the DNS fields can be perfect and the connection test still fails.
Fix:
- Run Settings > Network > Test Internet Connection and check the IP address row specifically.
- If the IP row fails, restart the router and the console, then test again.
- If it still fails, set IP Address Settings back to Automatic in the Custom flow rather than a stale manual address.
This is a DHCP-side problem, not a DNS one, so do not change the resolver fields here. Step 4 of the PS4 DNS guide keeps the IP settings on Automatic for exactly this reason.
Cause 4: Provider DNS addresses that no longer answer
Provider services occasionally retire or renumber resolver addresses. If your stored values are months old and the provider has changed its infrastructure, the console can report the invalid-DNS state even though you typed the old values correctly at the time.
Fix:
- Open the provider's website and compare its current published addresses with what the console holds.
- If they differ, retype the new pair in the Custom flow and test.
- If the addresses match and the code persists, the provider's support or status page is the next stop - the console is doing what it was told.
If nothing helps
Set DNS Settings back to Automatic in the Custom flow (the undo section of the PS4 DNS guide) and confirm the console works with the router-assigned resolvers. If it does, the problem is on the provider side - recheck the subscription status and re-register the IP. If it does not, the failure was never DNS: restart the router once fully, check whether other devices on the same network resolve names, and only then contact the internet provider, which is where Sony's own instructions end for the non-manual case [1]. As a last resort, a console-side network reset via the router's parental or device controls can clear a stuck state.
FAQ
Does NW-31246-6 mean my provider is down?
No. Sony's page defines this code as invalid DNS settings, not as an outage [1]. A provider outage usually produces the delayed-response codes NW-31253-4 or NW-31254-5 instead.
I did not change any DNS. Why do I see it?
Sony's fix covers this case too - the console may not have obtained an IP address, or the DNS settings may have been changed, and contacting the internet provider is the suggested next step [1].
Can a PS5 show NW-31246-6?
Sony documents NW-31246-6 under the PS4 error-code namespace [1]. PS5 connection failures use the newer NW-102xxx codes, but the underlying cause - mistyped resolver addresses - is identical.
Setting up DNS on this device?
Sources
- PlayStation Support - PS4 error code NW-31246-6 - accessed 2026-11-23
- Smart DNS Proxy - PS4 DNS Setup for Smart DNS Proxy - accessed 2026-11-23
- Unlocator - How to set up DNS on PlayStation 4 - accessed 2026-11-23