LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-16-2008, 06:13 AM   #1
farooqhussain
LQ Newbie
 
Registered: Feb 2008
Location: Lahore, Pakistan
Posts: 10

Rep: Reputation: 0
/etc/reslove.conf


Hello Everyone,

I have using FC9. When I edit this file it will automatically wash my changes. I want to add my nameserver 192.168.1.253 in it. I made that entry four or five times but every time when I refresh the services the changes which I made will be washout.

[root@nxb /]# cat /etc/reslov.conf

# generated by NetworkManager, do not edit!



# No nameservers found; try putting DNS servers into your
# ifcfg files in /etc/sysconfig/network-scripts like so:
#
# DNS1=xxx.xxx.xxx.xxx
# DNS2=xxx.xxx.xxx.xxx
# SEARCH=lab.foo.com bar.foo.com

If anyone help in this regard I will thankful for him
 
Old 09-16-2008, 06:21 AM   #2
klearview
Member
 
Registered: Aug 2006
Location: London
Distribution: Debian, Kubuntu
Posts: 572

Rep: Reputation: 75
NetworkManager configures your network so do as the file says and edit /etc/sysconfig/network-scripts/<your_network_interface> and add nameserver there. Alternatively disable NetworkManager.
 
Old 09-16-2008, 08:34 AM   #3
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 69
Quote:

# No nameservers found; try putting DNS servers into your
# ifcfg files in /etc/sysconfig/network-scripts like so:
#
# DNS1=xxx.xxx.xxx.xxx
# DNS2=xxx.xxx.xxx.xxx
# SEARCH=lab.foo.com bar.foo.com
Isn't this obvious? Just read what it says there.
 
  


Reply


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
Host Name Reslove problem in sles10 cnivas Linux - Networking 1 05-03-2008 12:03 PM
Reslove Dependency for mythtv Alinuxnoob SUSE / openSUSE 1 03-31-2006 04:46 AM
slow IP reslove EAD Linux - Networking 1 03-16-2006 05:52 PM
BIND 9 won't reslove host names jglazner Linux - Networking 4 02-23-2004 06:42 PM
Can't get bind to reslove for windows clients. bentman78 Linux - Software 3 10-25-2003 02:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:48 AM.

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