Problem: Ubuntu unable to resolve hosts after a disrupted VPN session.
Reason: The DNS server not reset to normal from that of the VPN network.
Fix: On terminal, do –
- sudo vi /etc/resolv.conf
- Remove the “dns domain” and “dns server” lines from this file.
- Save and close the file.
- Restart browser or the app which needs to connect to internet.