Linux Make Sure /etc/resolv.conf Never Get Updated By DHCP Client
last updated in Categories BASH Shell, CentOS, Debian / Ubuntu, Fedora Linux, FreeBSD, Linux, Networking, RedHat and Friends, Ubuntu LinuxI am 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 the different network. I would like to keep my existing nameservers. How do I skip /etc/resolv.conf update on a Linux based system? How do I stop DHCP client from changing resolv.conf on Linux?