Hi Todd: Thank you for those magical commands. Works better than printing them out and crossing one by one with a pen. Think the problem was some of the domains I created on master(see my previous post) did not get transferred to the slave hence the mismatch. I just reloaded on the master and saw a bunch of stuff going to the slave so I must be doing something right. The number of zones now matched. Thanks, -John. Todd Snyder wrote: 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:j...@eagle.net] Sent: Friday, March 20, 2009 3:27 PM To: Todd Snyder Cc: bind-users@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-boun...@lists.isc.org [mailto:bind-users-boun...@lists.isc.org] On Behalf Of John D. Vo Sent: Friday, March 20, 2009 3:15 PM To: bind-users@lists.isc.org Subject: number of zones not matching Greetings: My master name server says it has 102 zones but my slave says it has98.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 j...@eagle.net Office: (212) 200-2000 Ext. 105 Cell: (212) 200-3016 --- _______________________________________________ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users --------------------------------------------------------------------- This transmission (including any attachments) may contain confidentialinformation, 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 j...@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. -- ---- Best Regards, John D. Vo Eagle Teleconferencing Services, Inc. Network-System Administrator j...@eagle.net Office: (212) 200-2000 Ext. 105 Cell: (212) 200-3016 --- |
_______________________________________________ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users