'd evening, dear monkers,
just wondering if there is new knowledge around regarding the ways available to parse bind9.x config files (
named.conf).
I've had a look on SuperSearch and found an - older - node (
157596) containing some ideas, but so far I'm rather unhappy with everything I tried (admittedly, rather superficial, stepping back at the first problem encountered with each approach).
Here's what I looked over so far:
- BIND::Conf_Parser - doesn't deal with 9.x
- BIND::Config::Parser - bails out with 'Bad text' on my named.conf (which is working ok, of course).
- Cpanel - near to impossible to cut out something usable outside cpanel
- Webmin - seems to deal only with bind 8.x
- the /usr/sbin/named-checkconf utility packed with bind.9 - gives just an OK/not ok verdict upon named.conf, no way to store the underlying structure.
Is there some other way to have an (reasonable) easy ride with this?
Many thanks.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.