1834926 Members
2560 Online
110071 Solutions
New Discussion

Re: DNS Utilization

 
Michelle Barton
Frequent Advisor

DNS Utilization

Does anyone know of a way to see what entries in your dns tables are used or not used?

Thanks,
Michelle
3 REPLIES 3
Scott Van Kalken
Esteemed Contributor

Re: DNS Utilization

On the DNS server you can check the DNS cache to see recently used entries.

This however, is only for things that your server doesn't know about.

If that makes sense.

Scott.
Christopher Caldwell
Honored Contributor

Re: DNS Utilization

>Does anyone know of a way to see what entries >in your dns tables are used or not used?

I'm not sure what you mean by "entries in your dns tables are used or not used".

If you want to see what's in the DNS cache (and when it expires)
#kill -INT PID_OF_NAMED

Look for the results in
/var/tmp/named_dump.db

If you want to make sure that the name to number mapping still maps to active IPs, I'd write a script to walk through each zone and ping or otherwise excercise a connection to the remote IP.



Wilfred Chau_1
Respected Contributor

Re: DNS Utilization

grep for the pid of named.
send a sigill to it.

or
# kill -ill /var/run/named.pid

It will create a statistic file called named.stats for you.

In there, you should see something like

8 Unknown query types
727505810 A queries
17 NS queries
193397 SOA queries
1835712748 PTR queries
5268423 MX queries

Good luck!