<?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: Ping does'nt work with dotted name in /etc/hosts in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ping-does-nt-work-with-dotted-name-in-etc-hosts/m-p/3649034#M240271</link>
    <description>I hope it may be a problem with your /etc/nsswitch.conf settings too :)&lt;BR /&gt;&lt;BR /&gt;Check for hosts: entry in that which decides host -&amp;gt; ip and ip -&amp;gt; host resolvation.&lt;BR /&gt;&lt;BR /&gt;Try to keep as,&lt;BR /&gt;&lt;BR /&gt;hosts: files dns&lt;BR /&gt;&lt;BR /&gt;# mv /etc/resolv.conf.old /etc/resolv.conf&lt;BR /&gt;You can verify this setting as,&lt;BR /&gt;&lt;BR /&gt; # nsquery hosts 204.1.4.23 "files dns"&lt;BR /&gt; # nsquery hosts 204.1.4.23 "dns"&lt;BR /&gt;&lt;BR /&gt;hth.&lt;BR /&gt; It will work.</description>
    <pubDate>Fri, 14 Oct 2005 01:40:30 GMT</pubDate>
    <dc:creator>Muthukumar_5</dc:creator>
    <dc:date>2005-10-14T01:40:30Z</dc:date>
    <item>
      <title>Ping does'nt work with dotted name in /etc/hosts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ping-does-nt-work-with-dotted-name-in-etc-hosts/m-p/3649030#M240267</link>
      <description>Hi, &lt;BR /&gt;Here is my question :&lt;BR /&gt;Having "204.1.4.23 ict-prod-ce0" in /etc/hosts&lt;BR /&gt;The ping succed :&lt;BR /&gt;ping ict-prod-ce0&lt;BR /&gt;PING ict-prod-ce0: 64 byte packets&lt;BR /&gt;64 bytes from 204.1.4.23: icmp_seq=0. time=1. ms&lt;BR /&gt;64 bytes from 204.1.4.23: icmp_seq=1. time=0. ms&lt;BR /&gt;----ict-prod-ce0 PING Statistics----&lt;BR /&gt;4 packets transmitted, 4 packets received, 0% packet loss&lt;BR /&gt;round-trip (ms)  min/avg/max = 0/0/1&lt;BR /&gt;&lt;BR /&gt;But with "204.1.4.23 ict-prod.ce0" in /etc/hosts&lt;BR /&gt;It does NOT :(&lt;BR /&gt;ping ict-prod.ce0&lt;BR /&gt;ping: unknown host ict-prod.ce0&lt;BR /&gt;&lt;BR /&gt;WHY ?&lt;BR /&gt;&lt;BR /&gt;Thanks a lot for any responses .</description>
      <pubDate>Thu, 13 Oct 2005 12:36:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ping-does-nt-work-with-dotted-name-in-etc-hosts/m-p/3649030#M240267</guid>
      <dc:creator>Mouad_1</dc:creator>
      <dc:date>2005-10-13T12:36:14Z</dc:date>
    </item>
    <item>
      <title>Re: Ping does'nt work with dotted name in /etc/hosts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ping-does-nt-work-with-dotted-name-in-etc-hosts/m-p/3649031#M240268</link>
      <description>this is because it understands the "dot" as a delimiter to signify hostname.domain&lt;BR /&gt;&lt;BR /&gt;Either do not use a . in the hostname, or change the ndots setting, as per &lt;BR /&gt;man hostname &lt;BR /&gt;and&lt;BR /&gt;man 5 hostname&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 13 Oct 2005 12:47:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ping-does-nt-work-with-dotted-name-in-etc-hosts/m-p/3649031#M240268</guid>
      <dc:creator>melvyn burnard</dc:creator>
      <dc:date>2005-10-13T12:47:37Z</dc:date>
    </item>
    <item>
      <title>Re: Ping does'nt work with dotted name in /etc/hosts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ping-does-nt-work-with-dotted-name-in-etc-hosts/m-p/3649032#M240269</link>
      <description>dots are used to define fully qualified domain names if you wish.&lt;BR /&gt;&lt;BR /&gt;Doesn't work like a DNS database.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 13 Oct 2005 13:08:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ping-does-nt-work-with-dotted-name-in-etc-hosts/m-p/3649032#M240269</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2005-10-13T13:08:17Z</dc:date>
    </item>
    <item>
      <title>Re: Ping does'nt work with dotted name in /etc/hosts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ping-does-nt-work-with-dotted-name-in-etc-hosts/m-p/3649033#M240270</link>
      <description>Thanks&lt;BR /&gt;It worked by renaming /etc/resolve.conf&lt;BR /&gt;mv /etc/resolve.conf /etc/resolve.conf.old&lt;BR /&gt;There was probably some stuff in resolve.conf making trouble&lt;BR /&gt;</description>
      <pubDate>Fri, 14 Oct 2005 01:16:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ping-does-nt-work-with-dotted-name-in-etc-hosts/m-p/3649033#M240270</guid>
      <dc:creator>Mouad_1</dc:creator>
      <dc:date>2005-10-14T01:16:53Z</dc:date>
    </item>
    <item>
      <title>Re: Ping does'nt work with dotted name in /etc/hosts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ping-does-nt-work-with-dotted-name-in-etc-hosts/m-p/3649034#M240271</link>
      <description>I hope it may be a problem with your /etc/nsswitch.conf settings too :)&lt;BR /&gt;&lt;BR /&gt;Check for hosts: entry in that which decides host -&amp;gt; ip and ip -&amp;gt; host resolvation.&lt;BR /&gt;&lt;BR /&gt;Try to keep as,&lt;BR /&gt;&lt;BR /&gt;hosts: files dns&lt;BR /&gt;&lt;BR /&gt;# mv /etc/resolv.conf.old /etc/resolv.conf&lt;BR /&gt;You can verify this setting as,&lt;BR /&gt;&lt;BR /&gt; # nsquery hosts 204.1.4.23 "files dns"&lt;BR /&gt; # nsquery hosts 204.1.4.23 "dns"&lt;BR /&gt;&lt;BR /&gt;hth.&lt;BR /&gt; It will work.</description>
      <pubDate>Fri, 14 Oct 2005 01:40:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ping-does-nt-work-with-dotted-name-in-etc-hosts/m-p/3649034#M240271</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2005-10-14T01:40:30Z</dc:date>
    </item>
    <item>
      <title>Re: Ping does'nt work with dotted name in /etc/hosts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ping-does-nt-work-with-dotted-name-in-etc-hosts/m-p/3649035#M240272</link>
      <description>I have no file /etc/nsswitch,&lt;BR /&gt;anyway the content of the /etc/resolv.conf (now is resolv.conf.old) was :&lt;BR /&gt;&lt;BR /&gt;domain xxx.net.ma&lt;BR /&gt;nameserver x.y.z.t&lt;BR /&gt;nameserver x.y.z.t&lt;BR /&gt;&lt;BR /&gt;if that may help understanding how the name resolution work .&lt;BR /&gt;Mouad&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 14 Oct 2005 05:51:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ping-does-nt-work-with-dotted-name-in-etc-hosts/m-p/3649035#M240272</guid>
      <dc:creator>Mouad_1</dc:creator>
      <dc:date>2005-10-14T05:51:22Z</dc:date>
    </item>
    <item>
      <title>Re: Ping does'nt work with dotted name in /etc/hosts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ping-does-nt-work-with-dotted-name-in-etc-hosts/m-p/3649036#M240273</link>
      <description>Hi Mouad,&lt;BR /&gt;&lt;BR /&gt;/etc/nsswitch sets the search order for a NAME RESOLUTION PROVIDER, like /etc/hosts( termed as file in nsswitch.conf), NIS, DNS etc.&lt;BR /&gt;&lt;BR /&gt;For example if your /etc/nsswitch.conf has got the following entry, the search for a host name resolution will start in the /etc/hosts then DNS and finally NIS resources.&lt;BR /&gt;&lt;BR /&gt;hosts:  files    dns     nis&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;/etc/resolv.conf is the file for a DNS client where it specifies the search order for a DNS resource.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Syam&lt;BR /&gt;</description>
      <pubDate>Fri, 14 Oct 2005 05:59:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ping-does-nt-work-with-dotted-name-in-etc-hosts/m-p/3649036#M240273</guid>
      <dc:creator>Ranjith_5</dc:creator>
      <dc:date>2005-10-14T05:59:30Z</dc:date>
    </item>
    <item>
      <title>Re: Ping does'nt work with dotted name in /etc/hosts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ping-does-nt-work-with-dotted-name-in-etc-hosts/m-p/3649037#M240274</link>
      <description>Thanks Syam, that's clear .&lt;BR /&gt;But what if nsswitch.conf does'nt even exists, I guess it starts searching in /etc/hosts by default, but the problem here is that it still takes entries in /etc/hosts as host.domain (if dotted name)&lt;BR /&gt;</description>
      <pubDate>Fri, 14 Oct 2005 06:15:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ping-does-nt-work-with-dotted-name-in-etc-hosts/m-p/3649037#M240274</guid>
      <dc:creator>Mouad_1</dc:creator>
      <dc:date>2005-10-14T06:15:58Z</dc:date>
    </item>
    <item>
      <title>Re: Ping does'nt work with dotted name in /etc/hosts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ping-does-nt-work-with-dotted-name-in-etc-hosts/m-p/3649038#M240275</link>
      <description># The form for each entry is:&lt;BR /&gt;# &lt;INTERNET address=""&gt;    &lt;OFFICIAL hostname=""&gt; &lt;ALIASES&gt;&lt;BR /&gt;#&lt;BR /&gt;# For example:&lt;BR /&gt;# 192.1.2.34    hpfcrm  loghost&lt;BR /&gt;#&lt;BR /&gt;# See the hosts(4) manual page for more information.&lt;BR /&gt;# Note: The entries cannot be preceded by a space.&lt;BR /&gt;#       The format described in this file is the correct format.&lt;BR /&gt;#       The original Berkeley manual page contains an error in&lt;BR /&gt;#       the format description.&lt;BR /&gt;#&lt;BR /&gt;&lt;/ALIASES&gt;&lt;/OFFICIAL&gt;&lt;/INTERNET&gt;</description>
      <pubDate>Fri, 14 Oct 2005 06:43:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ping-does-nt-work-with-dotted-name-in-etc-hosts/m-p/3649038#M240275</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2005-10-14T06:43:05Z</dc:date>
    </item>
  </channel>
</rss>

