<?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 and reverse lookup in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-and-reverse-lookup/m-p/5054865#M541685</link>
    <description>Are ServerA and ServerB in the same subnet? If DNS is the problem then why would telnet be okay going from ServerA to ServerB and not vice-versa. Could you post the output of a traceroute from A to B and vice-versa. Make sure that it is not a routing problem.</description>
    <pubDate>Tue, 26 Jun 2007 11:15:32 GMT</pubDate>
    <dc:creator>Sandman!</dc:creator>
    <dc:date>2007-06-26T11:15:32Z</dc:date>
    <item>
      <title>Telnet and reverse lookup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-and-reverse-lookup/m-p/5054857#M541677</link>
      <description>We keep experiencing a problem every time we ignite several HPUX servers at our DR site (its a contracted site, ie., Sunguard). Telnet hangs for a minute or so upon initial connection. Below are the details:&lt;BR /&gt;&lt;BR /&gt;resolv.conf point to a WINS server. &lt;BR /&gt;nsswitch has "files [ notfound continue ] dns".&lt;BR /&gt;neither host files have the other server's ip/hostname information.&lt;BR /&gt;&lt;BR /&gt;Telneting from ServerA to ServerB is fine.&lt;BR /&gt;Telneting from ServerB to ServerA yields a long delay.&lt;BR /&gt;&lt;BR /&gt;nslookups on both servers (forward and reverse) yield an instant response, so there is no reason to point to the WINS/DNS setup as being the cause (so I'm being told). HOWEVER, the problem goes away if I update the local hosts file on ServerB with an entry for ServerA.&lt;BR /&gt;&lt;BR /&gt;At this point, everyone is pointing fingers (though it seems each group has a vaild reason to point elsewhere).</description>
      <pubDate>Mon, 25 Jun 2007 15:31:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet-and-reverse-lookup/m-p/5054857#M541677</guid>
      <dc:creator>Luis Toro</dc:creator>
      <dc:date>2007-06-25T15:31:05Z</dc:date>
    </item>
    <item>
      <title>Re: Telnet and reverse lookup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-and-reverse-lookup/m-p/5054858#M541678</link>
      <description>&amp;gt; nslookups on both servers (forward and&lt;BR /&gt;&amp;gt; reverse) yield an instant response [...]&lt;BR /&gt;&lt;BR /&gt;&amp;gt; HOWEVER, the problem goes away if I update&lt;BR /&gt;&amp;gt; the local hosts file on ServerB with an&lt;BR /&gt;&amp;gt; entry for ServerA.&lt;BR /&gt;&lt;BR /&gt;The HOWEVER clause seems decisive.  That&lt;BR /&gt;which fixes the problem, fixes the problem.&lt;BR /&gt;&lt;BR /&gt;So, how to explain the DNS seeming to work?&lt;BR /&gt;Any chance that Telnet is doing a reverse&lt;BR /&gt;look-up on some address different from what&lt;BR /&gt;you're feeding into nslookup?  I don't have a&lt;BR /&gt;good suggestion for how to verify this easily.</description>
      <pubDate>Mon, 25 Jun 2007 15:52:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet-and-reverse-lookup/m-p/5054858#M541678</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2007-06-25T15:52:59Z</dc:date>
    </item>
    <item>
      <title>Re: Telnet and reverse lookup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-and-reverse-lookup/m-p/5054859#M541679</link>
      <description>Thanks Steven. Unfortunately, the DR test is over, and there is no way to recreate the environment, until the next test. I'm hoping for someone to reply with details on how telnet works with DNS. We have some screen prints of a "sniff", but I can't really decipher it.</description>
      <pubDate>Mon, 25 Jun 2007 16:03:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet-and-reverse-lookup/m-p/5054859#M541679</guid>
      <dc:creator>Luis Toro</dc:creator>
      <dc:date>2007-06-25T16:03:00Z</dc:date>
    </item>
    <item>
      <title>Re: Telnet and reverse lookup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-and-reverse-lookup/m-p/5054860#M541680</link>
      <description>What about a traceroute from server B to server A, how long does that take ineither direction? And what about static routing in both directions? Is that configured correctly?</description>
      <pubDate>Mon, 25 Jun 2007 16:04:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet-and-reverse-lookup/m-p/5054860#M541680</guid>
      <dc:creator>Sandman!</dc:creator>
      <dc:date>2007-06-25T16:04:44Z</dc:date>
    </item>
    <item>
      <title>Re: Telnet and reverse lookup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-and-reverse-lookup/m-p/5054861#M541681</link>
      <description>The design of telnet includes a minimal 'security' check to see if the incoming IP address trying to connect is known to a known authority, typically a DNS, NIS or LDAP server. It does this by doing a reverse lookup, that is, look up the IP address to verify the name. A properly configured DNS server will have both records (forward and reverse) as well as MX (mail exchanger) records. This is very seldom done for Windows based DNS servers because Windows doesn't need that stuff (it accepts everything without verification). So there is a timeout because the server doesn't do anything for the request and HP-UX sits waiting for a response. The timout for the first server is about 20-30 seconds. Repeat for the second server in resolv.conf and again for the 3rd server (if present). So a delay of about 30, 60 or 90 seconds is normal for an unknown or IP that cannot be verified.&lt;BR /&gt; &lt;BR /&gt;When you put the IP address in /etc/hosts, the resolver sees this first (based on your nsswitch.conf) and immediately connects. If you can't get the windows servers fixed, just put all your production IP addresses in /etc/hosts (thousands of addresses are just fine if needed).</description>
      <pubDate>Mon, 25 Jun 2007 20:52:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet-and-reverse-lookup/m-p/5054861#M541681</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2007-06-25T20:52:58Z</dc:date>
    </item>
    <item>
      <title>Re: Telnet and reverse lookup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-and-reverse-lookup/m-p/5054862#M541682</link>
      <description>I would also suggest to make use of /etc/hosts rather than /etc/resolv.conf.&lt;BR /&gt;&lt;BR /&gt;Also try the following after the name server entries on /etc/resolv.conf&lt;BR /&gt;&lt;BR /&gt;retrans 1000&lt;BR /&gt;retry 1&lt;BR /&gt;</description>
      <pubDate>Mon, 25 Jun 2007 22:42:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet-and-reverse-lookup/m-p/5054862#M541682</guid>
      <dc:creator>skt_skt</dc:creator>
      <dc:date>2007-06-25T22:42:56Z</dc:date>
    </item>
    <item>
      <title>Re: Telnet and reverse lookup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-and-reverse-lookup/m-p/5054863#M541683</link>
      <description>Thanks for your replies. Bill's reply was very helpful, but the DNS group is still hanging their hat on the lack of a delay on the nslookups (forward and reverse). Here's another tidbit of info:&lt;BR /&gt;The DNS server that we're instructed to configure, resolves names of the type:&lt;BR /&gt;servername.winnet.company.com (windows servers, which get assigned addresses via DHCP). The HPUX servers are all HPservername.company.com. So the winnet server "passes up" to some other server those hostname resolutions (resulting in a "non-authoritative answer").</description>
      <pubDate>Tue, 26 Jun 2007 09:56:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet-and-reverse-lookup/m-p/5054863#M541683</guid>
      <dc:creator>Luis Toro</dc:creator>
      <dc:date>2007-06-26T09:56:59Z</dc:date>
    </item>
    <item>
      <title>Re: Telnet and reverse lookup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-and-reverse-lookup/m-p/5054864#M541684</link>
      <description>&amp;gt; The DNS server that we're instructed to&lt;BR /&gt;&amp;gt; configure, resolves names [...]&lt;BR /&gt;&lt;BR /&gt;Of course, the real question is who resolves&lt;BR /&gt;the _numbers_ when the Telnet server tries to&lt;BR /&gt;do the _reverse_ look-up on the connecting&lt;BR /&gt;client.  Adding an entry to /etc/hosts covers&lt;BR /&gt;both directions, but on a DNS server, the two&lt;BR /&gt;functions are distinct.  (It's easy to&lt;BR /&gt;configure a DNS server to do only, say,&lt;BR /&gt;name-to-number look-ups, leaving you on your&lt;BR /&gt;own for the other direction.)</description>
      <pubDate>Tue, 26 Jun 2007 10:39:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet-and-reverse-lookup/m-p/5054864#M541684</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2007-06-26T10:39:58Z</dc:date>
    </item>
    <item>
      <title>Re: Telnet and reverse lookup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-and-reverse-lookup/m-p/5054865#M541685</link>
      <description>Are ServerA and ServerB in the same subnet? If DNS is the problem then why would telnet be okay going from ServerA to ServerB and not vice-versa. Could you post the output of a traceroute from A to B and vice-versa. Make sure that it is not a routing problem.</description>
      <pubDate>Tue, 26 Jun 2007 11:15:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet-and-reverse-lookup/m-p/5054865#M541685</guid>
      <dc:creator>Sandman!</dc:creator>
      <dc:date>2007-06-26T11:15:32Z</dc:date>
    </item>
    <item>
      <title>Re: Telnet and reverse lookup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-and-reverse-lookup/m-p/5054866#M541686</link>
      <description>Different subnets. All 3 pieces (serverA, serverB and DNS server) are on 3 different Vlans. Can't provide a traceroute since this only occurs during a disaster recovery exercise (at a contracted DR site). Its happened during our last 2 tests, and now we're getting more pressure to resolve.</description>
      <pubDate>Tue, 26 Jun 2007 11:24:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet-and-reverse-lookup/m-p/5054866#M541686</guid>
      <dc:creator>Luis Toro</dc:creator>
      <dc:date>2007-06-26T11:24:48Z</dc:date>
    </item>
    <item>
      <title>Re: Telnet and reverse lookup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-and-reverse-lookup/m-p/5054867#M541687</link>
      <description>Actually, it doesn't matter how the DNS servers are supposed to work -- you test reverse lookup by using nslookup and nsquery:&lt;BR /&gt; &lt;BR /&gt;nslookup 12.34.56.78&lt;BR /&gt;nsquery hosts 12.34.56.78&lt;BR /&gt; &lt;BR /&gt;If you get no answer back, then telnet login will be delayed by the number of servers listed in /etc/resolv.conf. As you have seen, 'fixing' the problem using /etc/hosts proves that the DNS servers aren't configured correctly. nsquery is particularly useful as it shows the steps taken by any program looking for IP or hostname based on the nsswitch.conf file.</description>
      <pubDate>Tue, 26 Jun 2007 21:18:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet-and-reverse-lookup/m-p/5054867#M541687</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2007-06-26T21:18:18Z</dc:date>
    </item>
    <item>
      <title>Re: Telnet and reverse lookup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-and-reverse-lookup/m-p/5054868#M541688</link>
      <description>You mention that this happens during DR test.&lt;BR /&gt;&lt;BR /&gt;ARP?&lt;BR /&gt;****&lt;BR /&gt;Is it only the initial connect, or does the delay happen "always" as long as you're running on the failover?&lt;BR /&gt;Could it be that arp cache should be cleared...&lt;BR /&gt;&lt;BR /&gt;Routing&lt;BR /&gt;*******&lt;BR /&gt;Is there different routing taking place in your network? (ref. traceroute, netstat -r, default gw)&lt;BR /&gt;In one of our systems we saw that even though we addressed the secondary interface on a server, we always ended up on the primary (default gw) when the 2 servers where in different vlans (redundancy 'all over' is nice, but not always giving you what you want). We had to create some static routes for the virtual addresses.&lt;BR /&gt;&lt;BR /&gt;DNS (again)&lt;BR /&gt;***********&lt;BR /&gt;In my opinion all "critical hosts" for the system (tightly integrated hosts, like via NFS) should be defined locally in /etc/hosts.&lt;BR /&gt;This require some more managing, but you could have a central managment between these servers and use f.ex. rdist to help out keeping track of them. You might also want to use a file locking while editing the master and a history (for easier recovery).&lt;BR /&gt;&lt;BR /&gt;Others might use DNS... and if it is an Windoze server... it's ehh some challenges.&lt;BR /&gt;&lt;BR /&gt;* Check that both forward and reverse lookup is defined for the failover node.&lt;BR /&gt;* If it is Windows Administrators managing the DNS, you might also want to check if they have heard about case-sensitive issues.&lt;BR /&gt;Some applications actually treat ServerA differently from servera or SERVERA or ServerA...&lt;BR /&gt;&lt;BR /&gt;The funny thing on some Windoze servers is that they need to key in the Forward lookup one place and the reverse another place. If you delete a Forward entry, the reverse is still there...&lt;BR /&gt;So - if you're using DNS, make sure it's right!&lt;BR /&gt;&lt;BR /&gt;/Tor-Arne</description>
      <pubDate>Wed, 27 Jun 2007 10:37:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet-and-reverse-lookup/m-p/5054868#M541688</guid>
      <dc:creator>Tor-Arne Nostdal</dc:creator>
      <dc:date>2007-06-27T10:37:12Z</dc:date>
    </item>
    <item>
      <title>Re: Telnet and reverse lookup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-and-reverse-lookup/m-p/5054869#M541689</link>
      <description>Thanks for all the info.&lt;BR /&gt;Bill, gave you extra points for the nsquery command (learn something new every day).&lt;BR /&gt;I will have to take this information with me for the next test, to make a checklist of things to check.</description>
      <pubDate>Wed, 27 Jun 2007 14:29:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet-and-reverse-lookup/m-p/5054869#M541689</guid>
      <dc:creator>Luis Toro</dc:creator>
      <dc:date>2007-06-27T14:29:45Z</dc:date>
    </item>
  </channel>
</rss>

