Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-25-2004, 12:57 AM   #1
LQ Newbie
Registered: Mar 2004
Posts: 2

Rep: Reputation: 0

I am installing qmail on one of my servers, and am having problems with the hostname not being in my DNS... I assume I need my hostname to be ? and if so, how do I set it to that?
Old 03-25-2004, 01:10 AM   #2
Registered: May 2003
Location: Cambridge, MA
Distribution: SuSE, RedHat, and OpenBSD
Posts: 116

Rep: Reputation: 15
Not sure exactly what you mean, but it sounds like you need to register a domain (try or some other registrar) and then set your local hostname to match that.

Explain some more if this doesn't help.
Old 03-25-2004, 01:13 AM   #3
LQ Newbie
Registered: Mar 2004
Posts: 2

Original Poster
Rep: Reputation: 0
okay, I have my domain, I ahve the DNS set up perfeclty fine, we had a machine crap out and I am replacing it, I am setting up Q-mail and get this error :
Your hostname is RANDOM.
hard error
Sorry, I couldn't find your host's canonical name in DNS.
You will have to set up control/me yourself.

I have user the command hostname to change my current hostname, and It doesn't seem to help any... I'm lost, this was working before, and it sounds to me everywhere that I read ppl are saying it is a DNS issue, but the DNS has not changed!

please help
Old 03-25-2004, 01:44 AM   #4
LQ Guru
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
Try putting your domain name in control/me
Old 03-25-2004, 04:19 AM   #5
Registered: Aug 2003
Location: Norway
Distribution: Debian UNSTABLE + latest 2.6.kernel
Posts: 391

Rep: Reputation: 30
look at the files in /etc

something called hostname or something like that... Depends on what distro you're using..
But it should be there...
*thinks* Nrmally at least...


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
hostname gururaj Linux - Networking 2 01-05-2006 06:02 PM
hostname changes R153-Ab0V3 Linux - Newbie 6 01-11-2004 12:36 AM
Hostname jpauls104 Slackware 5 07-28-2003 01:16 PM
Hostname _maco_ Linux - General 3 07-07-2003 08:44 PM
hostname command vs. $HOSTNAME env. variable Silly22 Linux - Networking 2 03-29-2002 06:01 PM > Forums > Linux Forums > Linux - Newbie

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

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