How to Fix PlayStation Error NW-31201-7 (DNS Error)
What error NW-31201-7 means
Every time your PlayStation connects to anything online, it uses DNS — the Domain Name System — to translate human-readable server names into numeric IP addresses. Error NW-31201-7 means that translation step is failing. Your console successfully joined your Wi-Fi or wired network and got a local IP address, but when it asked "where is PlayStation Network?", no usable answer came back. Without DNS, the console is effectively offline even though the network itself works.
The fault almost always lies one step upstream from the console: your router's DNS cache is stale or corrupted, your internet provider's DNS servers are slow or down, or someone manually entered a bad DNS or MTU value in the console's network settings. That is good news, because all of those are fixable in minutes. Actual PlayStation Network outages can also trigger this code, but they are the exception — always check your own network first, and Sony's status page second.
Common causes
- Stale router DNS cache: the router is handing out bad or expired DNS answers until it is rebooted.
- Unreliable ISP DNS servers: some providers run slow or flaky DNS that intermittently fails.
- Wrong manual DNS or MTU values: a mistyped custom DNS entry or MTU setting breaks name resolution.
- Weak Wi-Fi signal: packet loss on a poor wireless link corrupts DNS responses in transit.
- Router VPN or custom firmware: misconfigured VPN or DNS filtering on the router blocks Sony's servers.
- PlayStation Network outage: rare, but a genuine PSN problem produces the same symptom from Sony's side.
How to fix error NW-31201-7 — step by step
Work through these in order. The manual DNS change in step 3 is the fix that sticks.
- Restart your router and your console. Unplug both your modem and your router from power — not just a software reboot — and leave them unplugged for a full 60 seconds. Plug the modem back in first, wait for its lights to stabilize, then plug in the router. Meanwhile, fully power off your PlayStation (not rest mode) and turn it back on once the network is up. This clears stale DNS caches on every device in the chain and resolves a large share of NW-31201-7 cases on its own.
- Test the internet connection. On PS5, go to Settings, then Network, and choose Test Internet Connection; on PS4, go to Settings, then Network, then Test Internet Connection. Watch which stage fails: failing at "Obtain IP Address" points to the router, failing at "Internet Connection" points to the ISP or DNS, and failing only at "PlayStation Network Sign-In" points to Sony's servers. The exact failure stage tells you where to focus.
- Set manual DNS servers. This is the core fix. On PS5, go to Settings, then Network, then Settings, then Set Up Internet Connection. Select your network and choose Advanced Settings. Change DNS Settings from Automatic to Manual, then enter
8.8.8.8as the Primary DNS and8.8.4.4as the Secondary DNS. Leave everything else unchanged, save, and run the connection test again. These are Google's free public DNS servers — fast, reliable, and a proven workaround when ISP DNS is the problem. On PS4, the path is Settings, then Network, then Set Up Internet Connection, then Custom, where you will reach the same DNS Settings screen. - Check the MTU setting. In the same Advanced Settings (PS5) or Custom setup (PS4) screen, look at MTU Settings. It should be set to Automatic, which uses 1500. If someone previously set a manual value that is too low or too high, packets fragment and DNS lookups fail intermittently. Restore it to Automatic, save, and test again.
- Try a wired connection. If you are on Wi-Fi, run an Ethernet cable from the router directly to the console and test again. Wireless interference, distance, and congestion cause exactly the kind of intermittent DNS corruption behind this error. If the wired connection works perfectly, your Wi-Fi link was the problem — consider moving the router closer, switching Wi-Fi bands, or staying wired for gaming.
- Check PlayStation Network status. If everything local checks out, open a browser on your phone and visit the official PlayStation Network status page. If PSN shows an outage, the error is on Sony's side and no settings change will help — wait for the service to recover, then sign in again. Outages usually resolve within a few hours.
Did this fix it? Quick checklist
- The connection test passes all stages including PSN sign-in
- You can browse the PlayStation Store and launch online games
- The error does not return after restarting the console
- Other devices on the same network also connect normally
If the error keeps returning every few days, your router's DNS handling is likely degrading — check for a router firmware update in its admin panel, or consider leaving the manual DNS settings in place permanently. As a deeper reset, you can also restore the console's network settings to default and re-enter the manual DNS values fresh.
Frequently asked questions
What does PlayStation error NW-31201-7 mean?
NW-31201-7 is a DNS error: your PlayStation connected to your local network but could not resolve server addresses, so it cannot reach the internet or PlayStation Network. The fault is usually your router's DNS, your ISP, or a misconfigured network setting on the console.
Is it safe to change DNS to 8.8.8.8 on PlayStation?
Yes. 8.8.8.8 and 8.8.4.4 are Google's free public DNS servers, widely used as a reliable alternative to ISP DNS. Changing DNS only affects how domain names are resolved — it does not expose your console or change your IP address.
Why does NW-31201-7 keep coming back?
Recurring DNS errors usually mean your router or ISP's DNS servers are unreliable. Setting manual DNS on the console fixes the symptom permanently, but if the router itself is failing, replacing or factory-resetting it may be needed.
Can a VPN cause NW-31201-7?
Yes, if your router runs a VPN or misconfigured custom DNS. VPN DNS servers can be slow or blocked by Sony's network. Disable the router VPN temporarily or set the console's DNS manually to bypass it.