LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 08-28-2004, 03:52 PM   #1
nateDiggsCSU
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, 04:29 PM   #2
slano
Member
 
Registered: May 2003
Distribution: slack,gentoo
Posts: 57

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


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:50 PM.

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
Open Source Consulting | Domain Registration