Re: Unable to edit resolv.conf

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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-*
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux