Re: Patches to dnsDataGen.pl with new writers

"Joe Miller" <[email protected]>
Newsgroups gmane.network.dns.bind9.dlz
Message-ID <002a01c8e133$a9ace080$fd06a180$@net>
Thanks Rob.

I've created 1 more "new" writer -- contrib::writers::bindzone.

It is mostly identical to the original binddlz::writers::bindzone, except
that it changes the format of the zone file output slightly (primarily the
SOA record).

I found in my testing that the original bindzone writer was not creating the
SOA records in a way that was understood by BIND 9.5.0.  The new writer
works fine with BIND 9.5.0 (at least in my environment =)

I've rolled this update into my previous patchset here:
  http://joeym.net/bind-dlz-patches/bind-dlz-jmiller.patch
and the full tarball:
  http://joeym.net/bind-dlz-patches/DLZPerfTools-1.1-jmiller-contrib.tar.gz

joe

-----Original Message-----
From: Rob Butler [mailto:[email protected]] 
Sent: Tuesday, June 24, 2008 3:11 PM
To: [email protected]
Subject: Re: [Bind-dlz-testers] Patches to dnsDataGen.pl with new writers

Awesome Joe.

DLZ is 'maintained' in that I continue to help on the mailing list and do
accept patches. Unfortunately, my day job keeps be super busy and I haven't
had any time to do anything on DLZ in a very long time.

I hope to at one point make a block of time available and roll up several
patches and bug fixes into a newer release.

Rob

----- Original Message ----
> From: Joe Miller <[email protected]>
> To: [email protected]
> Sent: Tuesday, June 24, 2008 5:05:36 PM
> Subject: [Bind-dlz-testers] Patches to dnsDataGen.pl with new writers
> 
> Hello all,
> 
> I hope I am posting to the right list.  If not, please let me know if
there
> is a better place to post.
> 
> Recently I found myself benchmarking a variety of authoritative DNS
servers,
> but quickly became frustrated at the amount of time I was spending on
> creating large amounts of 'random' DNS data in formats suitable for each.
> Luckily, I found the excellent dnsDataGen.pl tool, which helped
> tremendously.
> 
> I decided to create some new 'writers' modules that were particularly
> relevant to my benchmarking efforts and I thought I should share them with
> the world in case they are able to help someone else someday.
> 
> The patches can be found here:  http://www.joeym.net/
> 
> A summary of the changes:
> 
> - Slight modification to dnsDataGen.pl itself so that it always creates
the
> SOA record first when creating a new zone.  This was helpful for the
writers
> I created because many of them build a set of commands to feed into
various
> SQL DB's which require that the zone exists before records can be added to
> it.
> 
> - The following new 'writers' (I created a new directory called
> "contrib/writers" to store these, as recommend on the bind-dlz website):
>   -- contrib::writers::mydns::file
>   -- contrib::writers::powerdns::xdb
>   -- contrib::writers::powerdns::sqlite3
>   -- contrib::writers::powerdns::gmysql
>   -- contrib::writers::windowsdns::file
> 
> These should each be fairly self-explanatory for the most part if you're
> familiar with MyDNS, PowerDNS, and Windows DNS.  Mostly they just create
SQL
> files that can be directly imported into mysql (ie: cat file |mysql
dbname).
> The Windows DNS writer creates a batch file that calls "dnscmd" to create
> records in Active Directory.  I've only tested this writer with
> AD-integrated zones, but it may work for other zone types.
> 
> The PowerDNS XDB writer's output is intended to be fed into the 'xdb-fill'
> tool that comes with PowerDNS.
> 
> Everything is wrapped up in 1 patch file, available at
> http://www.joeym.net/bind-dlz-patches/bind-dlz-jmiller.patch
> 
> I've only tested each of these for basic functionality, so I cannot
> guarantee they'll work with all versions or in all scenarios, but so far
> they have been a big time-saver for the various benchmarking I've been
> doing.
> 
> I'm not sure if maintenance is still being done on BIND-DLZ,
dnsDataGen.pl,
> or the DLZPerfTools.  If so, and these patches are useful, feel free to
> include them in a future release.  I will attempt to maintain them on my
own
> webserver as long as possible.
> 
> 
> 
> Thanks,
> Joe
> 
> 
> 
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> Bind-dlz-testers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bind-dlz-testers



      


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.