awslabs/route53-dynamic-dns-with-lambda

What is the reason of using a separate hosted zone?

agherzan opened this issue · 4 comments

I see that the example uses a separate hosted zone as a subdomain delegated from the "main" hosted zone. Is there any reson why not to use the initial hosted zone? In the example why not use "example.com" hosted zone and avoid the 'dance' creating a new hosted zone and delegating a record?

Hey Andrei,
It's really just a precaution.
If you create a subdomain dedicated to this system, then you can be sure you don't change or delete DNS records not used by the system.
If you are careful or understand the risk in your environment, you can use your primary zone.
I'm working on v2 of this BTW.
Going to deprecate the instructions and instead provide a CloudFormation template to provision the system.
I'll also support private DNS for local device discovery, and IPV6.
If time allows I'll also switch the config from son in S3 to DynamoDB.

I suspected something along these lines. It seems though a little bit of a extra care because you base the operations on the json configuration which only allows specific domains to be changed.

Got it. In the scenario it makes sense. Thanks for the information.