Difference between netstat & rndc status

Bind bind at dci.ir
Sun Jul 3 07:03:13 UTC 2011

Hello Admins
When i run :
#netstat -an |grep udp |wc
it returns a number which is lower than the output of rndc status recursive 
what is the difference between netstat -an |grep udp |wc(open udp ports to 
dns server) and amount of recursice clients in the rndc status command?
I thinked they should present the same value? doesnt it?
Does the difference point the cache hints?
here is my values:
ns1# netstat -an | grep udp | wc
     630    3150   42210
ns1# netstat -an | grep tcp | wc
      22     132    1669
ns1# rndc status
version: 9.7.3-P1 (version not currently available)
CPUs found: 4
worker threads: 4
number of zones: 18
debug level: 0
xfers running: 0
xfers deferred: 0
soa queries in progress: 0
query logging is OFF
recursive clients: 1497/9900/10000
tcp clients: 3/1000
server is up and running

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20110703/3dbf89b5/attachment.html>

More information about the bind-users mailing list