-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 ashley maher wrote: > I've come to the conclusion the way I manage bind really isn't the way > to go. > > So I've done some "googling" this morning and found some "interesting > results". > > But I've learned the hard way what looks good can often lead to "I wish > I knew that when I started." > > So I thought it'd be a good idea to start by asking people what they're > using. > > I'd prefer something working with bind9, database backended, able to > handle many hundreds of zone files, and multiple dns servers, web > interface. > > Ideas and suggestions appreciated. vi, and hand written zone files are > no longer really cutting it.
I worked at a site once that had a web interface to a custom MySQL back end that stored all the zone info (and provided delegated administration, access control etc). About twice a day, a cron job would regenerate all the changed zones (several hundred if all were regenerated) - or manually by hitting a button on the web interface. A simple perl script ran the required queries and dumped the results to bind zone files and named.conf in the right locations. A cron script ran every 3 minutes IIRC, on the DNS server itself to see if there were any new zone/config files (by comparing the date/time stamp with a previously recorded value) and reload everything if necessary. It was essentially two completely independent systems: - - the web (cgi) and database component for storing and managing the DNS records. - - the bind DNS server for actually handling the queries. The glue that stuck them together was a perl script and cron job. Not the most elegant solution, but it worked :) [1] Cheers, James [1] I didn't write it so don't shoot me ok. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFExuwnwBHpdJO7b9ERAhoDAJ4qVayJKRkKc30t8xlGJTW9esxszgCgq2bE jO8aC6C4aPfvP+tl9lUvPrs= =oRkC -----END PGP SIGNATURE----- -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html