Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-05-2012, 03:02 AM   #1
Registered: Sep 2011
Posts: 52

Rep: Reputation: Disabled
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.
Old 04-05-2012, 04:23 AM   #2
Senior Member
Registered: May 2010
Location: Planet Earth
Distribution: Debian
Posts: 1,030

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
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.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
networkmanager mods resolv.conf and slows down internet urentity Debian 2 04-09-2009 04:44 PM
about resolv.conf kpachopoulos Linux - Newbie 2 03-03-2008 03:26 PM
DNS Hosts.conf or resolv.conf problem mac_casey SUSE / openSUSE 0 03-26-2006 10:21 AM
resolv.conf?? wrat Linux - Newbie 3 06-14-2004 05:37 PM
resolv.conf ricemark20 Linux - Networking 12 11-11-2003 05:08 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:01 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration