Today i came a cross a bit of a problem. At one of my customers im doing some testing on a lab system and needed to be patched into the labnetwork.
Its all handled by dhcp so thats ok, but for some strange network reason the dns lookup was very slow. So I needed to and another DHCP server to my /etc/resolv.conf. But this got overwritten as soon as the dhcp client got information again. So how do you fix that?
Edit /etc/dhcp3/dhclient.conf and add a line (or uncomment the on in there):
prepend domain-name-servers 10.10.10.10;
That will fix it.