With some issues with the internet connection flushing DNS cache may help you - with the command ipconfig /flushdns.
To flush your DNS follow the steps below:
1. Press and release the Windows key + the R key on your keyboard.
2. Type CMD and Right-click on Command Prompt.
3. Select Run as Administrator to access the prompt.
4. Type netsh winsock reset and press the Enter key.
5. Restart your computer.
6. Repeat steps 1-3 to open a new Command Prompt.
7. Type ipconfig /release in the prompt.
8. Wait a few moments for all information to load.
9. Type ipconfig /renew in the prompt.
10. Wait a few moments for all information to load.
11. Type ipconfig /flushdns in the prompt.