<?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: netstat response time pb in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/netstat-response-time-pb/m-p/2449750#M657192</link>
    <description>Hi Jacques:&lt;BR /&gt;&lt;BR /&gt;The reason that netstat -i is taking a long time to comeback is because it is trying to do a name lookup (DNS) of every address that appears in the output-typically if you are not concerned about the names and only want the IP addresses, use:&lt;BR /&gt;netstat -in&lt;BR /&gt;(this is quicker because it does not try and do a name lookup of the IP address to resolve them)&lt;BR /&gt;&lt;BR /&gt;You will have these same issues with many applications that try and resolve IP addresses to names - it is a good idea to "populate" your hosts table with IP addresses that do not appear in your DNS but for which your server  needs to contact.. after populating the /etc/hosts file, you would then set up your /etc/nsswitch.conf to :&lt;BR /&gt;&lt;BR /&gt;hosts:    files [NOTFOUND=continue] dns&lt;BR /&gt;&lt;BR /&gt;this tells the system to first look in the /etc/hosts file and if that fails, fall back to dns.&lt;BR /&gt;&lt;BR /&gt;PS. The other thing you could do is that in your DNS records, you could create entries for 0.0.0.0 and 127.0.0.0  (that way, any server that looks up these addresses will get a response !)</description>
    <pubDate>Tue, 03 Oct 2000 11:26:37 GMT</pubDate>
    <dc:creator>Kofi ARTHIABAH</dc:creator>
    <dc:date>2000-10-03T11:26:37Z</dc:date>
    <item>
      <title>netstat response time pb</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/netstat-response-time-pb/m-p/2449746#M657188</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I'm encountering Pb of response time with netstat command (used by MC/Services Guard for the SAP Package Extension given by HP). netstat -i is very long to execute.&lt;BR /&gt;I have one of the latest netstat patch (PHNE_17434), and HP advised me to put an entry in /etc/hosts file with "0.0.0.0 all-zeros-broadcast", but it doesn't change anything. I'm using Novell DNS. Looking for the requests send to the DNS by netstat, i noticed that some of those requests are "127.0.0.0" ???? a king of broadcast to the loopback interface !!!!! So, i put another entry in /etc/hosts file "127.0.0.0 loopback-broadcast" and it is Ok for now, but not "clean", let's say. Have someone encountered already that problem, and have a clean solution, avoiding to polute /etc/hosts file ?&lt;BR /&gt;Thanks for the help.</description>
      <pubDate>Tue, 03 Oct 2000 11:02:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/netstat-response-time-pb/m-p/2449746#M657188</guid>
      <dc:creator>JACQUET</dc:creator>
      <dc:date>2000-10-03T11:02:31Z</dc:date>
    </item>
    <item>
      <title>Re: netstat response time pb</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/netstat-response-time-pb/m-p/2449747#M657189</link>
      <description>Hi Jac,&lt;BR /&gt;&lt;BR /&gt;You are not polluting /etc/hosts file with those entries. It is strongly recommended that you have in your /etc/hosts file this following entry lines:&lt;BR /&gt;127.0.0.1          localhost                loopback&lt;BR /&gt;0.0.0.0              anyhost&lt;BR /&gt;&lt;BR /&gt;Thses are used by the system for broadcast and other network messaging (like sendmail, mailx, uucp, etc)</description>
      <pubDate>Tue, 03 Oct 2000 11:11:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/netstat-response-time-pb/m-p/2449747#M657189</guid>
      <dc:creator>CHRIS_ANORUO</dc:creator>
      <dc:date>2000-10-03T11:11:37Z</dc:date>
    </item>
    <item>
      <title>Re: netstat response time pb</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/netstat-response-time-pb/m-p/2449748#M657190</link>
      <description>I would imagine that 127.0.0.0 is a network address and it tries to look up the name of the network.&lt;BR /&gt;&lt;BR /&gt;My (default) /etc/network contains a line:&lt;BR /&gt;&lt;BR /&gt;loopback        127&lt;BR /&gt;&lt;BR /&gt;Does yours do that too ??</description>
      <pubDate>Tue, 03 Oct 2000 11:12:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/netstat-response-time-pb/m-p/2449748#M657190</guid>
      <dc:creator>Lasse Knudsen</dc:creator>
      <dc:date>2000-10-03T11:12:46Z</dc:date>
    </item>
    <item>
      <title>Re: netstat response time pb</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/netstat-response-time-pb/m-p/2449749#M657191</link>
      <description>One thing I would strongly recommend is that you ensure your /etc/hosts file has all the correct entries for every server AND package IP address in the MC/SG cluster configuration, as well as the loopback entry.&lt;BR /&gt;Then configure /etc/nsswitch.conf file to go first to hosts, then DNS.&lt;BR /&gt;This alleviates problems caused by DNS servers being wrong, slow, down etc.&lt;BR /&gt;</description>
      <pubDate>Tue, 03 Oct 2000 11:21:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/netstat-response-time-pb/m-p/2449749#M657191</guid>
      <dc:creator>melvyn burnard</dc:creator>
      <dc:date>2000-10-03T11:21:18Z</dc:date>
    </item>
    <item>
      <title>Re: netstat response time pb</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/netstat-response-time-pb/m-p/2449750#M657192</link>
      <description>Hi Jacques:&lt;BR /&gt;&lt;BR /&gt;The reason that netstat -i is taking a long time to comeback is because it is trying to do a name lookup (DNS) of every address that appears in the output-typically if you are not concerned about the names and only want the IP addresses, use:&lt;BR /&gt;netstat -in&lt;BR /&gt;(this is quicker because it does not try and do a name lookup of the IP address to resolve them)&lt;BR /&gt;&lt;BR /&gt;You will have these same issues with many applications that try and resolve IP addresses to names - it is a good idea to "populate" your hosts table with IP addresses that do not appear in your DNS but for which your server  needs to contact.. after populating the /etc/hosts file, you would then set up your /etc/nsswitch.conf to :&lt;BR /&gt;&lt;BR /&gt;hosts:    files [NOTFOUND=continue] dns&lt;BR /&gt;&lt;BR /&gt;this tells the system to first look in the /etc/hosts file and if that fails, fall back to dns.&lt;BR /&gt;&lt;BR /&gt;PS. The other thing you could do is that in your DNS records, you could create entries for 0.0.0.0 and 127.0.0.0  (that way, any server that looks up these addresses will get a response !)</description>
      <pubDate>Tue, 03 Oct 2000 11:26:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/netstat-response-time-pb/m-p/2449750#M657192</guid>
      <dc:creator>Kofi ARTHIABAH</dc:creator>
      <dc:date>2000-10-03T11:26:37Z</dc:date>
    </item>
    <item>
      <title>Re: netstat response time pb</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/netstat-response-time-pb/m-p/2449751#M657193</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Thanks for your help. I checked several points you submitted.&lt;BR /&gt;My /etc/nsswitch.conf is set up to resolve Name in /etc/hosts before asking to DNS.&lt;BR /&gt;My /etc/networks contains the line "loopback   127" (Standard OS Installation)&lt;BR /&gt;Indeed, i already put relocatable IP adresses of cluster package in /etc/hosts file.&lt;BR /&gt;Then, an other way could be to add entry in DNS Server...&lt;BR /&gt;But i'm still wondering why netstat is searching for 127.0.0.0 adress !!!&lt;BR /&gt;</description>
      <pubDate>Wed, 04 Oct 2000 11:30:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/netstat-response-time-pb/m-p/2449751#M657193</guid>
      <dc:creator>JACQUET</dc:creator>
      <dc:date>2000-10-04T11:30:05Z</dc:date>
    </item>
  </channel>
</rss>

