Environment: AWS, DNSSEC
When I attempt to create a DS record to establish a chain of trust I get an error that I don't understand.
My full error.
Error occurred
Bad request.
(InvalidChangeBatch 400: RRSet of type DS with DNS name example.com. is not permitted in zone example.com.)
Oddly enough when I attempt to add the key to a subdomain like www.example.com it works. But that's not what I need. I need it to work for the entire domain.
The
DS
record forexample.com
would go in thecom
zone as part of the delegation, not in theexample.com
zone itself. This is how the chain of trust is formed, you get theDS
with a signature from the already validated/trusted parent zone.(In such an example, it would be managed through your registrar.)
Similarly, if you were to delegate eg
sub.example.com
somewhere else you would have theDS
(if applicable) in theexample.com
zone as part of the delegation forsub.example.com
. (Which is why you can addDS
for other names.)