Running an awk or perl script along with checkzones should be able
to do this site-specific check (and others you might find helpful) quite easily.

On Dec 30, 2008, at 7:51 PM, Mark Andrews wrote:


In message <7227c6c70812300937s7a4be464h16db91c6ead84...@mail.gmail.com>, "Mike
 Zupan" writes:

I know of named-checkzone but it doesn't handle missing trailing periods on
CNAME's like I want it to

Are there any scripts out there that can better verify if a zone file is
correct.

For example named-checkzone says this line is ok

host IN CNAME host.domain.com

I know technically it is valid.. but anything out there that might check for
it?

Thanks again
mike

        You want the "do what I mean not what I say instuction".

        If someone want's to add code to check of for CNAME to
        non-existant checks it should be easy.  Remember however
        that CNAME to non-existant is normal for some zones.

        RFC 2317 "parent" zones have lots of such CNAMEs.

        The "host" example above would normally result in a CNAME
        to name within the zone itself.

        Mark
--
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: mark_andr...@isc.org
_______________________________________________
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


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

Reply via email to