From owner-freebsd-questions Mon Jul 6 10:10:51 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA11042 for freebsd-questions-outgoing; Mon, 6 Jul 1998 10:10:51 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from sparc.SanDiegoCA.NCR.COM (tan7.NCR.COM [192.127.94.7]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA11034 for ; Mon, 6 Jul 1998 10:10:44 -0700 (PDT) (envelope-from rfi@sparc.SanDiegoCA.NCR.COM) Received: from ws098.sandiegoca.ncr.com (ws098.SanDiegoCA.NCR.COM [153.64.73.9]) by sparc.SanDiegoCA.NCR.COM (8.8.8/8.8.5) with ESMTP id KAA22708; Mon, 6 Jul 1998 10:09:49 -0700 (PDT) Received: (from rfi@localhost) by ws098.sandiegoca.ncr.com (8.8.5/8.8.5) id KAA25632; Mon, 6 Jul 1998 10:09:46 -0700 (PDT) Date: Mon, 6 Jul 1998 10:09:45 -0700 (PDT) From: Russell Ingram To: Malte Lance cc: freebsd-questions@FreeBSD.ORG, "Paul T. Root" 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 Thanks!! That fixed the problem. Russ On Sat, 27 Jun 1998, Malte Lance wrote: > Add > search domain.com > to your /etc/resolv.conf file, where domain.com is your domain-name. > > Malte. > > On 26-Jun-98 Russell Ingram wrote: > > Thanks to all those who replied. I appreciate the helping had. > > > > I guess I didn't phrase the second question that well. What my problem is > > it appears that the DNS server in my environment appends the domain to > > the end of the machine name in the response to the request for the IP > > Address. The FreeBSD machine thinks that this is not a match and gives an > > error and won't use the returned information. This means that I ether > > have to call a machine by it's machinename.domainname or maintain it in > > my local host file. Since there is a large number of machines and some of > > them change often I wouldn't want to maintain the hosts file. And > > I would prefer to not be required to type in the domainname, it's kind of > > long. And, none of the other UNIX machines in my environment exhibit this > > behavior. They just accept the response and use it. No warnings or errors > > anywhere. I thought there might be something wrong in my setup. If anyone > > knows what settings might be wrong or where I should put a list of > > friendly domains I'ld appreciate it. > > > > > > Thanks, > > Russ > > > > > > > > On Thu, 25 Jun 1998, Paul T. Root wrote: > > > >> In a previous message, Russell Ingram said: > >> > 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: > >> > >> > >> You'd probably be smart to upgrade to 2.2.6 (Release or Stable). > >> > >> > >> > 1. I can't find the equivalent to Sun's automounter on FreeBSD. > >> > Is there one? > >> > >> amd. It's a little different. I have a script that converts an auto_home > >> into a amd map. > >> > >> > >> > 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" > >> > > >> > 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. > >> > >> I guess I don't understand the problem. Are you saying that DNS is not > >> responding? Then you have a problem with either host.conf or resolv.conf. > >> > >> By chance is ws098 an alias of ws098.SanDiegoCA.ncr.com? (IE does it appear > >> second or third while ws098.sandiegoca.ncr.com is first in the line in > >> hosts?) > >> > >> > >> > Any suggestions would be appreciated. > >> > > >> > > >> > Thanks > >> > Russell.Ingram@SanDiegoCA.NCR.COM > >> > > >> > > >> > > >> > To Unsubscribe: send mail to majordomo@FreeBSD.org > >> > with "unsubscribe freebsd-questions" in the body of the message > >> > > >> > >> > >> -- > >> When MARRIAGE is illegal, only OUTLAWs will have INLAWS! > >> > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > > ---------------------------------- > E-Mail: Malte Lance > Date: 27-Jun-98 > Time: 14:51:40 > ---------------------------------- > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message