<?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 SQL Plus and name resolution in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sql-plus-and-name-resolution/m-p/2579682#M920837</link>
    <description>I had an issue recently with connecting to Oracle after our Internet connection went down. Even though we host our own DNS the lack of an Internet connection caused very slow telnet connection times, SQL Plus connection times, and queries in the application. It seems that the timeout was way too long for DNS so I actually moved hosts first and just renamed my resolv.conf. After doing this all issues were solved except for the slowness in connecting to Oracle. The only thing I can think of is it's happening because we use WINS in combination with DNS and that's how clients are looked up. Still not sure why teh Internet connection being down causes this. So how do I prevent this slowness for the next time our Internet connection goes down. I can't put every hostanme and IP address in the HPUX hosts file since we run a DHCP environment. Currently I  have to add clients to this manually for Telnet and X to work for clients. Thanks</description>
    <pubDate>Fri, 14 Sep 2001 15:02:58 GMT</pubDate>
    <dc:creator>samd_1</dc:creator>
    <dc:date>2001-09-14T15:02:58Z</dc:date>
    <item>
      <title>SQL Plus and name resolution</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sql-plus-and-name-resolution/m-p/2579682#M920837</link>
      <description>I had an issue recently with connecting to Oracle after our Internet connection went down. Even though we host our own DNS the lack of an Internet connection caused very slow telnet connection times, SQL Plus connection times, and queries in the application. It seems that the timeout was way too long for DNS so I actually moved hosts first and just renamed my resolv.conf. After doing this all issues were solved except for the slowness in connecting to Oracle. The only thing I can think of is it's happening because we use WINS in combination with DNS and that's how clients are looked up. Still not sure why teh Internet connection being down causes this. So how do I prevent this slowness for the next time our Internet connection goes down. I can't put every hostanme and IP address in the HPUX hosts file since we run a DHCP environment. Currently I  have to add clients to this manually for Telnet and X to work for clients. Thanks</description>
      <pubDate>Fri, 14 Sep 2001 15:02:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sql-plus-and-name-resolution/m-p/2579682#M920837</guid>
      <dc:creator>samd_1</dc:creator>
      <dc:date>2001-09-14T15:02:58Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Plus and name resolution</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sql-plus-and-name-resolution/m-p/2579683#M920838</link>
      <description>what is your entry for dns in /etc/nsswitch.conf.you have to mention files in search order if dns not resolves the name.&lt;BR /&gt;&lt;BR /&gt;GK</description>
      <pubDate>Fri, 14 Sep 2001 15:13:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sql-plus-and-name-resolution/m-p/2579683#M920838</guid>
      <dc:creator>G.Kumar</dc:creator>
      <dc:date>2001-09-14T15:13:21Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Plus and name resolution</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sql-plus-and-name-resolution/m-p/2579684#M920839</link>
      <description>Here is the contents of nsswitch.conf&lt;BR /&gt;&lt;BR /&gt;hosts: files[NOTFOUND=continue UNAVAIL=continue] dns [NOTFOUND=return UNAVAIL=return TRYAGAIN=return] nis</description>
      <pubDate>Fri, 14 Sep 2001 17:52:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sql-plus-and-name-resolution/m-p/2579684#M920839</guid>
      <dc:creator>samd_1</dc:creator>
      <dc:date>2001-09-14T17:52:20Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Plus and name resolution</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sql-plus-and-name-resolution/m-p/2579685#M920840</link>
      <description>Hi Sam,&lt;BR /&gt;Where is your DNS server? in your subnet? &lt;BR /&gt;&lt;BR /&gt;Generally timeout on first nameserver which is listed on resolv.conf is only 90 sec. then it goes to second nameserver if any present then it goes to forwarder if any present. or else gives the error.&lt;BR /&gt;So at maximum it will takes 90x3Sec for nameservers before timeout.&lt;BR /&gt;&lt;BR /&gt;Sachin</description>
      <pubDate>Fri, 14 Sep 2001 18:20:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sql-plus-and-name-resolution/m-p/2579685#M920840</guid>
      <dc:creator>Sachin Patel</dc:creator>
      <dc:date>2001-09-14T18:20:41Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Plus and name resolution</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sql-plus-and-name-resolution/m-p/2579686#M920841</link>
      <description>As you have discovered, DNS is crucial to the success of any client/server system. /etc/hosts must always be first in nsswitch.conf, both for reliability as well as speed.  And until your DNS is reliable, you'll have to populate it with all the client addresses.&lt;BR /&gt;&lt;BR /&gt;But that's not too difficult.  You can generate address ranges using a script where the hostname is a simple name formed out of the last couple of octets of the IP as in:&lt;BR /&gt;&lt;BR /&gt;12.34.56.78 dhcp5678&lt;BR /&gt;12.34.56.79 dhcp5679&lt;BR /&gt;&lt;BR /&gt;and so on.  /etc/hosts handles reverse lookup and unless there is some very strange code going on, the clients aren't going to use their own name in communicating with the server.&lt;BR /&gt;&lt;BR /&gt;The DNS timeout is VERY long (10's of seconds) and this is *only* when the DNS server is dead, not when the server cannot locate an address.  Your nsswitch.conf statement handles that.  However, the first entry in /etc/resolv.conf had better be running 24x7 for all addresses/hostnames that are not found in /etc/hosts.</description>
      <pubDate>Fri, 14 Sep 2001 19:24:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sql-plus-and-name-resolution/m-p/2579686#M920841</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2001-09-14T19:24:24Z</dc:date>
    </item>
  </channel>
</rss>

