named.conf lint (format debugging)

Barry Margolin barry.margolin at level3.com
Thu Sep 25 18:52:22 UTC 2003


In article <bkvd63$d1$1 at sf1.isc.org>,
Forrest Aldrich  <forrie at forrie.com> wrote:
>Exactly.
>
>I did figure it out, after much toiling.
>
>Maybe there's an IDE out there (free) that some formatting rules for 
>named.conf can be placed into.  Would be very handy, especially where you 
>have a really large site and a simple mistake or misplacement of key words 
>can bring your server(s) down.

Emacs already has modes for a number of languages that use
brace-and-semicolon syntax similar to named.conf (e.g. C, Perl, and Java).
You might be able to just use on of them, or it shouldn't be too difficult
to use one of them as the basis for named.conf-mode.

All you really need is something that indents properly according to the
brace nesting depth and highlights the matching braces.

-- 
Barry Margolin, barry.margolin at level3.com
Level(3), Woburn, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.


More information about the bind-users mailing list