<?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: Question about hostname resolve in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/question-about-hostname-resolve/m-p/4243604#M330342</link>
    <description>Use your host file in /etc/</description>
    <pubDate>Thu, 31 Jul 2008 08:53:45 GMT</pubDate>
    <dc:creator>H_16</dc:creator>
    <dc:date>2008-07-31T08:53:45Z</dc:date>
    <item>
      <title>Question about hostname resolve</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question-about-hostname-resolve/m-p/4243603#M330341</link>
      <description>Is there system process will resolve the other server's IP to the hostname?&lt;BR /&gt;I found DNS packet in TCP packets, but I don't know which process do this.&lt;BR /&gt;I don't have DNS on my server.&lt;BR /&gt;&lt;BR /&gt;/etc/nsswitch.conf&lt;BR /&gt;hosts:        files[NOTFOUND=continue] dns&lt;BR /&gt;</description>
      <pubDate>Thu, 31 Jul 2008 08:51:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question-about-hostname-resolve/m-p/4243603#M330341</guid>
      <dc:creator>chuanpeng.wang</dc:creator>
      <dc:date>2008-07-31T08:51:39Z</dc:date>
    </item>
    <item>
      <title>Re: Question about hostname resolve</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question-about-hostname-resolve/m-p/4243604#M330342</link>
      <description>Use your host file in /etc/</description>
      <pubDate>Thu, 31 Jul 2008 08:53:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question-about-hostname-resolve/m-p/4243604#M330342</guid>
      <dc:creator>H_16</dc:creator>
      <dc:date>2008-07-31T08:53:45Z</dc:date>
    </item>
    <item>
      <title>Re: Question about hostname resolve</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question-about-hostname-resolve/m-p/4243605#M330343</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Add entry in /etc/hosts file&lt;BR /&gt;&lt;BR /&gt;with Hostname and ip address&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Sanjeev</description>
      <pubDate>Thu, 31 Jul 2008 09:28:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question-about-hostname-resolve/m-p/4243605#M330343</guid>
      <dc:creator>Sharma Sanjeev</dc:creator>
      <dc:date>2008-07-31T09:28:39Z</dc:date>
    </item>
    <item>
      <title>Re: Question about hostname resolve</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question-about-hostname-resolve/m-p/4243606#M330344</link>
      <description>&amp;gt;&amp;gt; "I don't have DNS on my server.&lt;BR /&gt;&lt;BR /&gt;/etc/nsswitch.conf&lt;BR /&gt;hosts: files[NOTFOUND=continue] dns "&lt;BR /&gt;&lt;BR /&gt;But this line looks like you have (continue to DNS)!&lt;BR /&gt;&lt;BR /&gt;Do you have a config in&lt;BR /&gt;&lt;BR /&gt;/etc/resolv.conf ?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 31 Jul 2008 09:33:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question-about-hostname-resolve/m-p/4243606#M330344</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2008-07-31T09:33:24Z</dc:date>
    </item>
    <item>
      <title>Re: Question about hostname resolve</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question-about-hostname-resolve/m-p/4243607#M330345</link>
      <description>Easy test:&lt;BR /&gt;&lt;BR /&gt;# nslookup &lt;A href="http://www.hp.com" target="_blank"&gt;www.hp.com&lt;/A&gt;</description>
      <pubDate>Thu, 31 Jul 2008 09:36:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question-about-hostname-resolve/m-p/4243607#M330345</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2008-07-31T09:36:58Z</dc:date>
    </item>
    <item>
      <title>Re: Question about hostname resolve</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question-about-hostname-resolve/m-p/4243608#M330346</link>
      <description>you can add your hostname and IP address to the /etc/hosts file&lt;BR /&gt;&lt;BR /&gt;or you can point to your existing DNS server by giving entry into /etc/resolv.conf&lt;BR /&gt;&lt;BR /&gt;example (IP=DNS server IP address)&lt;BR /&gt;nameserver IP</description>
      <pubDate>Thu, 31 Jul 2008 09:37:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question-about-hostname-resolve/m-p/4243608#M330346</guid>
      <dc:creator>Masud Parvez</dc:creator>
      <dc:date>2008-07-31T09:37:38Z</dc:date>
    </item>
    <item>
      <title>Re: Question about hostname resolve</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question-about-hostname-resolve/m-p/4243609#M330347</link>
      <description>I don't think the question is "how to resolve", but "why it is asking DNS".&lt;BR /&gt;&lt;BR /&gt;IMHO the answer is in /etc/nsswitch.conf.&lt;BR /&gt;&lt;BR /&gt;A process wants to resolve a hostname that is not in the hosts file.&lt;BR /&gt;&lt;BR /&gt;That's why I wrote about the easy test  - you will just see what happens.&lt;BR /&gt;&lt;BR /&gt;# nslookup &lt;A href="http://www.hp.com" target="_blank"&gt;www.hp.com&lt;/A&gt;&lt;BR /&gt;Using /etc/hosts on:  xyz&lt;BR /&gt;&lt;BR /&gt;looking up FILES&lt;BR /&gt;==&amp;gt; Trying DNS &amp;lt;==&lt;BR /&gt;...&lt;BR /&gt;Aliases:  &lt;A href="http://www.hp.com" target="_blank"&gt;www.hp.com&lt;/A&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 31 Jul 2008 09:45:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question-about-hostname-resolve/m-p/4243609#M330347</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2008-07-31T09:45:46Z</dc:date>
    </item>
    <item>
      <title>Re: Question about hostname resolve</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question-about-hostname-resolve/m-p/4243610#M330348</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;If you have no DNS server to work with then nsswitch.conf should not have a configuration that tries to continue to a non-existent DNS server. That will simply slow network operations on your system. Better to simply let /etc/hosts resolve or fail and get an answer back quickly.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 31 Jul 2008 09:51:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question-about-hostname-resolve/m-p/4243610#M330348</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2008-07-31T09:51:19Z</dc:date>
    </item>
    <item>
      <title>Re: Question about hostname resolve</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question-about-hostname-resolve/m-p/4243611#M330349</link>
      <description>Hi chuanpeng.wang &lt;BR /&gt;&lt;BR /&gt;If other node information is not found in your local /etc/hosts then only resolution process will move to dns as next resort.&lt;BR /&gt;&lt;BR /&gt;So you have two choices as everyone told.&lt;BR /&gt;either use /etc/hosts&lt;BR /&gt;or&lt;BR /&gt;use DNS server to resolve hostname/IP&lt;BR /&gt;&lt;BR /&gt;File: /etc/hosts&lt;BR /&gt;File: /etc/resolv.conf</description>
      <pubDate>Thu, 31 Jul 2008 09:57:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question-about-hostname-resolve/m-p/4243611#M330349</guid>
      <dc:creator>Deepak Kr</dc:creator>
      <dc:date>2008-07-31T09:57:56Z</dc:date>
    </item>
    <item>
      <title>Re: Question about hostname resolve</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question-about-hostname-resolve/m-p/4243612#M330350</link>
      <description>Sorry, I mislead you.&lt;BR /&gt;My question is which process ask for DNS resloving.&lt;BR /&gt;&lt;BR /&gt;In the TCP packet, I found some process try to resolve the IP to hostname, but I don't know which process do this.&lt;BR /&gt;It seems some system process, because my user application will not do this.&lt;BR /&gt;Which system process will try to resolve IP to hostname?&lt;BR /&gt;Please give me some example.&lt;BR /&gt;</description>
      <pubDate>Fri, 01 Aug 2008 00:44:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question-about-hostname-resolve/m-p/4243612#M330350</guid>
      <dc:creator>chuanpeng.wang</dc:creator>
      <dc:date>2008-08-01T00:44:43Z</dc:date>
    </item>
    <item>
      <title>Re: Question about hostname resolve</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question-about-hostname-resolve/m-p/4243613#M330351</link>
      <description>If I am not wrong it is inetd service.</description>
      <pubDate>Fri, 01 Aug 2008 00:47:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question-about-hostname-resolve/m-p/4243613#M330351</guid>
      <dc:creator>Deepak Kr</dc:creator>
      <dc:date>2008-08-01T00:47:29Z</dc:date>
    </item>
    <item>
      <title>Re: Question about hostname resolve</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question-about-hostname-resolve/m-p/4243614#M330352</link>
      <description>There is no 'system process' that does DNS resolution.  This is done by via system calls to networking type routines.  &lt;BR /&gt;&lt;BR /&gt;If you can resolve host names to IP addresses, via tools like nslookup, dig, ping, etc., but your application can not, then you application is designed badly and is not really network aware.&lt;BR /&gt;&lt;BR /&gt;I would talk to the application vendor if this is a purchased app.  If this is an in-house developed app, then the developers need to go back a look at their code.</description>
      <pubDate>Fri, 01 Aug 2008 01:01:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question-about-hostname-resolve/m-p/4243614#M330352</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2008-08-01T01:01:44Z</dc:date>
    </item>
    <item>
      <title>Re: Question about hostname resolve</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question-about-hostname-resolve/m-p/4243615#M330353</link>
      <description>By the way, DNS resolution has absolutely nothing to do with inetd.&lt;BR /&gt;&lt;BR /&gt;Processes started by inetd (telnet, ftp, remsh, rcp, etc.) are network aware and have code built in (or probably more accurately call libraries) that does the network name / IP address lookup.</description>
      <pubDate>Fri, 01 Aug 2008 01:03:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question-about-hostname-resolve/m-p/4243615#M330353</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2008-08-01T01:03:24Z</dc:date>
    </item>
  </channel>
</rss>

