From owner-freebsd-questions Thu Feb 15 18:37:16 2001 Delivered-To: freebsd-questions@freebsd.org Received: from w2xo.pgh.pa.us (ipl-229-061.npt-sdsl.stargate.net [208.223.229.61]) by hub.freebsd.org (Postfix) with ESMTP id 08D5E37B503 for ; Thu, 15 Feb 2001 18:37:12 -0800 (PST) Received: from shazam (shazam [192.168.5.3]) by w2xo.pgh.pa.us (8.9.3/8.9.3) with ESMTP id CAA48156; Fri, 16 Feb 2001 02:37:06 GMT (envelope-from durham@w2xo.pgh.pa.us) Date: Thu, 15 Feb 2001 21:37:28 -0500 (EST) From: Jim Durham X-Sender: durham@shazam.int To: Dana Cc: freebsd-questions@FreeBSD.ORG Subject: Re: What is my hostname? In-Reply-To: <039901c09773$d7dea5e0$5e681a41@kc.rr.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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