[105857] in North American Network Operators' Group

home help back first fref pref prev next nref lref last post

Re: updating & checking DNS zone files

daemon@ATHENA.MIT.EDU (Paul Bertain)
Sat Jul 5 20:45:38 2008

From: Paul Bertain <paul@bertain.net>
To: nanog@nanog.org
In-Reply-To: <E1KFHkN-000FYg-7p@s0.nanog.org>
Date: Sat, 5 Jul 2008 17:45:26 -0700
Errors-To: nanog-bounces@nanog.org

For incrementing your zone's serial number, I usually include zsu to  
whatever editor I am using.  It doesn't check the zone though.  You  
can use the aforementioned named-checkzone, etc. for that.

Paul

On Jul 5, 2008, at 5:04 PM, jbratton@rackspace.com wrote:

> Quoting travis+ml-nanog@subspacefield.org:
>
>> Apart from using Bernstein's tinydns, anyone have any scripts
>> for looking for problems in zone files or for incrementing the
>> serial number reliably?
>
> Check out BIND's named-checkzone and named-compilezone, depending on  
> exactly what you are looking for.  There are a number of command  
> line parameters for fine tuning what you care about, and you can use  
> the return value to determine if the zone is valid or not.
>
> As for the serial number, that is some simple scripting depending on  
> what value you use for the serial number.
>
> -- Jason
>
>
> Confidentiality Notice: This e-mail message (including any attached or
> embedded documents) is intended for the exclusive and confidential  
> use of the
> individual or entity to which this message is addressed, and unless  
> otherwise
> expressly indicated, is confidential and privileged information of  
> Rackspace.
> Any dissemination, distribution or copying of the enclosed material  
> is prohibited.
> If you receive this transmission in error, please notify us  
> immediately by e-mail
> at abuse@rackspace.com, and delete the original message.
> Your cooperation is appreciated.
>
>



home help back first fref pref prev next nref lref last post