PS4 DNS error nw-31247-7 is an error that usually occurs when the PS4 cannot connect to the internet via Wifi.
Some of the solutions to this error include setting the domain name system (DNS) to manual.
Please see our in-depth walk-through solutions below.
If you have configured your router DNS server, please set your configuration to your PS4. If you do not have any DNS server, you may use Google Public DNS.
DNS server can also be obtained from your internet service provider. Please call them to ask if they could provide a DNS for your PS4 configuration.
In addition, you may also want to set your internet protocol (IP) address to static to stabilize your connection to your modem router. If you do not know what IP address to use, go to “View connection” copy the current IP address.
If it fails, you may need to do a power cycle to apply the changes. Please turn off your PS4 and modem router at the same time, then unplug it from the power source for at least three minutes. Turning off your devices allow the memory to flush and get a fresh start. Try your device again.