This has been an ongoing request from BIND admins for many years. BIND 9 has the facility built-in to swap out the storage-handling to an alternative mechanism than the default. There have been various attempts at using this facility, and one that appears to still be maintained is the MySQL BIND SDB driver, which looks as if it meets the needs you edited your question to include - so you'll still need to write/find a PHP/HTTP front-end for the database.

A quick Google search for "database backend for bind" provides further reading, but keep in mind any such solution to include database support into BIND will require a system on which you can compile BIND + driver code, so you may want to have another host to do this on for security reasons.

As always, HTH and YMMV.


You can configure a dynamic zone,

zone "example.com." {
    ...
    update-policy local;
};

and update using nsupdate -l:

$ nsupdate -l
> zone example.com
> update add foo.example.com 7200 A 1.2.3.4
> send