From owner-freebsd-questions Wed Jun 24 22:37:56 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA23307 for freebsd-questions-outgoing; Wed, 24 Jun 1998 22:37:56 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.144.32]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA23276 for ; Wed, 24 Jun 1998 22:37:42 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.8.5/8.8.8) with SMTP id WAA16234; Wed, 24 Jun 1998 22:37:37 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Date: Wed, 24 Jun 1998 22:37:37 -0700 (PDT) From: Doug White To: Russell Ingram cc: freebsd-questions@FreeBSD.ORG Subject: Re: Automounter for FreeBSD & DNS question In-Reply-To: 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 Wed, 24 Jun 1998, Russell Ingram wrote: > I've been integrating a FreeeBSD machine into our environment in my spare > time. I'm using FreeBSD version 2.2.2. Everything has been working quite > well I've only run into two issues: > > 1. I can't find the equivalent to Sun's automounter on FreeBSD. > Is there one? Yes, it's called amd. > 2. I'm using DNS. When I address a machine that's in the hosts file > I get a message on the console (as in this time I tried to do a > ping to ws098): > > Jan 24 14:31:28 rtss12 ping : gethostby*. gethostanswer: asked > for "ws098", got"ws098.SanDiegoCA.NCR.COM" It did a lookup and got a completion instead of an IP. > the ping then works. If the machine is not in the hosts file I > get the same message on the console and the ping returns: > > ping: unknown host ws151 > > Is there some way to tell FreeBSD to ignore the domain added to > the machine name. The Suns and other unix machines don't exhibit > this behavior. Don't use a hosts file? Check /etc/host.conf and see what order the `hosts' and 'bind' items are. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message