Report this

What is the reason for this report?

DNS Adding "A" record acting weird?

Posted on May 14, 2017

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!



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

@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.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.