Re: From network-scripts to NetworkManager on a router : questions

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



Le 18/02/2020 à 16:51, Anand Buddhdev a écrit :
This tells NetworkManager to leave /etc/resolv.conf alone. Now you can
put whatever you like in /etc/resolv.conf, and it will be left untouched.

I just found the answer after some more experimenting.

1. If you put some DNS information in any of your ifcfg-* interfaces, then NetworkManager will overwrite /etc/resolv.conf with whatever it find in there.

  BUT...

2. If there is no DNS information in any of the ifcfg-* files, then NetworkManager will leave your manually edited /etc/resolv.conf configuration untouched. And this is the default behavior, no need to configure it specifically.

Problem solved. :o)

Thanks very much to everybody in this thread for your contribution.

Niki

--
Microlinux - Solutions informatiques durables
7, place de l'église - 30730 Montpezat
Site : https://www.microlinux.fr
Mail : info@xxxxxxxxxxxxx
Tél. : 04 66 63 10 32
Mob. : 06 51 80 12 12
_______________________________________________
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