Issue when creating nested subdomain of verified domain through API
Verified domain: example.com
When trying to create a nested subdomain of a verified domain, at a certain level, it errors with:
ERROR: (gcloud.dns.managed-zones.create) HTTPError 400: Please verify ownership of the 'd.c.b.a.example.com.' domain (or a parent) at http://www.google.com/webmasters/verification/ and try again
The weird thing is that there are no issues with creating a.example.com, b.a.example.com or c.b.a.example.com through the API (gcloud CLI or terraform).
Also, creating the same domain via the control panel works with no issues. We are doing that currently as a workaround and importing it in the terraform state but it is cumbersome and error prone.
I’ve brought this to the attention of our DNS PMs, will update here when we have more info on whether it’s a bug, intended behavior, we need more info, etc. Thx.