Using Google Cloud DNS I have foo.com DNS Zone setup. I would like a separate DNS Zone to be delegated responsiblity for dev.foo.com domain names ( e.g. myappserver.dev.foo.com could be defined in the delegated DNS zone )
I could of course simply add an A Record into the foo.com definition. But I am using Terraform ( as Infrastructure as code ) and the dev subdomain ( servers/records etc ) will be built and destroyed on a regular basis.
The problem is that if I have all this in one DNS Zone that is built/destroyed regularly then this would mean that everything in foo.com would be unstable. I just want anything on dev.foo.com to be unstable from this point of view.
Is this possible? It would seem this would be easy using different name servers for dev.foo.com, so I'm assuming it should be okay somehow using the same nameservers but a different DNS Zone. Perhaps something to do with circular dependencies and glue records but I haven't managed to get anything working yet.