When you open a website from your browser, you may get the following error.
When you get an above error, try the following solution:
Open command prompt or PowerShell and execute the following command to flush your DNS resolver cache.
After finding the IP address of the DNS server, try pinging it. Make sure you get a response from DNS server.
Try using Google's public DNS servers. Use the following IP addresses for preferred and alternate DNS servers.
Preferred DNS server: 126.96.36.199
Alternate DNS server: 188.8.131.52
The final workaround involves Ethernet cable/router and Wi-Fi device, unplug and plug them.