Re: Discover Unreferenced Zones/Records

2013-07-01 Thread Bryan Harris
Hi Tony,On Jul 01, 2013, at 06:19 AM, Tony Finch  wrote:Bryan Harris  wrote: > > I have discovered that we have an excessive amount of old zones not being > used.  Is there a trick, or a simple way to determine which zones have not > been referenced in a long time?  BIND can keep per-zone counts of response codes (success, various kinds of failure, etc.).  ftp://ftp.isc.org/isc/bind9/9.9.3-P1/doc/arm/Bv9ARM.ch06.html#statistics I think this is just what we are looking for.  Thanks for your help.Bryan___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Re: Discover Unreferenced Zones/Records

2013-07-01 Thread Tony Finch
Bryan Harris  wrote:
>
> I have discovered that we have an excessive amount of old zones not being
> used.  Is there a trick, or a simple way to determine which zones have not
> been referenced in a long time?

BIND can keep per-zone counts of response codes (success, various kinds of
failure, etc.).

ftp://ftp.isc.org/isc/bind9/9.9.3-P1/doc/arm/Bv9ARM.ch06.html#statistics

Tony.
-- 
f.anthony.n.finchhttp://dotat.at/
Forties, Cromarty: East, veering southeast, 4 or 5, occasionally 6 at first.
Rough, becoming slight or moderate. Showers, rain at first. Moderate or good,
occasionally poor at first.___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Re: Discover Unreferenced Zones/Records

2013-07-01 Thread Sten Carlsen
There might be some zones that are rarely used, you may see those as
dead using that method.

I was thinking of a script that would take your list of zones
(essentially the .conf file) and for each zone do something like a "dig
+trace" and look for whether your servers are listed as name servers for
that zone.

Those you are no longer listed in can be removed immediately, those
where you are listed but has no or very little traffic, you can make
inquiries about and act accordiingly.

Just my 0.02EUR

On 01/07/13 13:04, Bryan Harris wrote:
> Hi all,
>
> I have discovered that we have an excessive amount of old zones not
> being used.  Is there a trick, or a simple way to determine which
> zones have not been referenced in a long time?
>
> My best guess is to simply log queries and read the log files.  Would
> that be the recommended way?
>
> Our intent is to delete everything we don't need.
> Bryan
>
>
> ___
> Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
> from this list
>
> bind-users mailing list
> bind-users@lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind-users

-- 
Best regards

Sten Carlsen

No improvements come from shouting:
   "MALE BOVINE MANURE!!!"

___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Discover Unreferenced Zones/Records

2013-07-01 Thread Bryan Harris
Hi all,I have discovered that we have an excessive amount of old zones not being used.  Is there a trick, or a simple way to determine which zones have not been referenced in a long time?My best guess is to simply log queries and read the log files.  Would that be the recommended way?Our intent is to delete everything we don't need.Bryan
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users