I suspect that the name server provided by my ADSL modem/router is buggy. Whenever I browse to a website for the first time in ubuntu, resolving the domain name takes at least 15 seconds.
To work around that problem, I changed the nameserver configuration in
/etc/resolv.conf from 192.168.1.1 (my ADSL modem) to 18.104.22.168 (google's primary DNS). This seems to fix the problem, but unfortunately my changes to
/etc/resolv.conf are overwritten by "NetworkManager" at each startup.
What is the proper way to configure the name server IP in ubuntu 10.4?