Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 08-28-2004, 04:52 PM   #1
LQ Newbie
Registered: Jul 2004
Distribution: Fedora
Posts: 8

Rep: Reputation: 0
Command line DNS settings

Hello everyone--

I'm trying to set up a Fedora Core 2 server using the command line. I was able to set the ip address for the ethernet card but I am unable to figure out how to set DNS up through command line. I've been trying to google it for a little while with NO success. Any help other then just installing X?
Old 08-28-2004, 05:29 PM   #2
Registered: May 2003
Distribution: slack,gentoo
Posts: 57

Rep: Reputation: 16
just edit the /etc/resolv.conf file and add this line to it:
where is the IP address of your preferred DNS


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
How to set up DNS via command line? johnnybhoy67 Linux - Networking 5 10-21-2005 10:59 AM
configuring video settings from command line stannnn Linux - Newbie 1 06-19-2005 05:33 PM
Configure DNS printer via CUPS command line adagbg Red Hat 0 03-09-2005 11:46 AM
Command to output file content line by line aznluvsmc Programming 2 09-12-2004 08:45 PM
How to change volume/audio settings using the command line? brynjarh Linux - Newbie 3 07-08-2004 11:50 PM

All times are GMT -5. The time now is 09:25 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