Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 03-21-2002, 09:11 PM   #1
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:
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
Registered: Mar 2001
Location: India
Posts: 332

Rep: Reputation: 30

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

Old 03-21-2002, 09:29 PM   #3
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.


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 03:48 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