<?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: Slow response from local connections using in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/slow-response-from-local-connections-using/m-p/5220360#M534288</link>
    <description>webap7p:/&amp;gt;# nslookup webap7p&lt;BR /&gt;Using /etc/hosts on:  webap7p&lt;BR /&gt;&lt;BR /&gt;looking up FILES&lt;BR /&gt;Name:    webap7p&lt;BR /&gt;Address:  10.40.4.144&lt;BR /&gt;Aliases:  webap7p.prod.airtel.es, EJBnetwork&lt;BR /&gt;&lt;BR /&gt;My question is...why does it check resolv.conf if the name is in hosts file and nsswitch.conf if configured correctly to work only locally?</description>
    <pubDate>Wed, 20 Jan 2010 15:11:05 GMT</pubDate>
    <dc:creator>vdf</dc:creator>
    <dc:date>2010-01-20T15:11:05Z</dc:date>
    <item>
      <title>Slow response from local connections using</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/slow-response-from-local-connections-using/m-p/5220346#M534274</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;I have a problem in 1 server. If I try a ssh, telnet,ftp,etc to itseft i have to wait for 10-15seg to see the answer "login: "&lt;BR /&gt;&lt;BR /&gt;It only happens with the short name "webap7p" if i try with the webap7p.prod.domain.es it works fine, also with the ip address&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I have checked /etc/hosts, /etc/resolv.conf, /etc/nsswitch.conf... and they seem to be ok.&lt;BR /&gt;&lt;BR /&gt;I did some tests moving /etc/resolv.conf and fix the problem but the server only can resolv the /etc/hosts machines...&lt;BR /&gt;&lt;BR /&gt;If i configure /etc/nsswitch.conf with only files the problem continues...I have to delete or move /etc/resolv.conf to get a fast connection to itsetf using short names.&lt;BR /&gt;&lt;BR /&gt;Why does it happend?&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 20 Jan 2010 08:28:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/slow-response-from-local-connections-using/m-p/5220346#M534274</guid>
      <dc:creator>vdf</dc:creator>
      <dc:date>2010-01-20T08:28:07Z</dc:date>
    </item>
    <item>
      <title>Re: Slow response from local connections using</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/slow-response-from-local-connections-using/m-p/5220347#M534275</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;Try to add the line&lt;BR /&gt;&lt;BR /&gt;192.168.1.1 webap7p&lt;BR /&gt;&lt;BR /&gt;to /etc/hosts. Change 192.168.1.1 to whatever you need.&lt;BR /&gt;&lt;BR /&gt;Also, in your /etc/nsswitch.conf you should have:&lt;BR /&gt;&lt;BR /&gt;hosts:        files dns&lt;BR /&gt;&lt;BR /&gt;Order is important.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Horia.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 20 Jan 2010 08:42:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/slow-response-from-local-connections-using/m-p/5220347#M534275</guid>
      <dc:creator>Horia Chirculescu</dc:creator>
      <dc:date>2010-01-20T08:42:05Z</dc:date>
    </item>
    <item>
      <title>Re: Slow response from local connections using</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/slow-response-from-local-connections-using/m-p/5220348#M534276</link>
      <description>You can also use the directive (in sshd_config add the following line):&lt;BR /&gt;&lt;BR /&gt;UseDNS no&lt;BR /&gt;&lt;BR /&gt;from the man page:&lt;BR /&gt;&lt;BR /&gt;UseDNS  Specifies whether sshd(8) should look up the remote host name and&lt;BR /&gt;             check that the resolved host name for the remote IP address maps&lt;BR /&gt;             back to the very same IP address.  The default is ``yes''.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Horia.</description>
      <pubDate>Wed, 20 Jan 2010 08:56:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/slow-response-from-local-connections-using/m-p/5220348#M534276</guid>
      <dc:creator>Horia Chirculescu</dc:creator>
      <dc:date>2010-01-20T08:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: Slow response from local connections using</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/slow-response-from-local-connections-using/m-p/5220349#M534277</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;This is the entry in the /etc/nsswitch.conf:&lt;BR /&gt;&lt;BR /&gt;hosts:        files [NOTFOUND=continue UNAVAIL=continue] dns [NOTFOUND=return UNAVAIL=continue TRYAGAIN=return]&lt;BR /&gt;&lt;BR /&gt;and hosts file:&lt;BR /&gt;&lt;BR /&gt;127.0.0.1       localhost       loopback&lt;BR /&gt;10.40.4.144     webap7p webap7p.prod.airtel.es EJBnetwork&lt;BR /&gt;10.40.4.145     webap8p webap8p.prod.airtel.es&lt;BR /&gt;10.40.4.146     webdocssi webdocssi.prod.airtel.es&lt;BR /&gt;192.168.0.1     webap7phb&lt;BR /&gt;192.168.0.2     webap8phb&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I trace the telnet command with tusc and "telnet 10.40.4.144" doesn't check /etc/resolv.conf but "telnet webap7p" does...</description>
      <pubDate>Wed, 20 Jan 2010 09:34:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/slow-response-from-local-connections-using/m-p/5220349#M534277</guid>
      <dc:creator>vdf</dc:creator>
      <dc:date>2010-01-20T09:34:34Z</dc:date>
    </item>
    <item>
      <title>Re: Slow response from local connections using</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/slow-response-from-local-connections-using/m-p/5220350#M534278</link>
      <description>And telnet 10.40.4.144 does not exhibit slow response?&lt;BR /&gt;&lt;BR /&gt;Horia</description>
      <pubDate>Wed, 20 Jan 2010 09:43:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/slow-response-from-local-connections-using/m-p/5220350#M534278</guid>
      <dc:creator>Horia Chirculescu</dc:creator>
      <dc:date>2010-01-20T09:43:41Z</dc:date>
    </item>
    <item>
      <title>Re: Slow response from local connections using</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/slow-response-from-local-connections-using/m-p/5220351#M534279</link>
      <description>In /etc/resolv.conf do you have the line:&lt;BR /&gt;&lt;BR /&gt;domain prod.airtel.es&lt;BR /&gt;&lt;BR /&gt;Horia.</description>
      <pubDate>Wed, 20 Jan 2010 09:46:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/slow-response-from-local-connections-using/m-p/5220351#M534279</guid>
      <dc:creator>Horia Chirculescu</dc:creator>
      <dc:date>2010-01-20T09:46:18Z</dc:date>
    </item>
    <item>
      <title>Re: Slow response from local connections using</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/slow-response-from-local-connections-using/m-p/5220352#M534280</link>
      <description>telnet 10.40.4.144 works very fast...&lt;BR /&gt;&lt;BR /&gt;Here is my resolv.conf:&lt;BR /&gt;&lt;BR /&gt;search prod.airtel.es des.airtel.es red.airtel.es ing.airtel.es vf-es.internal.vodafone.com es.sedc.internal.vodafone.com&lt;BR /&gt;nameserver 10.40.3.143&lt;BR /&gt;nameserver 10.10.32.100&lt;BR /&gt;nameserver 10.10.37.250&lt;BR /&gt;</description>
      <pubDate>Wed, 20 Jan 2010 10:02:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/slow-response-from-local-connections-using/m-p/5220352#M534280</guid>
      <dc:creator>vdf</dc:creator>
      <dc:date>2010-01-20T10:02:50Z</dc:date>
    </item>
    <item>
      <title>Re: Slow response from local connections using</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/slow-response-from-local-connections-using/m-p/5220353#M534281</link>
      <description>Run nslookup and see how webap7p is resolved.&lt;BR /&gt;&lt;BR /&gt;Horia.</description>
      <pubDate>Wed, 20 Jan 2010 10:55:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/slow-response-from-local-connections-using/m-p/5220353#M534281</guid>
      <dc:creator>Horia Chirculescu</dc:creator>
      <dc:date>2010-01-20T10:55:34Z</dc:date>
    </item>
    <item>
      <title>Re: Slow response from local connections using</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/slow-response-from-local-connections-using/m-p/5220354#M534282</link>
      <description>It seems that only check the /etc/hosts:&lt;BR /&gt;&lt;BR /&gt;webap7p:/tmp&amp;gt;# nslookup webap7p&lt;BR /&gt;Using /etc/hosts on:  webap7p&lt;BR /&gt;&lt;BR /&gt;looking up FILES&lt;BR /&gt;Name:    webap7p&lt;BR /&gt;Address:  10.40.4.144&lt;BR /&gt;Aliases:  webap7p.prod.airtel.es, EJBnetwork&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;But tusc show that it check /etc/resolv.conf too.</description>
      <pubDate>Wed, 20 Jan 2010 10:58:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/slow-response-from-local-connections-using/m-p/5220354#M534282</guid>
      <dc:creator>vdf</dc:creator>
      <dc:date>2010-01-20T10:58:10Z</dc:date>
    </item>
    <item>
      <title>Re: Slow response from local connections using</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/slow-response-from-local-connections-using/m-p/5220355#M534283</link>
      <description>Try to add the line &lt;BR /&gt;192.168.1.1 webap7p&lt;BR /&gt;to /etc/hosts.&lt;BR /&gt;</description>
      <pubDate>Wed, 20 Jan 2010 10:59:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/slow-response-from-local-connections-using/m-p/5220355#M534283</guid>
      <dc:creator>TARUN SHARMA_1</dc:creator>
      <dc:date>2010-01-20T10:59:07Z</dc:date>
    </item>
    <item>
      <title>Re: Slow response from local connections using</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/slow-response-from-local-connections-using/m-p/5220356#M534284</link>
      <description>Try to add the below line on the box from where you are running telnet or ssh&lt;BR /&gt;192.168.1.1 webap7p&lt;BR /&gt;to /etc/hosts &lt;BR /&gt;</description>
      <pubDate>Wed, 20 Jan 2010 11:00:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/slow-response-from-local-connections-using/m-p/5220356#M534284</guid>
      <dc:creator>TARUN SHARMA_1</dc:creator>
      <dc:date>2010-01-20T11:00:47Z</dc:date>
    </item>
    <item>
      <title>Re: Slow response from local connections using</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/slow-response-from-local-connections-using/m-p/5220357#M534285</link>
      <description>Have you tried to insert the line &lt;BR /&gt;&lt;BR /&gt;domain prod.airtel.es&lt;BR /&gt;&lt;BR /&gt;at the beginning of resolv.conf?</description>
      <pubDate>Wed, 20 Jan 2010 11:10:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/slow-response-from-local-connections-using/m-p/5220357#M534285</guid>
      <dc:creator>Horia Chirculescu</dc:creator>
      <dc:date>2010-01-20T11:10:40Z</dc:date>
    </item>
    <item>
      <title>Re: Slow response from local connections using</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/slow-response-from-local-connections-using/m-p/5220358#M534286</link>
      <description>Hi Tarun,&lt;BR /&gt;Why 192.168.1.1? webap7p only has the lan0 configured with 192.168.0.1 and is already configured in /etc/hosts as webap7phb&lt;BR /&gt;&lt;BR /&gt;192.168.0.1     webap7phb&lt;BR /&gt;&lt;BR /&gt;"telnet webap7phb" is also slow..and "telnet localhost" too&lt;BR /&gt;&lt;BR /&gt;127.0.0.1       localhost       loopback&lt;BR /&gt;&lt;BR /&gt;But telnet 192.168.0.1 or 127.0.0.1 work fast.</description>
      <pubDate>Wed, 20 Jan 2010 11:12:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/slow-response-from-local-connections-using/m-p/5220358#M534286</guid>
      <dc:creator>vdf</dc:creator>
      <dc:date>2010-01-20T11:12:21Z</dc:date>
    </item>
    <item>
      <title>Re: Slow response from local connections using</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/slow-response-from-local-connections-using/m-p/5220359#M534287</link>
      <description>&lt;!--!*#--&gt;&amp;gt; Run nslookup and see how webap7p is&lt;BR /&gt;&amp;gt; resolved.&lt;BR /&gt;&lt;BR /&gt;If the problem lies with DNS, then I'd worry&lt;BR /&gt;more about the reverse look-up of your&lt;BR /&gt;_client_ system (on the server).&lt;BR /&gt;&lt;BR /&gt;      nslookup client_IP_address</description>
      <pubDate>Wed, 20 Jan 2010 14:45:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/slow-response-from-local-connections-using/m-p/5220359#M534287</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2010-01-20T14:45:44Z</dc:date>
    </item>
    <item>
      <title>Re: Slow response from local connections using</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/slow-response-from-local-connections-using/m-p/5220360#M534288</link>
      <description>webap7p:/&amp;gt;# nslookup webap7p&lt;BR /&gt;Using /etc/hosts on:  webap7p&lt;BR /&gt;&lt;BR /&gt;looking up FILES&lt;BR /&gt;Name:    webap7p&lt;BR /&gt;Address:  10.40.4.144&lt;BR /&gt;Aliases:  webap7p.prod.airtel.es, EJBnetwork&lt;BR /&gt;&lt;BR /&gt;My question is...why does it check resolv.conf if the name is in hosts file and nsswitch.conf if configured correctly to work only locally?</description>
      <pubDate>Wed, 20 Jan 2010 15:11:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/slow-response-from-local-connections-using/m-p/5220360#M534288</guid>
      <dc:creator>vdf</dc:creator>
      <dc:date>2010-01-20T15:11:05Z</dc:date>
    </item>
    <item>
      <title>Re: Slow response from local connections using</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/slow-response-from-local-connections-using/m-p/5220361#M534289</link>
      <description>&amp;gt; My question is...why does it check resolv.conf if the name is in hosts file and nsswitch.conf if configured correctly to work only locally?&lt;BR /&gt; &lt;BR /&gt;"work only locally" means that nsswitch.conf has this line (exactly):&lt;BR /&gt; &lt;BR /&gt;hosts: files&lt;BR /&gt; &lt;BR /&gt;I think you'll find nsquery more informative than nslookup. The important setting is in nsswitch.conf where the actions to lookup a hostname are defined. To looki in /etc/hosts first, then DNS, make sure the hosts: line reads:&lt;BR /&gt; &lt;BR /&gt;hosts: files [NOTFOUND=continue UNAVAIL=continue] dns&lt;BR /&gt; &lt;BR /&gt;Then run nsquery to see how the rules are followed:&lt;BR /&gt; &lt;BR /&gt;nsquery hosts webap7p&lt;BR /&gt;</description>
      <pubDate>Wed, 20 Jan 2010 19:22:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/slow-response-from-local-connections-using/m-p/5220361#M534289</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2010-01-20T19:22:20Z</dc:date>
    </item>
    <item>
      <title>Re: Slow response from local connections using</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/slow-response-from-local-connections-using/m-p/5220362#M534290</link>
      <description>When ssh, telnet, ftp, etc go to resolve the "short" name you give them - webap7p - the name resolution routines (the DNS ones anyway) will then start to "search" for the complete name.  That will be controlled by either the "search" or "domain" lines in the /etc/resolv.conf file.&lt;BR /&gt;&lt;BR /&gt;If you were to take a verbose tusc system call trace, you could probably see a series of names being tried in turn until it got one that resolved.  Similarly if you were to install tcpdump and take a packet trace of traffic to/from port 53, you could probably see the sequence of names being searched.&lt;BR /&gt;&lt;BR /&gt;The heuristic (as I recall it) is that if there are two or more "dots" in the name (such as with your webap7p.prod.domain.es) the resolver code will ass-u-me it is a Fully Qualified Domain Name (FQDN) and try that first before messing with its search entries.&lt;BR /&gt;&lt;BR /&gt;Also, if there is a trailing dot - eg foo.bar.baz. the resolver code will also assume it is an FQDN and not step through its search paths at all.&lt;BR /&gt;&lt;BR /&gt;If there is much latency between this system and your DNS servers, or if the search directive in /etc/resolv.conf call for searching external domains, it could quite possibly take a little while to go through the search.&lt;BR /&gt;&lt;BR /&gt;This is all independent of whether or not the actual destination is local to the machine :)</description>
      <pubDate>Thu, 21 Jan 2010 00:25:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/slow-response-from-local-connections-using/m-p/5220362#M534290</guid>
      <dc:creator>rick jones</dc:creator>
      <dc:date>2010-01-21T00:25:05Z</dc:date>
    </item>
    <item>
      <title>Re: Slow response from local connections using</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/slow-response-from-local-connections-using/m-p/5220363#M534291</link>
      <description>Thanks for the answers!&lt;BR /&gt;&lt;BR /&gt;The problem is solved. I changed the dns order in the resolv.conf and now the conections with the short name works perfectly. The problem seems to be in the first dns was setting in the resolv.conf...&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Javi</description>
      <pubDate>Thu, 21 Jan 2010 08:35:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/slow-response-from-local-connections-using/m-p/5220363#M534291</guid>
      <dc:creator>vdf</dc:creator>
      <dc:date>2010-01-21T08:35:06Z</dc:date>
    </item>
    <item>
      <title>Re: Slow response from local connections using</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/slow-response-from-local-connections-using/m-p/5220364#M534292</link>
      <description>Hello,&lt;BR /&gt;In this case you should ask the admin which is responsible with the&lt;BR /&gt;&lt;BR /&gt;nameserver 10.40.3.143&lt;BR /&gt;&lt;BR /&gt;to check the DNS setup (reverse lookup problem maybe?).&lt;BR /&gt;&lt;BR /&gt;Best regards&lt;BR /&gt;Horia.</description>
      <pubDate>Thu, 21 Jan 2010 09:01:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/slow-response-from-local-connections-using/m-p/5220364#M534292</guid>
      <dc:creator>Horia Chirculescu</dc:creator>
      <dc:date>2010-01-21T09:01:08Z</dc:date>
    </item>
    <item>
      <title>Re: Slow response from local connections using</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/slow-response-from-local-connections-using/m-p/5220365#M534293</link>
      <description>Maybe...or perhaps a network problem...I'm going to investigate that!&lt;BR /&gt;&lt;BR /&gt;Thanks!</description>
      <pubDate>Thu, 21 Jan 2010 12:21:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/slow-response-from-local-connections-using/m-p/5220365#M534293</guid>
      <dc:creator>vdf</dc:creator>
      <dc:date>2010-01-21T12:21:44Z</dc:date>
    </item>
  </channel>
</rss>

