Closed cmsd2 closed 8 years ago
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
In order to create a subdomain and delegate to it with an ns record it's necessary to get the subdomain's apex ns record set and to put those 4 returned dns servers in an ns record in the parent zone.
There's no way to get those apex ns records for a zone using terraform at the moment.
The azure rm rest api only returns the bare minimum info about a given zone and is probably why this hasn't been implemented so far. This would require an additional rest api call e.g. in resourceArmDnsZoneRead, to explicitly ask for details of the implicitly created apex ns record, and to add the results to the zone's attributes.
The aws provider has this info and shows how it might look to users.