I moved my Linux laptop from my home network, where everything seemed to be working fine, to another wireless network. All of a sudden, it no longer seems to be able to resolve dns (at least Firefox/Thunderbird).
My Firefox/Thunderbird in my Windows virtual machine works fine, and in Linux all other Internet things seem to be working fine (such as Skype, and pinging google.com etc). I can even enter an IP address directly into Firefox and it will work, just typing an actual domain name such as www.google.com
won't work and give the standard 'cannot find server at ....' error.
What could have gone wrong here? (Reinstalling Firefox/Thunderbird to latest versions, and starting them in safe mode changed nothing.)
The only thing I can think of is looking at 'route' command output, which shows:
Destination Gateway Genmask Flags Metric Ref Use Iface
172.16.147.0 * 255.255.255.0 U 0 0 0 vmnet1
192.168.1.0 * 255.255.255.0 U 2 0 0 wlan0
172.16.104.0 * 255.255.255.0 U 0 0 0 vmnet8
default 192.168.1.254 0.0.0.0 UG 0 0 0 wlan0
Earlier I made a note to myself to run the following command, 'route add default gw 192.168.1.1', so I ran that command and ended up with 2 'default' entries in the output above. Still didn't get Firefox/Thunderbird to work. So removed 192.168.1.254 as a default entry, and still didn't work. So then removed all 'default' entries and still didn't work. I'm so confused. (I didn't run 'sudo service NetworkManager restart' between every change, wasn't sure if I needed to.)
Any other changes to dns settings I may need to make? Not sure why things would have just stopped working when I changed the wireless network to which my Linux laptop is connected. But everything else seems to be working fine, except for DNS resolution in Firefox/Thunderbird.
If you could please help, I'd really appreciate it!