$code or die has asked for the wisdom of the Perl Monks concerning the following question:

Hello Sisters and Brothers,

I received my PAUSE userid today, and wish to get some advice from the community before I submit my first module to CPAN...

Here's some background to my module:
DNS zone files are irregular. They can vary from DNS to DNS and many servers will not complain if they come across a ZoneFile that doesn't strictly conform to the RFCs. In my company, we would like a reliable way of querying\modifying\backing up DNS data. XML seems perfect for this, but it's not in the RFC :( So I wrote an object-oriented module that lets you parse and manipulate DNS ZoneFiles easily - with XML::Simple you can easily create an XML document to allow for querying, etc.

It is still in development, but I have tested it on Microsoft DNS and BIND, and I have had good results. It parses SOA, NS, A, CNAME, MX & TXT Resource Records. It will also let you recreate a zonefile reflecting changes you may have made to the object or having created a new object from some kind of code or XML.

My question is what should I do now - It's working code, and would benefit from testing by the Perl community. However, there is also DNS::ZoneFile - also a work in progress, and I do not want to clash the namespace. I suppose that I should have contacted the author first, but I didn't because I needed something relatively quickly that worked. I plan to develop the module to do more than just parse Zone Files so do I refrain from publishing my module or choose another name - if so does anyone have any ideas\questions\advice?

I'm new to PAUSE and welcome any advice monks have to offer... Thanks!

$code or die
$ perldoc perldoc

Replies are listed 'Best First'.
Re: PAUSE before i upload...
by btrott (Parson) on Mar 06, 2001 at 00:11 UTC
    I'm assuming that you already posted to the modules list (http://www.xray.mpe.mpg.de/mailing-lists/modules/) in order to get your CPAN ID.

    You might want to ask there about your module, if you've not done so already.

    You could also try a post on comp.lang.perl.moderated to get people's opinions. Or on comp.lang.perl.modules (is that the right name?)

    It may help to know some of your other plans for the module--you say you want it to do more than just parse zonefiles. So what else would you like it to do?

    For example: what does your module do (or what do you want it to do) that the current DNS::ZoneFile doesn't? And would there be any way to merge the functionality of your module with that one, or are they completely different?

    Just some things to think about.

      Yep, I got my CPAN id this morning - very quick - only took 5 hours! I've logged in to PAUSE and changed my password etc. I'm reading all the docs at the moment, and reading some of the past requests in the mailing list - I just read yours for Net::SSH in fact!

      I mentioned my module in my registration request but didn't request registration of namespace. I wanted to ask around first.

      DNS::ZoneFile appears (I couldn't get it to work) to parse the Zone File but doesn't make it easy to query particular things. My module lets you say (in perl speak): tell me what all the nameservers and parameters are for this record, let me change that IP address, add an RR and regenerate the zonefile. I plan to add:
      • Some more documentation ;)
      • Recursive parsing - if I get my head round it
      • Easy DNS import\export
      • Global updates

      There are so many things I could do - I suppose it depends on whether anyone's interested in it. The architecture of the two modules is very different - I don't know which is better - maybe I should post code here before submitting to CPAN?

      $code or die
      $ perldoc perldoc