RRSet with DNS name foo. is not permitted in zone bar

asfallows picture asfallows · Jul 10, 2012 · Viewed 17.6k times · Source

I am using the route53 cookbook in Opscode Chef to add a newly created VPC node to Route 53.

When I try to create a record named foo for the hosted zone bar.website.net, I get the error RRSet with DNS name foo. is not permitted in zone bar.

I am pretty sure that this is an AWS configuration issue, not an issue with the cookbook, but I could easily be wrong about that. What's the fix for an issue like this?

Answer

asfallows picture asfallows · Jul 11, 2012

Turns out I misunderstood the format I needed to use when entering arguments.

To add the record foo.bar.website.net, I was setting the name field to foo. I actually needed to set it to foo.bar.website.net - I was caught off guard because in the AWS Route 53 console one simply needs to type the leading material.