Adding nameserver to dhcp

 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?

Continue reading