In your previous mail you wrote:

>  Defining a canonical form in no way is meant to imply that any other form
>  is wrong.  The objective is to put a name on a canonical form, and provide
>  a reference, so that anyone who wants to see zone files meeting a strict
>  format can say so succinctly.  (Plus, the document can discuss other
>  issues, provide updated references, etc.)

=> in masterdump.{h,c} BIND 9 defines a lot of style flags and some
predefined style for master file dump. IMHO the one you want is
simlare to the "simple" one which comes with this comment:

/*%
 * A master style that prints name, ttl, class, type, and value on
 * every line.  Similar to explicitttl above, but more verbose.
 * Intended for generating master files which can be easily parsed
 * by perl scripts and similar applications.
 */

Regards

[email protected]

PS: it is simple too in its code (no attempt to skip any optional stuff,
so "simple" as in KISS :-).

_______________________________________________
DNSOP mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/dnsop

Reply via email to