Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

why "netstat -a" hangs...

Status
Not open for further replies.

ogniemi

Technical User
Nov 7, 2003
1,041
PL
although DNS resolvs affected IPs which seems hangs "netstat -a"???

the IP/names are resolvable in/by DNS.
the /etc/netsvc.conf has "hosts = local, bind4"
the /etc/resolv.conf is set properly (host/nslookup works as expected)

when I add the host/IP causing hanging of netstat to /etc/hosts then "netstat -a" doesn't hang.

any idea why DNS is not enough for proper working of netstat?

thx,!

 
Perhaps your nameserver only provides a non-authoritative answer for those addresses and suggests further querying on other (unreachable? slow? whatever?) nameservers.

Also I've seen netstat -a delaying some output lines because of sockets listening on broadcast addresses (e.g. NTP), which cannot be found in /etc/hosts or DNS...

HTH,

p5wizard
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top