seperate static and dynamic update zone files?

Chris Thompson cet1 at hermes.cam.ac.uk
Wed Jun 27 15:55:29 UTC 2007


On Jun 26 2007, Kevin Darcy wrote:

[...snip...]
>What I *do* agree with, is that writing zonefile parsers is a pain in 
>the butt, especially since the zonefile syntax is so flexible, and 
>there's no telling what features or formatting choices the BIND 
>implementors may adopt in any given release, so the parser has to 
>understand *everything* that's legal in a zone file, and that's quite a 
>bit of non-trivial coding. 

named-checkzone -Do [out-file] [zone] [in-file]

is your friend. It doesn't solve all problems, but it does turn zone
files into a one-line-per-RR, all-optional-fields-present, all-names-
-fully-qualified, rdata-normalised format.

I've been able to throw away ever so much code since "discovering" it :-)

-- 
Chris Thompson
Email: cet1 at cam.ac.uk



More information about the bind-users mailing list