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.
Kj [/.] Sreekumar programs computers as a hobby and profession. Into programming from his school days, Sree uses Codemarvels to key in facts and fixes he finds interesting while working on different projects. Some of the articles here give away a few shades of his philosophical leanings too.