[SUMMARY] host unknown errors for telnet

From: John Cosimano (cosimanj@cna.org)
Date: Thu Aug 14 1997 - 09:02:22 CDT


On Thu, 14 Aug 1997, John Cosimano wrote:

The original post:

| I have a strange problem I've not seen before and wonder if anyone can
| give me a bit of direction.
|
| I'm on a SunOPS 4.1.3 host and run nslookup against a host, say
| bing.foo.bar.com. The nslookup is successful and returns the ip address.
| If I then try and telnet to the hostname, telnet fails and tells me
| unknown host. But if I telnet to the ip address nslookup just gave me, it
| works fine.
|
| This seems like odd behavior and I'm not sure how to fix it. I'm not
| running NIS or NIS+, but I am running split DNS on a firewall. Not sure if
| that makes a difference, but perhaps so.

Tim Evans <tkevans@eplrx7.es.dupont.com> was the first to respond with:

        SunOS 4.1.x does *not* support DNS unless you use NIS. The
        'nslookup' command itself and a special version of sendmail named
        'sendmail.mx' are exceptions to this. See the FAQ for details.

Peter M Allan <peter.allan@aeat.co.uk> then responded with:

To use DNS under SunOS 4.1.x you need either

   NIS (a slim & otherwise useless NIS will do)
or DNS-enabled libraries

>From the FAQ:

Subject: 3.1) How do I set up NIS/YP to use DNS?

  Under SunOS 4.1.x, there is a "#B=" at the top of /var/yp/Makefile,
  uncomment and change this to "B=-b" and setup NIS in the usual
  fashion. Under 4.0.x, edit the Makefile or apply the following
  "diff":

Both pointed me to the FAQ, which I have, but did not consult before
making a post :-( Many others responded as well and my mail box is
receiving responses as I write this. So those who do not make it in here -
thanks for taking the time to respond to me. I continually get a lot of
good information from this list and I appreciate it.

--
John Cosimano
Unix Systems Administrator
The CNA Corporation
Alexandria, VA USA
cosimanj@cna.org



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:12:00 CDT