SUMMARY: Local hostname problems with DNS

From: Dave Roberts (djr@saa-cons.co.uk)
Date: Wed Jul 17 1996 - 08:26:39 CDT


Wow, this list sure gets answer when you Americans wake up :-)

My orginal problem in one sentance: "When I use nslookup with a simple
hostname, DNS fails and is actually looking for 'hostname.co.uk'."

Hitting the nail on the head, Doug Bloebaum <blabes@datalytics.com>, was
kind enough to at work on time in EST, and hence mailed back thusly:-

> I got bit by this one a while back, too. It seems that Sun's resolver
> will append the NIS (and I assume NIS+) domainname to DNS queries.
> This makes sense. The part that doesn't is that it strips the first
> level from the domainname UNLESS it begins with a "+". To get around
> this I added the following line to /etc/resolv.conf:
>
> domain saa-cons.co.uk

Thanks also to "Andrew F. Mitchell" <afm@biotech.ufl.edu> who provided
this answer, as well as a few other things to check just in case. Also
to Shouben Zhou <zshouben@PCS.CNU.EDU>, who is another early bird. With
Jochen Bern <bern@TI.Uni-Trier.DE> suggesting that I get BIND instead.

Plus thanks to those that will mail me before the summary reaches them.

Dave Roberts | "Surfing the Internet" is a sad term for sad people.
Unix Systems Admin | Get a board, find a beach, surf some REAL waves and
SAA Consultants Ltd | get a *real* life.
Plymouth, U.K. | -=[For PGP Key, send mail with subject of "get pgp"]=-



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:05 CDT