'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.