<?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: DNS in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/dns/m-p/3752897#M550650</link>
    <description>It's important to note that searching /etc/hosts first is a reliability enhancement, especially when the primary DNS server is not an ultr-reliable system. The correct behavior for nslookup is to follow the rules in the /etc/nsswitch.conf file. If it says file then dns, it will (instantly) search through /etc/hosts and if not found, immediately ask the DNS server(s). If the first DNS server does NOT know the hostname, the search ends because properly configured DNS servers know how to locate hostnames, either locally or referred to another DNS server. If multiple DNS servers are  listed in /etc/resolv.conf, the 2nd and 3rd servers are only consulted if the first server is dead -- that does not mean the server responded with hostname not found. It means the server simply refuses to respond to the request.&lt;BR /&gt; &lt;BR /&gt;Now to test a DNS server, use the often overlooked feature of nslookup: specifying the DNS server to use. Just lookup a failing hostname with desired the DNS server as the second parameter:&lt;BR /&gt; &lt;BR /&gt;nslookup failed_hostname 12.34.56.78&lt;BR /&gt; &lt;BR /&gt;This forces nslookup to bypass the nsswitch.conf file and simply query the server located at 12.34.56.78. Repeat for other DNS servers.</description>
    <pubDate>Thu, 16 Mar 2006 21:42:41 GMT</pubDate>
    <dc:creator>Bill Hassell</dc:creator>
    <dc:date>2006-03-16T21:42:41Z</dc:date>
    <item>
      <title>DNS</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dns/m-p/3752891#M550644</link>
      <description>I have a weird problem with my system. &lt;BR /&gt;&lt;BR /&gt;I can not ping via host names.&lt;BR /&gt;&lt;BR /&gt;THe dns servers are set correctly.  And I have the hosts names in the /etc/host file.&lt;BR /&gt;&lt;BR /&gt;if I ping server1  It takes for ever before it times out.&lt;BR /&gt;&lt;BR /&gt;If I ping server1's ip address it works fine.&lt;BR /&gt;&lt;BR /&gt;I am stumped. &lt;BR /&gt;&lt;BR /&gt;A nslookup wants to use the host file and not the DNS server.</description>
      <pubDate>Thu, 16 Mar 2006 14:19:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dns/m-p/3752891#M550644</guid>
      <dc:creator>Rob Wallner</dc:creator>
      <dc:date>2006-03-16T14:19:20Z</dc:date>
    </item>
    <item>
      <title>Re: DNS</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dns/m-p/3752892#M550645</link>
      <description>What do your /etc/resolv.conf and /etc/nsswitch.conf files look like?&lt;BR /&gt;&lt;BR /&gt;The nsswitch.conf should have a line similar to:&lt;BR /&gt;&lt;BR /&gt;hosts: files [NOTFOUND=continue] dns</description>
      <pubDate>Thu, 16 Mar 2006 14:27:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dns/m-p/3752892#M550645</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2006-03-16T14:27:41Z</dc:date>
    </item>
    <item>
      <title>Re: DNS</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dns/m-p/3752893#M550646</link>
      <description>It sounds like your nsswitch file is set to use hosts prior to DNS.  This is fairly normal and the /etc/nsswitch.conf entry should read something like this:&lt;BR /&gt;hosts: files[NOTFOUND=continue UNAVAIL=continue] dns [NOTFOUND=continue UNAVAIL=&lt;BR /&gt;continue TRYAGAIN=return] nis&lt;BR /&gt;&lt;BR /&gt;That's all one line, by the way.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete&lt;BR /&gt;</description>
      <pubDate>Thu, 16 Mar 2006 14:29:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dns/m-p/3752893#M550646</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2006-03-16T14:29:43Z</dc:date>
    </item>
    <item>
      <title>Re: DNS</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dns/m-p/3752894#M550647</link>
      <description>Hi, if you want nslookup search first in DNS, have configure file /etc/nsswitch.conf&lt;BR /&gt;&lt;BR /&gt;hosts: dns [NOTFOUND=continue] files [NOTFOUND=continue]&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 16 Mar 2006 14:29:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dns/m-p/3752894#M550647</guid>
      <dc:creator>Carlos Roberto Schimidt</dc:creator>
      <dc:date>2006-03-16T14:29:55Z</dc:date>
    </item>
    <item>
      <title>Re: DNS</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dns/m-p/3752895#M550648</link>
      <description>Check the /etc/resolv.conf per Pete's suggestion. If that is fine, then the problem is in DNS. Most likely there is no reverse-record for the host in question; i.e. there's a host name record in the zone for the network segment it's on, but there's no xxx.xxx.xxx.xxx-IN-ADDR.ARPA record for it.&lt;BR /&gt;&lt;BR /&gt;mark</description>
      <pubDate>Thu, 16 Mar 2006 17:12:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dns/m-p/3752895#M550648</guid>
      <dc:creator>Mark Greene_1</dc:creator>
      <dc:date>2006-03-16T17:12:21Z</dc:date>
    </item>
    <item>
      <title>Re: DNS</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dns/m-p/3752896#M550649</link>
      <description>I tend to do it like so:&lt;BR /&gt;&lt;BR /&gt;hosts:        files [NOTFOUND=CONTINUE] dns&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;but that is mainly for ServiceGuard.&lt;BR /&gt;&lt;BR /&gt;You can do DNS first, hosts second.&lt;BR /&gt;&lt;BR /&gt;Make resolv.conf is setup - I also adjust the time out:&lt;BR /&gt;&lt;BR /&gt;# cat /etc/resolv.conf&lt;BR /&gt;domain mydomain.net&lt;BR /&gt;nameserver X.X.X.X&lt;BR /&gt;nameserver X.X.X.X&lt;BR /&gt;nameserver X.X.X.X&lt;BR /&gt;retrans 1000&lt;BR /&gt;retry 2&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Thu, 16 Mar 2006 17:22:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dns/m-p/3752896#M550649</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2006-03-16T17:22:42Z</dc:date>
    </item>
    <item>
      <title>Re: DNS</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dns/m-p/3752897#M550650</link>
      <description>It's important to note that searching /etc/hosts first is a reliability enhancement, especially when the primary DNS server is not an ultr-reliable system. The correct behavior for nslookup is to follow the rules in the /etc/nsswitch.conf file. If it says file then dns, it will (instantly) search through /etc/hosts and if not found, immediately ask the DNS server(s). If the first DNS server does NOT know the hostname, the search ends because properly configured DNS servers know how to locate hostnames, either locally or referred to another DNS server. If multiple DNS servers are  listed in /etc/resolv.conf, the 2nd and 3rd servers are only consulted if the first server is dead -- that does not mean the server responded with hostname not found. It means the server simply refuses to respond to the request.&lt;BR /&gt; &lt;BR /&gt;Now to test a DNS server, use the often overlooked feature of nslookup: specifying the DNS server to use. Just lookup a failing hostname with desired the DNS server as the second parameter:&lt;BR /&gt; &lt;BR /&gt;nslookup failed_hostname 12.34.56.78&lt;BR /&gt; &lt;BR /&gt;This forces nslookup to bypass the nsswitch.conf file and simply query the server located at 12.34.56.78. Repeat for other DNS servers.</description>
      <pubDate>Thu, 16 Mar 2006 21:42:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dns/m-p/3752897#M550650</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2006-03-16T21:42:41Z</dc:date>
    </item>
    <item>
      <title>Re: DNS</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dns/m-p/3752898#M550651</link>
      <description>&lt;BR /&gt;Hi Rob,&lt;BR /&gt;&lt;BR /&gt;Pls ensure that you /etc/nsswitch.conf has a line ,&lt;BR /&gt;&lt;BR /&gt;hosts: files [NOTFOUND=continue] dns&lt;BR /&gt;&lt;BR /&gt;or&lt;BR /&gt;&lt;BR /&gt;hosts: dns&lt;BR /&gt;( if you want to resolve ALL HOSTS thru dns)&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Siva.</description>
      <pubDate>Thu, 16 Mar 2006 23:10:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dns/m-p/3752898#M550651</guid>
      <dc:creator>Sivakumar TS</dc:creator>
      <dc:date>2006-03-16T23:10:17Z</dc:date>
    </item>
    <item>
      <title>Re: DNS</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dns/m-p/3752899#M550652</link>
      <description>On the UX box you need to configure a DNS resolver.. this "can" be done through SAM. &lt;BR /&gt;&lt;BR /&gt;You need to make your it points to your primary DNS server.. Also, you need to make sure DNS routing and firewall is allowed from your HP Box to the Primary DNS.. &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 17 Mar 2006 10:45:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dns/m-p/3752899#M550652</guid>
      <dc:creator>rmueller58</dc:creator>
      <dc:date>2006-03-17T10:45:36Z</dc:date>
    </item>
  </channel>
</rss>

