<?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 DNS retry every 5 seconds ? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/dns-retry-every-5-seconds/m-p/3757549#M550735</link>
    <description>&lt;BR /&gt;How do I modify /etc/nsswitch.conf to retry DNS lookup every 5 seconds?&lt;BR /&gt;</description>
    <pubDate>Thu, 23 Mar 2006 09:25:36 GMT</pubDate>
    <dc:creator>dictum9</dc:creator>
    <dc:date>2006-03-23T09:25:36Z</dc:date>
    <item>
      <title>DNS retry every 5 seconds ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dns-retry-every-5-seconds/m-p/3757549#M550735</link>
      <description>&lt;BR /&gt;How do I modify /etc/nsswitch.conf to retry DNS lookup every 5 seconds?&lt;BR /&gt;</description>
      <pubDate>Thu, 23 Mar 2006 09:25:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dns-retry-every-5-seconds/m-p/3757549#M550735</guid>
      <dc:creator>dictum9</dc:creator>
      <dc:date>2006-03-23T09:25:36Z</dc:date>
    </item>
    <item>
      <title>Re: DNS retry every 5 seconds ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dns-retry-every-5-seconds/m-p/3757550#M550736</link>
      <description>Not in nsswitch.conf - but in resolv.conf...&lt;BR /&gt;&lt;BR /&gt;The default is 5 seconds...&lt;BR /&gt;&lt;BR /&gt;In Unix, we always check the first DNS server in resolv.conf - which means every DNS lookup will fail ( and wait 5 seconds and try 4 times!!) if that server is down. &lt;BR /&gt;&lt;BR /&gt;So, in resolv.conf, a setting of:&lt;BR /&gt;&lt;BR /&gt;retrans 2500&lt;BR /&gt;retry 2&lt;BR /&gt;&lt;BR /&gt;Will timeout after 2.5 seconds and only retry the same server twice.&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;From man page:&lt;BR /&gt;&lt;BR /&gt;retrans&lt;BR /&gt;&lt;BR /&gt;Retransmission timeout. It is interpreted during&lt;BR /&gt;the res_init() (see resolver(3N)) call. It has&lt;BR /&gt;higher precedence than setting it through the&lt;BR /&gt;set_resfeild() (see resolver(3N)) API and lower&lt;BR /&gt;precedence than setting it through the RES_RETRANS&lt;BR /&gt;(see resolver(3N)) environment variable. Whenever&lt;BR /&gt;an invalid value is specified for retrans, a&lt;BR /&gt;message is flagged in syslog. The default value&lt;BR /&gt;is 5000 milliseconds.&lt;BR /&gt;&lt;BR /&gt;retry&lt;BR /&gt;&lt;BR /&gt;Number of retries. This is interpreted during the&lt;BR /&gt;res_init() (see resolver(3N)) call. It has higher&lt;BR /&gt;precedence than setting it through the&lt;BR /&gt;set_resfeild() (see resolver(3N)) API and lower&lt;BR /&gt;precedence than setting it through the RES_RETRY&lt;BR /&gt;(see resolver(3N)) environment variable. Whenever&lt;BR /&gt;an invalid value is specified for retry, a message&lt;BR /&gt;is flagged in syslog. The default value is 4.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;That will speed up any delays going from 1 nameserver to another - unfortunately, Windows does a better job - if it can't get to the first one, it goes to the second - if successful, it's next query will automatically go to the second. In unix, this is not the case - we will always try the nameservers in order based on resolv.conf.&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Thu, 23 Mar 2006 09:28:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dns-retry-every-5-seconds/m-p/3757550#M550736</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2006-03-23T09:28:40Z</dc:date>
    </item>
    <item>
      <title>Re: DNS retry every 5 seconds ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dns-retry-every-5-seconds/m-p/3757551#M550737</link>
      <description>have a look at &lt;BR /&gt;man 4 resolver&lt;BR /&gt;you can change /etc/resolv.conf&lt;BR /&gt;</description>
      <pubDate>Thu, 23 Mar 2006 09:29:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dns-retry-every-5-seconds/m-p/3757551#M550737</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2006-03-23T09:29:20Z</dc:date>
    </item>
    <item>
      <title>Re: DNS retry every 5 seconds ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dns-retry-every-5-seconds/m-p/3757552#M550738</link>
      <description>Hi ETC, &lt;BR /&gt;&lt;BR /&gt;The default is 5 secs and you need to edit /etc/resolv.conf for modifying. &lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Thu, 23 Mar 2006 09:30:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dns-retry-every-5-seconds/m-p/3757552#M550738</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2006-03-23T09:30:05Z</dc:date>
    </item>
  </channel>
</rss>

