This patch utilises a dummy SOA record in the DB to trigger a recursive lookup of a zone for which we are not authoritative but which we hold glue records.
This needs the recursive server configured and working. The record is then created with the recursive column containing a boolean positive value e.g. Y.
If you apply this patch you must extend the schema to include the recursive column.
Use something like this
ALTER TABLE soa ADD COLUMN recursive ENUM('Y', 'N') DEFAULT 'N' AFTER active;
to add the column to an existing database.
Do not set recursive on for any zones which the server is authoritative for.
There is an associated patch available to add functionality for this to the admin.php script. I will post that as well if somebody can tell me where.
Patch to mydns-1.1.0 for recursive sub-zones