number of zones not matching

Todd Snyder tsnyder at rim.com
Fri Mar 20 19:28:47 UTC 2009


I know at some point in the recent past, BIND started loading RFC1918
zones, which can increase the zone count, even though they don't show up
in named.conf.  That caused me 5 minutes of wtf before I remembered. 

I think it was well after 9.2.2, so I'm guessing you should be safe.

t.

-----Original Message-----
From: John D. Vo [mailto:jvo at eagle.net] 
Sent: Friday, March 20, 2009 3:27 PM
To: Todd Snyder
Cc: bind-users at lists.isc.org
Subject: Re: number of zones not matching

Yes, Todd. 9.2.2.

Todd Snyder wrote:
> I had to do this a couple times lately .. this is the simplest way 
> I've found.  It's not elegant or nifty, but it works.
>
> on the master:
>
> grep zone named.conf | awk '{print $2} | sort > master.zones
>
> on the slave:
>
> grep zone named.conf | awk '{print $2} | sort > slave.zones
>
> get the files on the same system and diff them.
>
> Are they both running the same version of BIND?
>
>
>
> -----Original Message-----
> From: bind-users-bounces at lists.isc.org 
> [mailto:bind-users-bounces at lists.isc.org] On Behalf Of John D. Vo
> Sent: Friday, March 20, 2009 3:15 PM
> To: bind-users at lists.isc.org
> Subject: number of zones not matching
>
> Greetings:
>
> My master name server says it has 102 zones but my slave says it has
98.
>
> Without going through each and compare one with another, is there an 
> easier way to see what's missing on the slave?
>
> Thanks.
>
> --
> ----
>
> Best Regards,
>
> John D. Vo
> Eagle Teleconferencing Services, Inc.
> Network-System Administrator
> jvo at eagle.net
> Office: (212) 200-2000 Ext. 105
> Cell:     (212) 200-3016
>
> ---
>
>
> _______________________________________________
> bind-users mailing list
> bind-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind-users
>
> ---------------------------------------------------------------------
> This transmission (including any attachments) may contain confidential
information, privileged material (including material protected by the
solicitor-client or other applicable privileges), or constitute
non-public information. Any use of this information by anyone other than
the intended recipient is prohibited. If you have received this
transmission in error, please immediately reply to the sender and delete
this information from your system. Use, dissemination, distribution, or
reproduction of this transmission by unintended recipients is not
authorized and may be unlawful.
>   


--
----

Best Regards,

John D. Vo
Eagle Teleconferencing Services, Inc.
Network-System Administrator
jvo at eagle.net
Office: (212) 200-2000 Ext. 105
Cell:     (212) 200-3016

---



---------------------------------------------------------------------
This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.



More information about the bind-users mailing list