This patch adds subdomain delegation NS records based on the parent_id relationship between domains in ONA.
It extends the initial SELECT in build_bind_domain to also include NS records that have the given domain as parent domain as well as the glue A records of the corresponding name servers.
The generation of A and NS records then needs special handling for records where the desired entry does not match `domain['fqdn]'.
This patch adds subdomain delegation NS records based on the
parent_id
relationship between domains in ONA.It extends the initial
SELECT
inbuild_bind_domain
to also include NS records that have the given domain as parent domain as well as the glue A records of the corresponding name servers. The generation of A and NS records then needs special handling for records where the desired entry does not match `domain['fqdn]'.This also fixes #11