Subject: | Contrib: config listing CGI |
Date: | Wed, 31 Aug 2016 14:31:38 -0400 |
To: | "bind9-bugs" <bind9-bugs@isc.org> |
From: | "Timothe Litt" <litt@acm.org> |
I've meant to package this up for a while...
Attached is a (Perl) utility that I use to display named and dhcp
configurations in my management GUI.
Perldoc on the source for details.
Short form: this is run on my DNS servers to format and display the
.conf files.
The display is pretty-printed, but also active. You can click on blocks
to compress them, on a TOC/CREF to navigate included files. Secret
material is automagically replaced with placeholders.
The doc provides a CGI wrapper for a simple use case, where the
webserver and DNS server are the same machine.
I actually have the management webserver run this via SSH on multiple
machines and combine the output. I'm not including that wrapper as it's
site (and server) specific. But it's easy to develop your own.
I find it useful; other customers (and you) may too. Feel free to
package it as a contrib with bind and dhcp.
ISC License, though I would appreciate receiving bugfixes/improvements.
Enjoy.
P.S. 1 known issue: the parser can be fooled, but "if it hurts, don't do
that".
--
Timothe Litt
ACM Distinguished Engineer
--------------------------
This communication may not represent the ACM or my employer's views,
if any, on the matters discussed.
Message body not shown because it is not plain text.
Message body not shown because it is not plain text.