Fix PS4 error NW-31254-5
A network error occurred. Response from the DNS server is delayed or unstable. (NW-31254-5)
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 documents NW-31254-5 as "A network error occurred. Response from the DNS server is delayed or unstable." [1]. Functionally it is the twin of NW-31253-4: the console's network link works, but name resolution is too slow or too flaky to keep up. Sony's fix list is correspondingly practical - restart console and router, run the connection test, check for provider maintenance, and verify the two manual DNS fields [1]. With a Smart DNS subscription there is one more moving part than Sony's page accounts for: the provider resolvers answer only for registered household IPs, and an unregistered IP produces exactly this slow-or-dead response pattern.
Fix it step by step
Cause 1: A wrong or stale value in the Primary or Secondary DNS field
Sony's own instruction for this code is to verify both fields when Manual was chosen [1]. The two addresses must match what the provider currently publishes - Unlocator's walkthrough shows the screen with two distinct four-part values [3]. Older values from a provider that renumbered its resolvers answer intermittently, which reads on screen as "delayed or unstable" rather than a clean failure.
Fix:
- Open Settings > Network > Set Up Internet Connection, pick your connection type and choose Custom.
- Walk the wizard to DNS Settings, confirm it is Manual, and retype both fields from the provider's current page [3].
- Finish with Next, let the connection test run, then test a streaming app too.
This re-type takes two minutes and resolves most occurrences. The wizard sequence is Steps 4-7 of the PS4 DNS guide.
Cause 2: Your IP is not registered with the Smart DNS provider
An unregistered household IP is the classic Smart DNS cause of resolver responses that arrive late or never. Smart DNS Proxy states the dependency in one sentence: whenever your PS4 or router IP changes, the service stops working until you log in and update the IP [2]. Router reboots, ISP lease rotations and provider-side changes all trigger it without any console action.
Fix:
- Open the provider's account page in a browser on the same network as the console.
- Trigger the IP update or registration and confirm the shown address matches your household IP.
- Restart the PS4 and rerun Test Internet Connection.
If the account page already shows your current address, registration is not the cause - move on to the resolver-health check.
Cause 3: The resolver itself is overloaded
Sony's page tells you to check provider maintenance [1]; for Smart DNS users the provider's own status page is the equivalent check. A resolver under load answers slowly before it stops answering at all, and that interim state is precisely what this code reports. No console or router change fixes a loaded resolver.
Fix:
- Check the provider's status page or support announcements.
- If the service is degraded, wait for recovery - your settings are already correct.
- If the provider reports everything healthy, retest; then continue with the network-path checks below.
Cause 4: Wi-Fi instability between console and router
The network link itself can be the unstable part even though the message names the DNS server - a wireless console that briefly loses packets experiences resolver timeouts that surface as this code. Sony's page starts with restarting the PlayStation 4 system and router to refresh the network connection [1], which is also the cheapest test.
Fix:
- Restart the PS4 and the router completely, then test again.
- If you are on Wi-Fi, move the console closer to the router or switch to a LAN cable for a comparison test.
- If a wired test is stable while wireless is not, the issue is the wireless link - the DNS settings are innocent.
If nothing helps
Set DNS Settings back to Automatic in the Custom flow (the undo section of the PS4 DNS guide) and see whether the router-assigned resolvers behave. If they do, the provider side is the weak link - re-register the IP and, if the code persists, open a support ticket with the provider. If the router resolver also reports unstable responses, the problem is your line or router: power-cycle the router, check other devices for slow name resolution, and contact your internet provider - which is where Sony's own instructions point for the non-manual case [1]. Keep in mind that a resolver working "slowly but eventually" can look fine in a browser on a laptop and still break a game console, so test on the console itself.
FAQ
What is the difference between NW-31254-5 and NW-31253-4?
The messages differ by one word - the DNS server's response is described as delayed or unstable in both codes, and Sony's fixes overlap heavily. NW-31254-5's page leans on the manual-DNS verification and the connection test, so treat the two pages as one troubleshooting ladder.
The connection test is green but apps fail. Is this still DNS?
Yes, possibly. Sony's fix list includes running Settings > Network > Test Internet Connection to check the connection status [1] - a green test proves reachability, but a resolver that answers slowly can still time out inside apps. Re-register the IP and retest the app, not just the test screen.
I never changed the DNS. Why this code?
Sony's page covers that case: the system might not have obtained an IP address yet, or DNS settings may have been changed, and the provider is the suggested contact [1]. Recent router swaps or a reset console are common triggers.
Setting up DNS on this device?
Sources
- PlayStation Support - PS4 error code NW-31254-5 - accessed 2026-11-23
- Unlocator - How to set up DNS on PlayStation 4 - accessed 2026-11-23
- Smart DNS Proxy - PS4 DNS Setup for Smart DNS Proxy - accessed 2026-11-23