I digged into the source to find out why my MAAS DNS controller puts a wrong NS record in my default zone (missing a dot at the end of rrdata and thus creating a “default_domain.default_domain” record).
I didn’t find an answer, so my question would be: has anyone an idea why the NS record for a subdomain (or for any authoritative domain it seems) must be the default domain name? This is a deviation from the usual way to delegate domains.
And if this is indeed intentional, I would consider this a bug:
Using a domain name and not a label without checking for the ending dot is creating the above mentioned “default_domain.default_domain” issue and leading to bind ignoring this record alltogether:
named: zone default_domain/IN: subdomain.default_domain/NS 'default_domain.default_domain' has no address records (A or AAAA)
Any idea anyone what is going on here or why it was designed this way?
Should I file a bug?