Bind 9 + SQL

Kevin Darcy kcd at daimlerchrysler.com
Fri Jan 4 23:20:36 UTC 2002


First of all, BIND 9.1.3 is obsolete. Use BIND 9.2.0.

Secondly, have you looked at the "sdb" stuff in BIND 9?

But, before you get involved in gluing a mysql database onto the ass of BIND 9,
if all you want to do is give your users the ability to update DNS through a
web interface, why not just write a CGI (or Javascript or whatever your
favorite web scripting language happens to be) that performs Dynamic Updates
straight into the nameserver? Relational databases would seem to be overkill
for this kind of thing, unless you need some fancy transactional, 2-phase
commit or something like that...


- Kevin

Edward O'Donnell wrote:

> I'm hoping to setup Bind 9.1.3 in conjunction with mysql
> I would like Bind to be fully conversant with the database rather than use
> it to find zone files.
> Ultimately I'd intend to write a simple web interface that allows me to
> update the resource records / add new domains etc via a browser.
>
> I believe Bind 8.x in it's src format included bind_sql tools, is there
> something similar for bind 9.1.3?
> Has anyone managed to make Bind 9.1.3 mysql aware?
>
> I won't have too much difficulty in designing the db as we have two
> different examples in the company, though I've only got access to the
> documentation so I can't see the html docs / scripts or examine how Bind is
> setup.
>
> Any advice anyone can offer would be appreciated. If I can get a basic setup
> sorted out I'll publish a 'laymans terms' guide on the web somewhere.
>
> Thanks,
>
> Edward.



More information about the bind-users mailing list