I am trying to configure some CNAME records for our debug server in AWS Route 53. Our current set up is as follows:
example.com A <AWS Address>
example.com NS <AWS NS Addresses>
*.example.com CNAME production.other.com
*.debug.example.com CNAME develop.other.com
// Others omitted for brevity
These have been working great and as expected. I am trying to set up a Mail Provider, so need to add some other CNAME records, which I have been able to add in Route 53:
123.debug.example.com CNAME 123.mailprovider.com
However, when I then go to look up or dig the CNAME record for 123.debug.example.com
, I instead get develop.other.com
which is very confusing. According to this from AWS Route 53 documentation:
Specific domain names take precedence. For example, if you create records for *.example.com and acme.example.com, Route 53 always responds to DNS queries for acme.example.com with the values in the acme.example.com record.
but this does not seem to be working for me. I have tried with other CNAME records and even waiting the 48 hours for the DNS to propogate, despite setting a 60s TTL, but none have worked.
Can anyone please help me figure out what I need to do?
Thanks