LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 03-21-2002, 09:11 PM   #1
tarballedtux
Member
 
Registered: Aug 2001
Location: Off the coast of Madadascar
Posts: 498

Rep: Reputation: 30
Proper DNS setup


How do i set up DNS properly on my box? What I mean is what are the correct settings I'm supposed to give to netconf.
I have a static hostname and I gave it to netconf along with domain:
pcpXXXXXXX.XXXX.comcast.net
I did not give any aliases to either of the two NICS. But the command line still says:
[root@mybox /]

mybox was the old name i gave the netconf but now i put the proper static hostname in. I did a service network restart but the command line stayed the same.

Thanks in advance
 
Old 03-21-2002, 09:22 PM   #2
siddiqu
Member
 
Registered: Mar 2001
Location: India
Posts: 332

Rep: Reputation: 30
Hi..


use hostname command to setup the hostname. It will change. then logout and login again.


Siddiqu.T
 
Old 03-21-2002, 09:29 PM   #3
Sixpax
Member
 
Registered: Mar 2002
Distribution: Mandrake 8.1
Posts: 386

Rep: Reputation: 30
Check the /etc/sysconfig/network file to be sure everything looks right in it. Also make sure the entry for your machine is correct in /etc/hosts. Then check the /etc/resolv.conf file to be sure the domain is correct 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
help needed to setup a DNS server can anyone say how to configure a DNS server subha Linux - Networking 4 04-27-2012 11:50 PM
DNS setup. wr3kt Linux - Networking 0 04-29-2004 05:59 PM
DNS how to setup? wilcoNL Linux - Newbie 2 03-28-2004 06:25 AM
I need help with DNS setup! Please! fhiggins Linux - Networking 1 10-13-2003 09:07 PM
Proper setup order for an RH server? mephitic Linux - Networking 0 08-20-2003 06:10 PM


All times are GMT -5. The time now is 11:08 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration