---

How To: Make Sure /etc/resolv.conf Never Get Updated By DHCP Client

I’m using GNU/Linux with the Internet Systems Consortium DHCP Client. The dhclient, provides a means for configuring one or more network interfaces using the Dynamic Host Configuration Protocol. It also updates my /etc/resolv.conf file each time my laptop connects to different network. I would like to keep my existing nameservers. How do I skip /etc/resolv.conf update on a Linux based system?

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis