number of zones not matching

Todd Snyder tsnyder at rim.com
Fri Mar 20 19:22:58 UTC 2009


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.



More information about the bind-users mailing list