Question

DNS Adding "A" record acting weird?

Posted May 14, 2017 1.1k views
DNS

If I try to add an “A” record to my domain pointing to an ip address such as this:

mail.mydomain.com points to 101.101.101.101

I get this as a record?

mail.mydomain.com.mydomain.com points to 101.101.101.101

Why is this?

Thanks!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

1 answer

@jeffrey6f729b2968bb9ab9eaf

For A entries, in most cases, with most providers, you only need to specify mail and not the FQDN, or fully qualified domain name.

So instead of:

A          mail.yourdomain.com          IP_ADDRESS

… you’d want to use:

A          mail          IP_ADDRESS

This is the case with DigitalOcean’s DNS, as well as most domain registrars. Your domain is appended by default, so there’s no need to add it with the entry.

Submit an Answer