LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   NetworkManager /etc/resolv.conf (https://www.linuxquestions.org/questions/linux-newbie-8/networkmanager-etc-resolv-conf-938221/)

dann_radkov 04-05-2012 02:02 AM

NetworkManager /etc/resolv.conf
 
Hello Guys,
I have a quick question regarding Network Manager.I have seen an awkward situation whereby NetworkManager is started by default upon the first boot of the RHEL6 OS that just got installed.Therefore the /etc/resolv.conf file seems to be empty.I can disable the NM using chkconfig of course
#
#chkconfig --list NetworkManager
#service NetworkManager stop
#chkconfig --level 2345 NetworkManager off

But my question is rather what does NM use to configure its dns settings.I have read that it uses dnsmasque or something? Can you elaborate on that a little more ?
I want to turn off NM and use my classic /etc/resolv.conf file but it seems that this will require appending the dns info to the /etc/sysconfig/network-scripts/ifcfg files.

ukiuki 04-05-2012 03:23 AM

Does it get connection to internet after boot? If yes, probably dhcp client running and then there is no need to set the DNSs in resolv.conf, yet still possible to set manually the DNSs, with or without dhcp client.

Regards


All times are GMT -5. The time now is 05:19 AM.