RE: bind over MySQL
Shane Chrisp wrote:
> On Tue, 2005-11-01 at 19:34 +0100, Olivier Cant wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Hi list
>>
>> We are setting up a bind9 configuration interface (using PHP) for
>> internal use. We have a few zones under the bind9 server. As the
>> zone have to be edited very often and the interface should not edit
>> zone files directly for security reasons, I'm looking for a way for
>> bind9 to lookup the zone information directly in an SQL DB (MySQL
>> preferably). I don't if there if bind is SQL aware or not.
>>
>> Do any of you have any experience with this kind of problem ?
>>
>> If it cannot be done we will be writing system script (and cron them)
>> to rebuid the zone files from a database.
>>
>> Any idea ?
>>
>> Any GPL work done on this we could reuse ?
>
> If your not worried about keeping Bind, have a look at MyDNS.
> I have been running it for about 2 years and one server has
> just served its 10 million'th query. It doesnt have all the
> features that Bind has, but run under daemontools it has
> worked flawlessly for us here and it comes with a php frontend.
>
> There are also scripts to such the existing bind files into mysql.
>
> Shane
It's not hard to convert tiny->bind, but it's hard going the other way.
It's a lot better to keep with tiny though.
--
Regards,
Ed
Reply to: