[CentOS] Unable to edit resolv.conf

Fri Jan 13 15:10:07 UTC 2017
Gordon Messmer <gordon.messmer at gmail.com>

On 01/13/2017 04:49 AM, TE Dukes wrote:
> I changed ISPs and need to update name servers in resolv.conf.
...
> I have Network Manager turned off and when I enable it , eth0 and eth1 have
> no entries.  I enabled it, added the connections, but still no changes.

If you want to use NetworkManager, edit 
/etc/NetworkManager/NetworkManager.conf and add "dns=none" in the main 
section:

[main]
plugins=ifcfg-rh
dns=none

If you don't want to use NetworkManager, then set PEERDNS=no and remove 
any DNS1, DNS2, etc settings in /etc/sysconfig/network-scripts/ifcfg-*