opennetadmin / build_bind

OpenNetAdmin plugin to manage and build BIND DNS server configurations
13 stars 13 forks source link

Add support for subdomain delegation #14

Open chuhn opened 5 years ago

chuhn commented 5 years ago

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 also fixes #11

chuhn commented 6 months ago

Ping?