Search

moon
Creative Commons License powered by blosxom valid xhtml 1.1 valid css FreeBSD Vim

 BREADCRUMBS: /home/weblog

DNS from a MySQL DB

I've done a lot of DNS in my time. Experience has taught me to be very wary of BIND with MySQL extensions. In fact experience has taught me that it's a really bad idea. So, using my Perl skills I worked out an alternative.

It's very simple. With a simple schema all the zonedata can be thrown into in MySQL. Then a Perl script run from cron generates the zonefiles and configuration, and uses ndc (or rndc) to control the daemon. The rest is standard BIND.


timestamp: 2005-04-26 07:25 | bikeshed this post | date link | file link

timestamp: 2005-04-26 07:25
URL:http://lizard.org.uk./weblog/freebsd/dns/zsql.html