From owner-freebsd-questions Sat Jun 27 07:46:07 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA18642 for freebsd-questions-outgoing; Sat, 27 Jun 1998 07:46:07 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from cyclone.degnet.baynet.de (www.degnet.baynet.de [194.95.214.129]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id HAA18591 for ; Sat, 27 Jun 1998 07:46:01 -0700 (PDT) (envelope-from malte@webmore.com) Received: from neuron.webmore.com (unverified [194.95.214.171]) by cyclone.degnet.baynet.de (EMWAC SMTPRS 0.83) with SMTP id ; Sat, 27 Jun 1998 16:47:58 +0200 Received: (from malte@webmore.com) by neuron.webmore.com (8.8.8/8.8.8) id QAA04573; Sat, 27 Jun 1998 16:44:08 +0200 (CEST) Message-ID: X-Mailer: XFMail 1.2 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Sat, 27 Jun 1998 16:44:08 +0200 (CEST) Reply-To: malte@webmore.com From: Malte Lance To: Russell Ingram Subject: Re: Automounter for FreeBSD & DNS question Cc: freebsd-questions@FreeBSD.ORG, "Paul T. Root" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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