<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: telnet : Unknown host in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-unknown-host/m-p/3009161#M128214</link>
    <description>What is the fully qualified hostname of this box? Is it biscayne.numega.com?&lt;BR /&gt;&lt;BR /&gt;Can you post the output of this command:&lt;BR /&gt;&lt;BR /&gt;# nslookup 172.23.96.10 &lt;BR /&gt;&lt;BR /&gt;Hai</description>
    <pubDate>Thu, 26 Jun 2003 19:46:24 GMT</pubDate>
    <dc:creator>Hai Nguyen_1</dc:creator>
    <dc:date>2003-06-26T19:46:24Z</dc:date>
    <item>
      <title>telnet : Unknown host</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-unknown-host/m-p/3009150#M128203</link>
      <description>This is not a generic question:&lt;BR /&gt;telnet/rlogin from the same machine to itself fails, but ftp/ping work on HP-UX11i.I have hosts.equiv, .rhosts files set. In /etc/nsswitch.conf for the hosts field i have "files nis" as the lookup.&lt;BR /&gt;nslookup &lt;HOSTNAME&gt; looks up FILES and succeeds.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;/etc/hosts:&lt;BR /&gt;127.0.0.1 localhost loopback&lt;BR /&gt;172.23.111.3 biscayne&lt;BR /&gt;&lt;BR /&gt;This works (from biscayne):&lt;BR /&gt;biscayne] /etc &amp;gt; ping localhost&lt;BR /&gt;PING localhost: 64 byte packets&lt;BR /&gt;64 bytes from 127.0.0.1: icmp_seq=0. time=0. ms&lt;BR /&gt;64 bytes from 127.0.0.1: icmp_seq=1. time=0. ms&lt;BR /&gt;&lt;BR /&gt;This too works(from biscayne):&lt;BR /&gt;[biscayne] /etc &amp;gt; ping biscayne&lt;BR /&gt;PING biscayne: 64 byte packets&lt;BR /&gt;64 bytes from 172.23.111.3: icmp_seq=0. time=0. ms&lt;BR /&gt;64 bytes from 172.23.111.3: icmp_seq=1. time=0. ms&lt;BR /&gt;&lt;BR /&gt;telnet localhost fails (from biscayne)&lt;BR /&gt;[biscayne] /etc &amp;gt; telnet localhost&lt;BR /&gt;localhost: Unknown host&lt;BR /&gt;&lt;BR /&gt;telnet biscayne from biscayne fails&lt;BR /&gt;biscayne] /etc &amp;gt; telnet biscayne &lt;BR /&gt;biscayne: Unknown host&lt;BR /&gt;&lt;BR /&gt;..so does rlogin fail from biscayne&lt;BR /&gt;[biscayne] /etc &amp;gt; rlogin biscayne&lt;BR /&gt;rcmd_af: biscayne: Unknown host&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;However, if I specify the IP address, it works.&lt;BR /&gt;Can anyone help me with this?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Vamsi&lt;/HOSTNAME&gt;</description>
      <pubDate>Thu, 26 Jun 2003 18:39:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet-unknown-host/m-p/3009150#M128203</guid>
      <dc:creator>Vamsi Nukala</dc:creator>
      <dc:date>2003-06-26T18:39:39Z</dc:date>
    </item>
    <item>
      <title>Re: telnet : Unknown host</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-unknown-host/m-p/3009151#M128204</link>
      <description>in order to use files first you should have&lt;BR /&gt;&lt;BR /&gt;hosts:        files [NOTFOUND=continue] dns&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;in your /etc/nsswitch.conf file</description>
      <pubDate>Thu, 26 Jun 2003 18:45:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet-unknown-host/m-p/3009151#M128204</guid>
      <dc:creator>Paul Sperry</dc:creator>
      <dc:date>2003-06-26T18:45:04Z</dc:date>
    </item>
    <item>
      <title>Re: telnet : Unknown host</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-unknown-host/m-p/3009152#M128205</link>
      <description>HI&lt;BR /&gt;&lt;BR /&gt;First question is why are you trying this?&lt;BR /&gt;&lt;BR /&gt;Host file is ok as the ftp proves.&lt;BR /&gt;&lt;BR /&gt;Try and entry in netconf&amp;gt;&lt;BR /&gt;&lt;BR /&gt;Paula</description>
      <pubDate>Thu, 26 Jun 2003 18:47:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet-unknown-host/m-p/3009152#M128205</guid>
      <dc:creator>Paula J Frazer-Campbell</dc:creator>
      <dc:date>2003-06-26T18:47:05Z</dc:date>
    </item>
    <item>
      <title>Re: telnet : Unknown host</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-unknown-host/m-p/3009153#M128206</link>
      <description>HI&lt;BR /&gt;&lt;BR /&gt;First question is why are you trying this?&lt;BR /&gt;&lt;BR /&gt;Host file is ok as the ftp proves.&lt;BR /&gt;&lt;BR /&gt;Try an entry in netconf&amp;gt;&lt;BR /&gt;&lt;BR /&gt;Paula</description>
      <pubDate>Thu, 26 Jun 2003 18:47:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet-unknown-host/m-p/3009153#M128206</guid>
      <dc:creator>Paula J Frazer-Campbell</dc:creator>
      <dc:date>2003-06-26T18:47:28Z</dc:date>
    </item>
    <item>
      <title>Re: telnet : Unknown host</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-unknown-host/m-p/3009154#M128207</link>
      <description>Sorry&lt;BR /&gt;&lt;BR /&gt;Mouse problems</description>
      <pubDate>Thu, 26 Jun 2003 18:48:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet-unknown-host/m-p/3009154#M128207</guid>
      <dc:creator>Paula J Frazer-Campbell</dc:creator>
      <dc:date>2003-06-26T18:48:11Z</dc:date>
    </item>
    <item>
      <title>Re: telnet : Unknown host</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-unknown-host/m-p/3009155#M128208</link>
      <description>Vamsi,&lt;BR /&gt;&lt;BR /&gt;What is the content of your /etc/resolv.conf?&lt;BR /&gt;&lt;BR /&gt;Hai</description>
      <pubDate>Thu, 26 Jun 2003 18:48:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet-unknown-host/m-p/3009155#M128208</guid>
      <dc:creator>Hai Nguyen_1</dc:creator>
      <dc:date>2003-06-26T18:48:31Z</dc:date>
    </item>
    <item>
      <title>Re: telnet : Unknown host</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-unknown-host/m-p/3009156#M128209</link>
      <description>What happens if you do the following:&lt;BR /&gt;&lt;BR /&gt;#nslookup localhost&lt;BR /&gt;&lt;BR /&gt;#nslookup biscayne&lt;BR /&gt;&lt;BR /&gt;#nslookup 127.0.0.1&lt;BR /&gt;&lt;BR /&gt;#nslookup 172.23.111.3&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;You might also want to check the permissions on your /etc/hosts file and your /etc/nsswitch.conf file.  Both should be readable by owner, group, and world.&lt;BR /&gt;&lt;BR /&gt;-rw-r--r-- /etc/hosts&lt;BR /&gt;-rw-r--r-- /etc/nsswitch.conf</description>
      <pubDate>Thu, 26 Jun 2003 18:48:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet-unknown-host/m-p/3009156#M128209</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2003-06-26T18:48:38Z</dc:date>
    </item>
    <item>
      <title>Re: telnet : Unknown host</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-unknown-host/m-p/3009157#M128210</link>
      <description>Obviously this is a name resolution problem.&lt;BR /&gt;&lt;BR /&gt;Use SAM -&amp;gt; Networking -&amp;gt; nsswitch and properly configure it.&lt;BR /&gt;&lt;BR /&gt;Your probably using a default of DNS&lt;BR /&gt;&lt;BR /&gt;In this case, if the loopback is not in the DNS tables gethostbyname() will return nothing.&lt;BR /&gt;&lt;BR /&gt;Same can be true for NIS (but easier to add the loopback/localhost entry)&lt;BR /&gt;&lt;BR /&gt;Simply change your nsswitch.conf file to "continue" to the next method if lookup fails, instead of returning.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Shannon</description>
      <pubDate>Thu, 26 Jun 2003 18:52:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet-unknown-host/m-p/3009157#M128210</guid>
      <dc:creator>Shannon Petry</dc:creator>
      <dc:date>2003-06-26T18:52:29Z</dc:date>
    </item>
    <item>
      <title>Re: telnet : Unknown host</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-unknown-host/m-p/3009158#M128211</link>
      <description>HI Vamsi,&lt;BR /&gt;&lt;BR /&gt;For testing purposes, take nis completely out of your nsswitch.conf and try.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Thu, 26 Jun 2003 18:56:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet-unknown-host/m-p/3009158#M128211</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2003-06-26T18:56:01Z</dc:date>
    </item>
    <item>
      <title>Re: telnet : Unknown host</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-unknown-host/m-p/3009159#M128212</link>
      <description>Tried all the solutions:&lt;BR /&gt;&lt;BR /&gt;1. Yes permissions are correct:&lt;BR /&gt;[biscayne] /etc &amp;gt; ls -l&lt;BR /&gt;-rw-r--r-- hosts &lt;BR /&gt;-rw-r--r-- nsswitch.conf &lt;BR /&gt;&lt;BR /&gt;Result: Still fails&lt;BR /&gt;&lt;BR /&gt;2. added hosts: files [NOTFOUND=continue] dns nis&lt;BR /&gt;Result: Still fails&lt;BR /&gt;&lt;BR /&gt;3. nslookup localhost&lt;BR /&gt;Using /etc/hosts on: biscayne&lt;BR /&gt;&lt;BR /&gt;looking up FILES&lt;BR /&gt;Name:    localhost&lt;BR /&gt;Address:   127.0.0.1&lt;BR /&gt;Aliases:   loopback&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt;First question is why are you trying this?&lt;BR /&gt;:Because I cannot telnet from this box to any host. To downsize the problem tried to telnet to localhost/hostname&lt;BR /&gt;&lt;BR /&gt;&amp;gt; What is the content of  your /etc/resolv.conf? &lt;BR /&gt;&lt;BR /&gt;domain numega.com&lt;BR /&gt;nameserver 172.23.96.10&lt;BR /&gt;nameserver 10.0.3.14&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt;For testing purposes, take nis completely out of your nsswitch.conf and try&lt;BR /&gt;:Still fails&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;-----------------------------------------&lt;BR /&gt;The same configuration of files ( atleast I think ) exists on couple of other HP systems and all can network fine(telnet, ftp, rlogin, ping) except with biscayne.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Vamsi</description>
      <pubDate>Thu, 26 Jun 2003 19:26:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet-unknown-host/m-p/3009159#M128212</guid>
      <dc:creator>Vamsi Nukala</dc:creator>
      <dc:date>2003-06-26T19:26:20Z</dc:date>
    </item>
    <item>
      <title>Re: telnet : Unknown host</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-unknown-host/m-p/3009160#M128213</link>
      <description>Hi Vamsi,&lt;BR /&gt;&lt;BR /&gt;//&lt;BR /&gt;&amp;gt;First question is why are you trying this?&lt;BR /&gt;:Because I cannot telnet from this box to any host. To downsize the problem tried to telnet to localhost/hostname &lt;BR /&gt;//&lt;BR /&gt;&lt;BR /&gt;What error do you get when you try to telnet to this box from other boxes?.&lt;BR /&gt;&lt;BR /&gt;Try looking at /var/adm/syslog/syslog.log (by enabling connection logging by 'inetd -l').&lt;BR /&gt;&lt;BR /&gt;-Sri&lt;BR /&gt;</description>
      <pubDate>Thu, 26 Jun 2003 19:38:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet-unknown-host/m-p/3009160#M128213</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2003-06-26T19:38:23Z</dc:date>
    </item>
    <item>
      <title>Re: telnet : Unknown host</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-unknown-host/m-p/3009161#M128214</link>
      <description>What is the fully qualified hostname of this box? Is it biscayne.numega.com?&lt;BR /&gt;&lt;BR /&gt;Can you post the output of this command:&lt;BR /&gt;&lt;BR /&gt;# nslookup 172.23.96.10 &lt;BR /&gt;&lt;BR /&gt;Hai</description>
      <pubDate>Thu, 26 Jun 2003 19:46:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet-unknown-host/m-p/3009161#M128214</guid>
      <dc:creator>Hai Nguyen_1</dc:creator>
      <dc:date>2003-06-26T19:46:24Z</dc:date>
    </item>
    <item>
      <title>Re: telnet : Unknown host</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-unknown-host/m-p/3009162#M128215</link>
      <description>Hi,&lt;BR /&gt;is inetd workin properly ?&lt;BR /&gt;&lt;BR /&gt;It is inetd that forks the link for incoming rlogin and telnet...&lt;BR /&gt;&lt;BR /&gt;Have you any strange entry in /etc/inetd.conf or  /var/adm/inetd.sec ?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Are the lan cables O.K. ?&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt; Massimo&lt;BR /&gt;</description>
      <pubDate>Fri, 27 Jun 2003 08:31:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet-unknown-host/m-p/3009162#M128215</guid>
      <dc:creator>Massimo Bianchi</dc:creator>
      <dc:date>2003-06-27T08:31:12Z</dc:date>
    </item>
    <item>
      <title>Re: telnet : Unknown host</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-unknown-host/m-p/3009163#M128216</link>
      <description>I guess that the inetd works fine, because the telnetd starts when you execute &lt;BR /&gt;# telnet &lt;IP-ADDRESS&gt;&lt;BR /&gt;&lt;/IP-ADDRESS&gt;</description>
      <pubDate>Fri, 27 Jun 2003 11:18:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet-unknown-host/m-p/3009163#M128216</guid>
      <dc:creator>Joris Denayer</dc:creator>
      <dc:date>2003-06-27T11:18:03Z</dc:date>
    </item>
    <item>
      <title>Re: telnet : Unknown host</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-unknown-host/m-p/3009164#M128217</link>
      <description>To eliminate all the issues with DNS (NIS in your case), rename/remove /etc/resolv.conf and /etc/nsswitch.conf. This forces name resolution to be limited to /etc/hosts. nslookup will report that it is looking up FILES. Try nsllokup with both IP as well as hostname. Then add some outside system names to the /etc/hosts file. You are correct to start troubleshooting with the local system and if that is working OK, add an additional layer of name resolution.&lt;BR /&gt;&lt;BR /&gt;But before you do that, use ping and telnet to the IP addresses of remote systems. If they are on the same subnet, all should be OK. If they are across a router and they fail to connect then most likely your routing is incorrect, which may also explain why NIS is not working correctly. You'll have to be able to ping the DNS/NIS servers before name resoltuin will work beyond /etc/hosts.</description>
      <pubDate>Fri, 27 Jun 2003 12:01:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet-unknown-host/m-p/3009164#M128217</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2003-06-27T12:01:46Z</dc:date>
    </item>
    <item>
      <title>Re: telnet : Unknown host</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-unknown-host/m-p/3009165#M128218</link>
      <description>Sri,&lt;BR /&gt;I enabled logging and did a telnet from another system. It is fine.&lt;BR /&gt;Jun 26 16:46:34 biscayne inetd[5437]: telnet/tcp: Connection from unknown (::ffff:172.23.101.225) at Thu Jun 26 16:46:34 2003&lt;BR /&gt;&lt;BR /&gt;There is no log info when I do telnet localhost.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Vamsi</description>
      <pubDate>Fri, 27 Jun 2003 12:10:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet-unknown-host/m-p/3009165#M128218</guid>
      <dc:creator>Vamsi Nukala</dc:creator>
      <dc:date>2003-06-27T12:10:47Z</dc:date>
    </item>
    <item>
      <title>Re: telnet : Unknown host</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-unknown-host/m-p/3009166#M128219</link>
      <description>&amp;gt;To eliminate all the issues with DNS (NIS in your case), rename/remove /etc/resolv.conf and /etc/nsswitch.conf. &lt;BR /&gt;&lt;BR /&gt;YES! THIS WORKED. The problem was with the nameserver entry in /etc/resolv.conf. Once I pointed it to a different nameserver, hostnames started getting resolved properly.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Vamsi</description>
      <pubDate>Fri, 27 Jun 2003 12:41:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet-unknown-host/m-p/3009166#M128219</guid>
      <dc:creator>Vamsi Nukala</dc:creator>
      <dc:date>2003-06-27T12:41:48Z</dc:date>
    </item>
  </channel>
</rss>

