<?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: error reported by nslookup in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/error-reported-by-nslookup/m-p/4844854#M563907</link>
    <description>.</description>
    <pubDate>Mon, 13 Dec 2004 04:23:49 GMT</pubDate>
    <dc:creator>Jdamian</dc:creator>
    <dc:date>2004-12-13T04:23:49Z</dc:date>
    <item>
      <title>error reported by nslookup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-reported-by-nslookup/m-p/4844845#M563898</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;My /etc/resolv.conf file is properly configured in order to use a DNS server. But nslookup command fails. For instance:&lt;BR /&gt;&lt;BR /&gt;$ nslookup &lt;A href="http://www.myweb.com" target="_blank"&gt;www.myweb.com&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;*** Can't find server name for address 172.27.200.141: Non-existent domain&lt;BR /&gt;*** Can't find server name for address 172.27.200.142: Non-existent domain&lt;BR /&gt;*** Default servers are not available&lt;BR /&gt;Using /etc/hosts on:  mysystem&lt;BR /&gt;&lt;BR /&gt;looking up FILES&lt;BR /&gt;Trying DNS&lt;BR /&gt;***  can't find &lt;A href="http://www.myweb.com:" target="_blank"&gt;www.myweb.com:&lt;/A&gt; No response from server&lt;BR /&gt;&lt;BR /&gt;Then I use nslookup without arguments and the same error message is reported:&lt;BR /&gt;&lt;BR /&gt;*** Can't find server name for address 172.27.200.141: Non-existent domain&lt;BR /&gt;*** Can't find server name for address 172.27.200.142: Non-existent domain&lt;BR /&gt;*** Default servers are not available&lt;BR /&gt;Using /etc/hosts on:  mysystem&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Then I type:&lt;BR /&gt;&lt;BR /&gt;&amp;gt; server 172.27.200.141&lt;BR /&gt;Specifying a server has overridden the switch policy order.&lt;BR /&gt;The reset command will reinstate the order specified by the switch policy.&lt;BR /&gt;Default Name Server:  [172.27.200.141]&lt;BR /&gt;Address:  172.27.200.141&lt;BR /&gt;&lt;BR /&gt;Now I type "&lt;A href="http://www.myweb.com" target="_blank"&gt;www.myweb.com&lt;/A&gt;" (or another URL) and it is solved properly; no error is reported.&lt;BR /&gt;&lt;BR /&gt;Name Server:  [172.27.200.141]&lt;BR /&gt;Address:  172.27.200.141&lt;BR /&gt;&lt;BR /&gt;Trying DNS&lt;BR /&gt;Non-authoritative answer:&lt;BR /&gt;Name:    &lt;A href="http://www.myweb.es" target="_blank"&gt;www.myweb.es&lt;/A&gt;&lt;BR /&gt;Address:  198.135.197.220&lt;BR /&gt;&lt;BR /&gt;You can find the following lines in the manual pages of nslookup command:&lt;BR /&gt;&lt;BR /&gt;"To override the switch policy and query DNS&lt;BR /&gt;      servers directly, the server command can be used to specify a&lt;BR /&gt;      nameserver. This same overriding of the switch policy can also be done&lt;BR /&gt;      by providing a nameserver as the second argument on the command line."&lt;BR /&gt;&lt;BR /&gt;But this doesn' work. I typed on the command line&lt;BR /&gt;&lt;BR /&gt;$ nslookup &lt;A href="http://www.terra.es" target="_blank"&gt;www.terra.es&lt;/A&gt; 172.27.200.141&lt;BR /&gt;Specified server is not available.&lt;BR /&gt;The configured name services and switch policy will be used.&lt;BR /&gt;*** Can't find server name for address 172.27.200.141: Non-existent domain&lt;BR /&gt;*** Can't find server name for address 172.27.200.142: Non-existent domain&lt;BR /&gt;*** Default servers are not available&lt;BR /&gt;Using /etc/hosts on:  mysystem&lt;BR /&gt;&lt;BR /&gt;looking up FILES&lt;BR /&gt;Trying DNS&lt;BR /&gt;***  can't find &lt;A href="http://www.myweb.com:" target="_blank"&gt;www.myweb.com:&lt;/A&gt; No response from server&lt;BR /&gt;&lt;BR /&gt;Can anyone help me ?&lt;BR /&gt;&lt;BR /&gt;Thanx in advance</description>
      <pubDate>Tue, 12 Feb 2002 08:38:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-reported-by-nslookup/m-p/4844845#M563898</guid>
      <dc:creator>Jdamian</dc:creator>
      <dc:date>2002-02-12T08:38:02Z</dc:date>
    </item>
    <item>
      <title>Re: error reported by nslookup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-reported-by-nslookup/m-p/4844846#M563899</link>
      <description>have you got an /etc/nsswitch.conf file? &lt;BR /&gt;&lt;BR /&gt;Mine is very simple and is NON NIS.&lt;BR /&gt;&lt;BR /&gt;hosts : files [NOTFOUND=continue UNAVAIL=continue TRYAGAIN=continue] dns&lt;BR /&gt;aliases : files&lt;BR /&gt;services : files&lt;BR /&gt;protocols : files&lt;BR /&gt;networks : files&lt;BR /&gt;&lt;BR /&gt;This may fix the problem. &lt;BR /&gt;&lt;BR /&gt;Is you DNS server in your /etc/resolv.conf?&lt;BR /&gt;&lt;BR /&gt;search mydodgydomain.com&lt;BR /&gt;#use our local dns&lt;BR /&gt;nameserver 10.198.11.154&lt;BR /&gt;&lt;BR /&gt;if specifying by name, is it in the hosts files and are these files world readble? &lt;BR /&gt;&lt;BR /&gt;They gotta be world readble for people other than root to use em.&lt;BR /&gt;&lt;BR /&gt;Scott.&lt;BR /&gt;</description>
      <pubDate>Tue, 12 Feb 2002 09:15:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-reported-by-nslookup/m-p/4844846#M563899</guid>
      <dc:creator>Scott Van Kalken</dc:creator>
      <dc:date>2002-02-12T09:15:48Z</dc:date>
    </item>
    <item>
      <title>Re: error reported by nslookup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-reported-by-nslookup/m-p/4844847#M563900</link>
      <description>Yes.&lt;BR /&gt;&lt;BR /&gt;/etc/resolv.conf and /etc/nsswitch.conf are properly set.&lt;BR /&gt;&lt;BR /&gt;Moreover, both files have been modified in order to test other configurations.&lt;BR /&gt;</description>
      <pubDate>Tue, 12 Feb 2002 10:48:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-reported-by-nslookup/m-p/4844847#M563900</guid>
      <dc:creator>Jdamian</dc:creator>
      <dc:date>2002-02-12T10:48:03Z</dc:date>
    </item>
    <item>
      <title>Re: error reported by nslookup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-reported-by-nslookup/m-p/4844848#M563901</link>
      <description>UNIX error messages can be so deceiving.&lt;BR /&gt;&lt;BR /&gt;172.27.200.141 is not in your reverse lookups&lt;BR /&gt;&lt;BR /&gt;you are unable do a IP to name resolution</description>
      <pubDate>Tue, 12 Feb 2002 13:44:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-reported-by-nslookup/m-p/4844848#M563901</guid>
      <dc:creator>John Bolene</dc:creator>
      <dc:date>2002-02-12T13:44:49Z</dc:date>
    </item>
    <item>
      <title>Re: error reported by nslookup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-reported-by-nslookup/m-p/4844849#M563902</link>
      <description>Hi Damian,&lt;BR /&gt;&lt;BR /&gt;Put the nameserver name and ip address in your /etc/hosts file. Can you post your nsswitch.conf and resolv.conf files for us to look at.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
      <pubDate>Tue, 12 Feb 2002 14:02:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-reported-by-nslookup/m-p/4844849#M563902</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2002-02-12T14:02:54Z</dc:date>
    </item>
    <item>
      <title>Re: error reported by nslookup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-reported-by-nslookup/m-p/4844850#M563903</link>
      <description>172.27 is a reserved address - that means it won't appear (nor is it routable) on the global Internet.&lt;BR /&gt;&lt;BR /&gt;Check basic IP connectivity to that nameserver:&lt;BR /&gt;$ping 172.27.200.141&lt;BR /&gt;and/or&lt;BR /&gt;$ping 172.27.200.142&lt;BR /&gt;&lt;BR /&gt;If your box is outside of a firewall, you probably don't have direct connectivity to those nameservers (they're behind the firewall).&lt;BR /&gt;&lt;BR /&gt;If your box is inside a firewall, look at your default gateway and routes, something is missing somewhere.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 12 Feb 2002 14:13:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-reported-by-nslookup/m-p/4844850#M563903</guid>
      <dc:creator>Christopher Caldwell</dc:creator>
      <dc:date>2002-02-12T14:13:05Z</dc:date>
    </item>
    <item>
      <title>Re: error reported by nslookup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-reported-by-nslookup/m-p/4844851#M563904</link>
      <description>what john pointed-out is probably germane (if perhaps a bit cryptic :)&lt;BR /&gt;&lt;BR /&gt;nslookup is rather insitant on being able to reverse-map the DNS server's IP address to a server name. it gets rather cranky when this does not work. &lt;BR /&gt;&lt;BR /&gt;to make it work, you need PTR records in the DNS servers mapping from IP addresses to hostnames. nslookup is also not terribly good about completely honouring the /etc/nsswitch.conf file...&lt;BR /&gt;&lt;BR /&gt;"normal" name resolution through gethostbyname() et all will likely still work fine though. as will (iirc) utilities such as dig - which may (again iirc) be distributed along with the web-releases of BIND from &lt;A href="http://www.software.hp.com" target="_blank"&gt;www.software.hp.com&lt;/A&gt;</description>
      <pubDate>Wed, 13 Feb 2002 02:34:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-reported-by-nslookup/m-p/4844851#M563904</guid>
      <dc:creator>rick jones</dc:creator>
      <dc:date>2002-02-13T02:34:43Z</dc:date>
    </item>
    <item>
      <title>Re: error reported by nslookup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-reported-by-nslookup/m-p/4844852#M563905</link>
      <description>My nsswitch.conf file is:&lt;BR /&gt;&lt;BR /&gt;#&lt;BR /&gt;# /etc/nsswitch.files:&lt;BR /&gt;#&lt;BR /&gt;# An example file that could be copied over to /etc/nsswitch.conf; it&lt;BR /&gt;# does not use any name services.&lt;BR /&gt;#&lt;BR /&gt;passwd:       files&lt;BR /&gt;group:        files&lt;BR /&gt;hosts:        files dns&lt;BR /&gt;services:     files&lt;BR /&gt;networks:     files&lt;BR /&gt;protocols:    files&lt;BR /&gt;rpc:          files&lt;BR /&gt;publickey:    files&lt;BR /&gt;netgroup:     files&lt;BR /&gt;automount:    files&lt;BR /&gt;aliases:      files&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;My /etc/resolv.conf file is:&lt;BR /&gt;&lt;BR /&gt;;&lt;BR /&gt;; /etc/resolv.conf file for using&lt;BR /&gt;; a server on another host.&lt;BR /&gt;;&lt;BR /&gt;domain myweb.com&lt;BR /&gt;nameserver 172.27.200.141&lt;BR /&gt;nameserver 172.27.200.142&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The core of my question is:&lt;BR /&gt;&lt;BR /&gt;why does nslookup run fine if it is executed on interactive mode and "server 172.27.200.141" is type ?&lt;BR /&gt;&lt;BR /&gt;Why doesn't nslookup run as described in the previous line when I provide the IP addres of resolver server as argument in the command line ?&lt;BR /&gt;&lt;BR /&gt;Have you noticed that nslookup solves fine when the switch policy order has been overridden ?</description>
      <pubDate>Thu, 14 Feb 2002 08:43:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-reported-by-nslookup/m-p/4844852#M563905</guid>
      <dc:creator>Jdamian</dc:creator>
      <dc:date>2002-02-14T08:43:39Z</dc:date>
    </item>
    <item>
      <title>Re: error reported by nslookup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-reported-by-nslookup/m-p/4844853#M563906</link>
      <description>Looks like your nameservers are not able to resolve their own DNS name. Check your config on the nameservers.&lt;BR /&gt;&lt;BR /&gt;Ruediger</description>
      <pubDate>Thu, 14 Feb 2002 09:28:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-reported-by-nslookup/m-p/4844853#M563906</guid>
      <dc:creator>Ruediger Noack</dc:creator>
      <dc:date>2002-02-14T09:28:57Z</dc:date>
    </item>
    <item>
      <title>Re: error reported by nslookup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-reported-by-nslookup/m-p/4844854#M563907</link>
      <description>.</description>
      <pubDate>Mon, 13 Dec 2004 04:23:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-reported-by-nslookup/m-p/4844854#M563907</guid>
      <dc:creator>Jdamian</dc:creator>
      <dc:date>2004-12-13T04:23:49Z</dc:date>
    </item>
  </channel>
</rss>

