From owner-freebsd-questions Tue Apr 23 17:33: 4 2002 Delivered-To: freebsd-questions@freebsd.org Received: from pioneernet.net (mail.pioneernet.net [207.115.64.224]) by hub.freebsd.org (Postfix) with ESMTP id 8C50D37B400 for ; Tue, 23 Apr 2002 17:32:59 -0700 (PDT) Received: from chip3.wiegand.org [66.114.152.128] by pioneernet.net (SMTPD32-6.06) id AD2417520116; Tue, 23 Apr 2002 17:32:36 -0700 Date: Tue, 23 Apr 2002 17:34:40 -0700 From: Chip Wiegand To: mpd Cc: chip.wiegand@simrad.com, freebsd-questions@freebsd.org Subject: Re: hostname problem, apparently only in X Message-Id: <20020423173440.349461a4.chip@wiegand.org> In-Reply-To: <20020423193514.A18995@rochester.rr.com> References: <20020423193514.A18995@rochester.rr.com> Organization: Alternative Operating Systems X-Mailer: Sylpheed version 0.7.0claws (GTK+ 1.2.10; i386--freebsd4.5) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Sooo, on Tue, 23 Apr 2002 19:35:14 -0400 mpd wrote: > > When I do nslookup with my ipaddress I get > > Can't find server name for address 157.237.xx.xxx: nonexistant > > host/domain Server: Cache02.ns.uu.net > > Address: 198.x.x.x > > Cache02.ns.uu.net can't find 157.237.65.118: nonexistant host/domain > > > > We have a dhcp server, NT, ip 157.237.xx.xxx. My freebsd box gets > > it's info from that dhcp server. > > Including the hostname? > > The hostname should be fully qualified, or at least listed in > /etc/hosts. I assume doing an nslookup on 'cwiegand2' doesn't find > anything. Try adding it to /etc/hosts if it isn't already, and make > sure 'hosts' is listed before 'bind' in /etc/host.conf (which I > believe is default.) Good point, I'm at home right now, I'll check that tomorrow. I probably forgot to enter that into the hosts file. Seems everytime I set up a new box I forget something. Guess I should make a list of what to do for each install. Anyway, I'm quite sure I need to add it to the hosts file. Later, Chip To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message