Someone helped me to resolve the same issue I got a few months ago. It depend on which browser you're using? Based on the error message you're getting you would need to follow the steps below:
Flush the DNS
Press Windows + R
Type CMD, press Enter.
On the command prompt type: netsh winsock reset catalog then press Enter.
Restart the computer to check if it works.
Change DNS settings
Right-click on the Network icon in the system tray, then click on Open Network and sharing center.
A Window will open, on the left pane click on change adapter settings
You will see all Network connection, you need to identify which is active and connected. It can be LAN or wireless connection. Right-click on it then click Properties.
Check "Use the following DNS Server addresses option, put the following numbers.
Preferred DNS Server: 8.8.8.8
Alternate DNS Server: 8.8.4.4
Click Ok.
You may also try to use other browsers therefore there's a guide available online you might check
https://techloris.com/dns_probe_finished_nxdomain/.