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

Hello,
I have a set of data about a group of domains, and I need to take that data and create a set of zone files readable by bind. My question is.. what is the best way to do this?

I've searched through cpan and found two options:

Is there something that I missed? I really don't want to be re-inventing a wheel here if I don't have to.

Replies are listed 'Best First'.
Re: Creating DNS zone files from scratch.
by yodabjorn (Monk) on Jun 13, 2002 at 00:55 UTC
    the zone file structure in BIND 8/9 is compatable.. the biggest changes are in the named.conf features

    I have used DNS::ZoneFile in the past for similar tasks succesfully.

Re: Creating DNS zone files from scratch.
by ismail (Acolyte) on Jun 13, 2002 at 07:13 UTC
    The best way to use BIND is to not use it. ;) Try djbdns instead: cr.yp.to/djbdns.html or tinydns.org. All the functionality, none of the sploits. I don't know what your situation is, but if you have flexibility in deciding which software to use, you'll find tinydns very easy to install/use/understand. Just my OT USD$0.02.
      OTOH
      If you are managing lots of domains and have DNS infrastructure that speeds across contry and continent. BIND has some nice features to help you out ( version 9 ). Master/slave configurations where masters push updates, key authentication for queries/updates split zones etc.. etc.. read the feature list. Like any software you need to keep your binaries up to date. BIND has awesome features, and IMHO is not really that hard to understand. Not to mention the copious amount of documention on using/configuring it.

      My $0.02