VU eduroam/Ubuntu issue

Problem:



When connecting to other Wi-Fi networks after eduroam, all the websites from vu.lt domain do not seem to load (ERR_NAME_NOT_RESOLVED). Looks like a DNS problem.

Vilnius University eduroam seems to change /etc/resolv.conf by adding search vu.lt line (Ubuntu 17.04 and above).

Solutions:



Solution #1
Restart the computer. Simple and quite annoying.

Solution #2:
sudo resolvconf -u
This will generate a new resolv.conf file.

Solution #3:
1. sudo nano /etc/resolv.conf
2. Remove search vu.lt
3. Save (Ctrl+O; Enter)

Solution #4:
Will be found and added once current options become irritating enough.