Date: Sat, 27 Jun 1998 16:44:08 +0200 (CEST) From: Malte Lance <malte@webmore.com> To: Russell Ingram <rfi@ws098.sandiegoca.ncr.com> Cc: freebsd-questions@FreeBSD.ORG, "Paul T. Root" <proot@horton.iaces.com> Subject: Re: Automounter for FreeBSD & DNS question Message-ID: <XFMail.980627164408.malte@webmore.com> In-Reply-To: <Pine.SUN.3.91.980626124426.22960D-100000@ws098>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <malte@webmore.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.980627164408.malte>