Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Module / snippets for manipulating BIND zone files, and named.conf ?

by andye (Curate)
on Dec 20, 2001 at 00:29 UTC ( [id://133253] : perlquestion . print w/replies, xml ) Need Help??

andye has asked for the wisdom of the Perl Monks concerning the following question:

Hi folks,

I'm looking for a module, or some snippets, or whatever, for doing basic manipulation of BIND zone files, and named.conf.

I'd like to be able to create a new zone, or delete an existing zone. They'll all follow pretty much the same template.

I could sit down and write this, but other people must have done it so many times that I was surprised not to find anything on CPAN (perhaps I've missed something obvious). Also, not knowing BIND very well, I'm afraid there might be Hidden Traps.

I've already found: Net::DNS::Update, BIND::Conf::Parser, Net::Bind.

All assistance appreciated.
Cheers,
andy.

  • Comment on Module / snippets for manipulating BIND zone files, and named.conf ?

Replies are listed 'Best First'.
Re: Module / snippets for manipulating BIND zone files, and named.conf ?
by dug (Chaplain) on Dec 20, 2001 at 01:31 UTC
    Also, the appropriately named webmin bind DNS server standard module.

    If what you are looking for is a nice admin interface to not so nice config files, it does a good job of not breaking things, and has an impressive list of "standard modules."

    It is also fairly well documented, and *of course* is written in perl.

    dug --
    perl -e 'do $outrageously; $bad and sub($versive, $things) { tell($me)};'</code>
Re: Module / snippets for manipulating BIND zone files, and named.conf ?
by Juerd (Abbot) on Dec 20, 2001 at 00:36 UTC