From owner-freebsd-questions Fri Mar 28 17:14:55 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id RAA20033 for questions-outgoing; Fri, 28 Mar 1997 17:14:55 -0800 (PST) Received: from cedb.dpcsys.com (cedb.DPCSYS.com [209.25.4.3]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id RAA20028 for ; Fri, 28 Mar 1997 17:14:49 -0800 (PST) Received: from localhost (dan@localhost) by cedb.dpcsys.com (8.8.5/8.8.2) with SMTP id BAA20947; Sat, 29 Mar 1997 01:14:39 GMT Date: Fri, 28 Mar 1997 17:14:39 -0800 (PST) From: Dan Busarow To: Jack W Doyle cc: freebsd-questions@FreeBSD.ORG Subject: Re: Aaarrgghh!!! This fscking hostname/domain setup... In-Reply-To: <19970328.153200.3910.0.N9OGK@juno.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Fri, 28 Mar 1997, Jack W Doyle wrote: > And in /etc/sysconfig: > > hostname="rhyolite.org" > defaultdomainname="rhyolite.org" Change defaultdomainname to "NO" (unless you happen to be running NIS on this) > Now we go on to /etc/resolv.conf: > > search rhyolite.org > nameserver 0.0.0.0 > nameserver 10.0.0.2 > > (and I don't want a nameserver -- just a domain name setup) The > /etc/host.conf is set up to look at bind first, then hosts. In /etc/host.conf you need to have hosts before bind for a part time connection. And if you are not running a nameserver your resolv.conf shouldn't say you're running a nameserver :) Make it domain rhyolite.org nameserver 123.123.123.1 # your ISPs name server 1 nameserver 123.123.123.2 # your ISPs name server 2 > But when I run nslookup with the debug mode on, the result is this: > > Server: rhyolite.org > Address: 0.0.0.0 > > >set debug > >telnet rhyolite ??? Just curious where you saw this? Try leaving telnet out of it Server: rhyolite.org Address: 0.0.0.0 >rhyolite and you might get an answer :) Dan -- Dan Busarow 714 443 4172 DPC Systems / Beach.Net dan@dpcsys.com Dana Point, California 83 09 EF 59 E0 11 89 B4 8D 09 DB FD E1 DD 0C 82