Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Feb 2001 21:37:28 -0500 (EST)
From:      Jim Durham <durham@w2xo.pgh.pa.us>
To:        Dana <akadanak@kc.rr.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: What is my hostname?
Message-ID:  <Pine.BSF.4.21.0102152126060.213-100000@shazam.int>
In-Reply-To: <039901c09773$d7dea5e0$5e681a41@kc.rr.com>

next in thread | previous in thread | raw e-mail | index | archive | help


On Thu, 15 Feb 2001, Dana wrote:

> When I installed freeBSD (4.2 Stable) I entered my host
> as akadanak and the domain as kc.rr.com 
> rc.conf shows hostname=akadanak.kc.rr.com
> 
> The problem is that MySQL and apache both say
> cannot resolve hostname using localhost which is OK
> by me. 
> However, when I try and use mail it tells me that the mail 
> was rejected because root@akadanak.kc.rr.com does 
> not exist.
> 
> I connect to the internet just fine through roadrunner so
> I have a hostname but what should it be so these things
> will work?
> 

Does the name akadanak.kc.rr.com resolve? If I do
an nslookup on that name I get a non-existant
host/domain.

Both MySQL and apache will do a nameserver lookup
on startup. If you are pointing to a real nameserver,
that name lookup will fail. Samba will also fail to
start.

You need to fix your DNS problem and then all will be fine.
At least, put that name/domain in /etc/hosts.

Hope this helps..

-Jim Durham





To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0102152126060.213-100000>