<?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: NAME RESOLUTION ISSUE in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/name-resolution-issue/m-p/4710231#M42650</link>
    <description>Also see the /etc/host entry , /etc/resolve.conf &lt;BR /&gt;&lt;BR /&gt;-bash-3.2# cat resolv.conf&lt;BR /&gt;search aagc.corp&lt;BR /&gt;nameserver 192.168.5.101&lt;BR /&gt;nameserver 213.42.20.20&lt;BR /&gt;-bash-3.2#&lt;BR /&gt;&lt;BR /&gt;-bash-3.2# cat /etc/hosts&lt;BR /&gt;127.0.0.1       localhost.localdomain localhost&lt;BR /&gt;#192.168.5.100 agiproxy&lt;BR /&gt;192.168.5.14  agibkpp.aagc.corp&lt;BR /&gt;#192.168.5.11    aagcapp&lt;BR /&gt;192.168.5.99     agi_proxy.aagc.corp   agi_proxy&lt;BR /&gt;192.168.5.10     aagcapp.aagc.corp     aagcapp&lt;BR /&gt;&lt;BR /&gt;/etc/nsswitch.conf&lt;BR /&gt;&lt;BR /&gt;# Example:&lt;BR /&gt;#passwd:    db files nisplus nis&lt;BR /&gt;#shadow:    db files nisplus nis&lt;BR /&gt;#group:     db files nisplus nis&lt;BR /&gt;&lt;BR /&gt;passwd:     files&lt;BR /&gt;shadow:     files&lt;BR /&gt;group:      files&lt;BR /&gt;&lt;BR /&gt;#hosts:     db files nisplus nis dns&lt;BR /&gt;hosts:      files dns&lt;BR /&gt;&lt;BR /&gt;# Example - obey only what nisplus tells us...&lt;BR /&gt;#services:   nisplus [NOTFOUND=return] files&lt;BR /&gt;#networks:   nisplus [NOTFOUND=return] files&lt;BR /&gt;#protocols:  nisplus [NOTFOUND=return] files&lt;BR /&gt;#rpc:        nisplus [NOTFOUND=return] files&lt;BR /&gt;#ethers:     nisplus [NOTFOUND=return] files&lt;BR /&gt;#netmasks:   nisplus [NOTFOUND=return] files&lt;BR /&gt;&lt;BR /&gt;bootparams: nisplus [NOTFOUND=return] files&lt;BR /&gt;&lt;BR /&gt;ethers:     files&lt;BR /&gt;netmasks:   files&lt;BR /&gt;networks:   files&lt;BR /&gt;protocols:  files&lt;BR /&gt;rpc:        files&lt;BR /&gt;services:   files&lt;BR /&gt;&lt;BR /&gt;netgroup:   nisplus&lt;BR /&gt;&lt;BR /&gt;publickey:  nisplus&lt;BR /&gt;&lt;BR /&gt;automount:  files nisplus&lt;BR /&gt;aliases:    files nisplus&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 08 Nov 2010 05:03:29 GMT</pubDate>
    <dc:creator>pkumar97</dc:creator>
    <dc:date>2010-11-08T05:03:29Z</dc:date>
    <item>
      <title>NAME RESOLUTION ISSUE</title>
      <link>https://community.hpe.com/t5/operating-system-linux/name-resolution-issue/m-p/4710228#M42647</link>
      <description>Dear Team,&lt;BR /&gt;i am facing an issue with NAME resolution in one of my Linux box, when i am trying for an nslookup command it is not resolving and it is going and trying to resolve the service provider ip address.&lt;BR /&gt;&lt;BR /&gt;MY LINUX IS CENTOS&lt;BR /&gt;&lt;BR /&gt;i have an hp ux box ip address is 192.168.5.11 and host name is aagcapp also i have a linux box whose hostname is agi_proxy whose ip address is 192.168.5.99&lt;BR /&gt;&lt;BR /&gt;-bash-3.2# nslookup aagcapp&lt;BR /&gt;Server: 213.42.20.20&lt;BR /&gt;Address: 213.42.20.20#53&lt;BR /&gt;&lt;BR /&gt;** server can't find aagcapp: NXDOMAIN&lt;BR /&gt;&lt;BR /&gt;-bash-3.2# nslookup 192.168.5.11&lt;BR /&gt;Server: 213.42.20.20&lt;BR /&gt;Address: 213.42.20.20#53&lt;BR /&gt;&lt;BR /&gt;** server can't find 11.5.168.192.in-addr.arpa: NXDOMAIN&lt;BR /&gt;&lt;BR /&gt;-bash-3.2# nslookup agi_proxy&lt;BR /&gt;Server: 213.42.20.20&lt;BR /&gt;Address: 213.42.20.20#53&lt;BR /&gt;&lt;BR /&gt;** server can't find agi_proxy: NXDOMAIN&lt;BR /&gt;&lt;BR /&gt;-bash-3.2# nslookup 192.168.5.99&lt;BR /&gt;Server: 213.42.20.20&lt;BR /&gt;Address: 213.42.20.20#53&lt;BR /&gt;&lt;BR /&gt;** server can't find 99.5.168.192.in-addr.arpa: NXDOMAIN&lt;BR /&gt;&lt;BR /&gt;-bash-3.2# ping agi_proxy&lt;BR /&gt;PING agi_proxy.aagc.corp (192.168.5.99) 56(84) bytes of data.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;--- agi_proxy.aagc.corp ping statistics ---&lt;BR /&gt;14 packets transmitted, 0 received, 100% packet loss, time 13007ms&lt;BR /&gt;&lt;BR /&gt;-bash-3.2# ping 192.168.5.99&lt;BR /&gt;PING 192.168.5.99 (192.168.5.99) 56(84) bytes of data.&lt;BR /&gt;&lt;BR /&gt;--- 192.168.5.99 ping statistics ---&lt;BR /&gt;4 packets transmitted, 0 received, 100% packet loss, time 3023ms&lt;BR /&gt;&lt;BR /&gt;-bash-3.2# cat /etc/hosts&lt;BR /&gt;127.0.0.1 localhost.localdomain localhost&lt;BR /&gt;#192.168.5.100 agiproxy&lt;BR /&gt;192.168.5.14 agibkpp.aagc.corp&lt;BR /&gt;#192.168.5.11 aagcapp&lt;BR /&gt;192.168.5.99 agi_proxy.aagc.corp agi_proxy&lt;BR /&gt;192.168.5.10 aagcapp.aagc.corp aagcapp&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;-bash-3.2# cat /etc/resolv.conf&lt;BR /&gt;#domain aagc.corp&lt;BR /&gt;nameserver 213.42.20.20&lt;BR /&gt;nameserver 192.168.5.101&lt;BR /&gt;&lt;BR /&gt;when ever i am trying for an nslookup command from agi_proxy the hostname or ip address is not resolving &lt;BR /&gt;what could be the reason for this ..</description>
      <pubDate>Sun, 07 Nov 2010 13:15:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/name-resolution-issue/m-p/4710228#M42647</guid>
      <dc:creator>pkumar97</dc:creator>
      <dc:date>2010-11-07T13:15:08Z</dc:date>
    </item>
    <item>
      <title>Re: NAME RESOLUTION ISSUE</title>
      <link>https://community.hpe.com/t5/operating-system-linux/name-resolution-issue/m-p/4710229#M42648</link>
      <description>In CentOS Linux, the default nslookup will check DNS only, not /etc/hosts.&lt;BR /&gt;&lt;BR /&gt;Since your /etc/resolv.conf file has the "domain" line commented out, nslookup will assume you're trying to look up top-level names, like ".com", ".org" or ".ae". Of course a top-level domain ".agi_proxy" does not exist, so the response is "NXDOMAIN" (= Non-eXistent Domain).&lt;BR /&gt;&lt;BR /&gt;You should try nslookup using the fully-qualified names:&lt;BR /&gt;&lt;BR /&gt;# nslookup agi_proxy.aagc.corp&lt;BR /&gt;&lt;BR /&gt;# nslookup aagcapp.aagc.corp&lt;BR /&gt;&lt;BR /&gt;If these commands will also produce a NXDOMAIN response, you should talk to the administrators of your nameservers (the systems with IP addresses 192.168.5.101 and 213.42.20.20). Perhaps those names have not been registered to DNS at all?&lt;BR /&gt;&lt;BR /&gt;If you need or want to use short names, uncomment the "domain" line in your /etc/resolv.conf. That would tell your system to always assume that unqualified names should refer to the .aagc.corp domain.&lt;BR /&gt;&lt;BR /&gt;On the other hand, your ping command uses /etc/hosts too, so it has resolved the IP address successfully here:&lt;BR /&gt;&lt;BR /&gt;&amp;gt;bash-3.2# ping agi_proxy&lt;BR /&gt;&amp;gt;PING agi_proxy.aagc.corp (192.168.5.99) 56(84) bytes of data.&lt;BR /&gt;&lt;BR /&gt;... but it also indicates you apparently don't have network connectivity to agi_proxy, since it got no response at all:&lt;BR /&gt;&lt;BR /&gt;&amp;gt;--- agi_proxy.aagc.corp ping statistics ---&lt;BR /&gt;&amp;gt;14 packets transmitted, 0 received, 100% packet loss, time 13007ms&lt;BR /&gt;&lt;BR /&gt;(It might also mean that agi_proxy is configured to not respond to ping requests, or that there is a firewall between you and agi_proxy that blocks pings.)&lt;BR /&gt;&lt;BR /&gt;The "hosts:" line in /etc/nsswitch.conf will determine whether tools like ping use /etc/hosts or DNS as their primary way to resolve names.&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Sun, 07 Nov 2010 16:43:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/name-resolution-issue/m-p/4710229#M42648</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2010-11-07T16:43:23Z</dc:date>
    </item>
    <item>
      <title>Re: NAME RESOLUTION ISSUE</title>
      <link>https://community.hpe.com/t5/operating-system-linux/name-resolution-issue/m-p/4710230#M42649</link>
      <description>Thanks alot sir, now we i can do the following things ie from agi_proxy.aagc.corp ( linux server) i can resolve its host name and ip address. But from the same server when i am trying to resolve the clients hostname and ipaddress again we are getting the same error , please find the attached details&lt;BR /&gt;-bash-3.2# nslookup agi_proxy&lt;BR /&gt;Server:         192.168.5.101&lt;BR /&gt;Address:        192.168.5.101#53&lt;BR /&gt;&lt;BR /&gt;Name:   agi_proxy.aagc.corp&lt;BR /&gt;Address: 192.168.5.99&lt;BR /&gt;&lt;BR /&gt;-bash-3.2# nslookup aagcapp.aagc.corp&lt;BR /&gt;Server:         192.168.5.101&lt;BR /&gt;Address:        192.168.5.101#53&lt;BR /&gt;&lt;BR /&gt;** server can't find aagcapp.aagc.corp: NXDOMAIN&lt;BR /&gt;&lt;BR /&gt;-bash-3.2# nslookup 192.168.5.99&lt;BR /&gt;Server:         192.168.5.101&lt;BR /&gt;Address:        192.168.5.101#53&lt;BR /&gt;&lt;BR /&gt;99.5.168.192.in-addr.arpa       name = agi_proxy.aagc.corp.&lt;BR /&gt;&lt;BR /&gt;-bash-3.2# nslookup 192.168.5.10&lt;BR /&gt;Server:         192.168.5.101&lt;BR /&gt;Address:        192.168.5.101#53&lt;BR /&gt;&lt;BR /&gt;** server can't find 10.5.168.192.in-addr.arpa: NXDOMAIN&lt;BR /&gt;&lt;BR /&gt;-bash-3.2# cat /etc/resolv.conf&lt;BR /&gt;search aagc.corp&lt;BR /&gt;nameserver 192.168.5.101&lt;BR /&gt;nameserver 213.42.20.20&lt;BR /&gt;-bash-3.2# ping aagcapp.aagc.corp&lt;BR /&gt;PING aagcapp.aagc.corp (192.168.5.10) 56(84) bytes of data.&lt;BR /&gt;64 bytes from aagcapp.aagc.corp (192.168.5.10): icmp_seq=1 ttl=255 time=7.47 ms&lt;BR /&gt;64 bytes from aagcapp.aagc.corp (192.168.5.10): icmp_seq=2 ttl=255 time=0.106 ms&lt;BR /&gt;&lt;BR /&gt;--- aagcapp.aagc.corp ping statistics ---&lt;BR /&gt;2 packets transmitted, 2 received, 0% packet loss, time 1011ms&lt;BR /&gt;rtt min/avg/max/mdev = 0.106/3.791/7.477/3.686 ms&lt;BR /&gt;-bash-3.2#&lt;BR /&gt;</description>
      <pubDate>Mon, 08 Nov 2010 05:00:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/name-resolution-issue/m-p/4710230#M42649</guid>
      <dc:creator>pkumar97</dc:creator>
      <dc:date>2010-11-08T05:00:35Z</dc:date>
    </item>
    <item>
      <title>Re: NAME RESOLUTION ISSUE</title>
      <link>https://community.hpe.com/t5/operating-system-linux/name-resolution-issue/m-p/4710231#M42650</link>
      <description>Also see the /etc/host entry , /etc/resolve.conf &lt;BR /&gt;&lt;BR /&gt;-bash-3.2# cat resolv.conf&lt;BR /&gt;search aagc.corp&lt;BR /&gt;nameserver 192.168.5.101&lt;BR /&gt;nameserver 213.42.20.20&lt;BR /&gt;-bash-3.2#&lt;BR /&gt;&lt;BR /&gt;-bash-3.2# cat /etc/hosts&lt;BR /&gt;127.0.0.1       localhost.localdomain localhost&lt;BR /&gt;#192.168.5.100 agiproxy&lt;BR /&gt;192.168.5.14  agibkpp.aagc.corp&lt;BR /&gt;#192.168.5.11    aagcapp&lt;BR /&gt;192.168.5.99     agi_proxy.aagc.corp   agi_proxy&lt;BR /&gt;192.168.5.10     aagcapp.aagc.corp     aagcapp&lt;BR /&gt;&lt;BR /&gt;/etc/nsswitch.conf&lt;BR /&gt;&lt;BR /&gt;# Example:&lt;BR /&gt;#passwd:    db files nisplus nis&lt;BR /&gt;#shadow:    db files nisplus nis&lt;BR /&gt;#group:     db files nisplus nis&lt;BR /&gt;&lt;BR /&gt;passwd:     files&lt;BR /&gt;shadow:     files&lt;BR /&gt;group:      files&lt;BR /&gt;&lt;BR /&gt;#hosts:     db files nisplus nis dns&lt;BR /&gt;hosts:      files dns&lt;BR /&gt;&lt;BR /&gt;# Example - obey only what nisplus tells us...&lt;BR /&gt;#services:   nisplus [NOTFOUND=return] files&lt;BR /&gt;#networks:   nisplus [NOTFOUND=return] files&lt;BR /&gt;#protocols:  nisplus [NOTFOUND=return] files&lt;BR /&gt;#rpc:        nisplus [NOTFOUND=return] files&lt;BR /&gt;#ethers:     nisplus [NOTFOUND=return] files&lt;BR /&gt;#netmasks:   nisplus [NOTFOUND=return] files&lt;BR /&gt;&lt;BR /&gt;bootparams: nisplus [NOTFOUND=return] files&lt;BR /&gt;&lt;BR /&gt;ethers:     files&lt;BR /&gt;netmasks:   files&lt;BR /&gt;networks:   files&lt;BR /&gt;protocols:  files&lt;BR /&gt;rpc:        files&lt;BR /&gt;services:   files&lt;BR /&gt;&lt;BR /&gt;netgroup:   nisplus&lt;BR /&gt;&lt;BR /&gt;publickey:  nisplus&lt;BR /&gt;&lt;BR /&gt;automount:  files nisplus&lt;BR /&gt;aliases:    files nisplus&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 08 Nov 2010 05:03:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/name-resolution-issue/m-p/4710231#M42650</guid>
      <dc:creator>pkumar97</dc:creator>
      <dc:date>2010-11-08T05:03:29Z</dc:date>
    </item>
    <item>
      <title>Re: NAME RESOLUTION ISSUE</title>
      <link>https://community.hpe.com/t5/operating-system-linux/name-resolution-issue/m-p/4710232#M42651</link>
      <description>OK, now it looks like ag_proxy has a valid name registration in the DNS system. Apparently you fixed the domain line in /etc/resolv.conf too, because short names are also working.&lt;BR /&gt;&lt;BR /&gt;The name -&amp;gt; IP lookup (regular, or "forward" DNS lookup) works for agi_proxy:&lt;BR /&gt;&lt;BR /&gt;&amp;gt;-bash-3.2# nslookup agi_proxy&lt;BR /&gt;&amp;gt;Server: 192.168.5.101&lt;BR /&gt;&amp;gt;Address: 192.168.5.101#53&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt;Name: agi_proxy.aagc.corp&lt;BR /&gt;&amp;gt;Address: 192.168.5.99&lt;BR /&gt;&lt;BR /&gt;The IP -&amp;gt; name lookup (= reverse DNS lookup) seems to work too:&lt;BR /&gt;&lt;BR /&gt;&amp;gt;-bash-3.2# nslookup 192.168.5.99&lt;BR /&gt;&amp;gt;Server: 192.168.5.101&lt;BR /&gt;&amp;gt;Address: 192.168.5.101#53&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt;99.5.168.192.in-addr.arpa name = agi_proxy.aagc.corp.&lt;BR /&gt;&lt;BR /&gt;But the aagcapp system is apparently not registered to DNS at all:&lt;BR /&gt;&lt;BR /&gt;&amp;gt;-bash-3.2# nslookup aagcapp.aagc.corp&lt;BR /&gt;&amp;gt;Server: 192.168.5.101&lt;BR /&gt;&amp;gt;Address: 192.168.5.101#53&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt;** server can't find aagcapp.aagc.corp: NXDOMAIN&lt;BR /&gt;&lt;BR /&gt;Find the DNS administrator of the aagc.corp domain, and ask him/her to add the name and IP address of aagcapp to the aagc.corp zone. Unless you are the administrator of the aagc.corp DNS zone, you *cannot* fix this yourself.&lt;BR /&gt;&lt;BR /&gt;If the aagc.corp zone uses classic manual updates, then the DNS administrator can fix the problem. If the zone uses some sort of dynamic DNS update mechanism, then the DNS administrator can check the logs of the DNS servers to see why aagcapp has not been registered to DNS.&lt;BR /&gt;&lt;BR /&gt;The ping command works because /etc/hosts includes the correct IP address for aagcapp. But the purpose of DNS is to remove the requirement to add all hosts to /etc/hosts files of all other hosts.&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Mon, 08 Nov 2010 13:22:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/name-resolution-issue/m-p/4710232#M42651</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2010-11-08T13:22:12Z</dc:date>
    </item>
  </channel>
</rss>

