My hosted zone at AWS seem to be working fine so I am a little nervous about changing it -- but I noticed that my CNAME record for my white-label DNS looks like this right now (no trailing dot):

*.localroute.net.    CNAME    localroute.net    -    -    172800

Is this working correctly because the system is smart enough not to append another "localroute.net" to the value? Or should I just go ahead and add the dot at the end so it looks like this:

*.localroute.net.    CNAME    localroute.net.    -    -    172800

Also, am I correct in saying that if I want one domain to map to another via CNAME then the format must have the dot at the end, to avoid ambiguity? E.g.:

www.example.net.    CNAME    example.com.    -    -    172800

Thanks for any insight you could give me on this, I want my DNS to be perfect :-)


From the Route 53 documentation on record values:

CNAME — Canonical name
The fully qualified domain name (for example, www.example.com) that you want Amazon Route 53 to return in response to DNS queries for this resource record set. A trailing dot is optional; Amazon Route 53 assumes that the domain name is fully qualified. This means that Amazon Route 53 treats www.example.com (without a trailing dot) and www.example.com. (with a trailing dot) as identical.

However, even if you had been dealing with an administration interface that is not as clearly documented, you could just try it and see how the values are used before doing your actual changes (obviously doing the testing well separated from anything used for production).

  • Thank you, Håkan. And darn it, I did try to research and find the answer myself first because I realize that is what the good people here expect. I appreciate the help.
    – C C
    Jul 9 '17 at 18:45
  • There is a little explanation for the trailing dot here: dns-sd.org/trailingdotsindomainnames.html
    – psycho brm
    Sep 17 '18 at 8:07
  • @psychobrm An important distinction here is that this question is about the AWS Route53 interface, that page describes the DNS master file format. Not really answering the same thing. Sep 17 '18 at 8:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.