I was wondering whether we can point to same IP address for multiple A mail records.

Two days ago, I bought a domain (test1.com) and a dedicated server to host SmarterMail, let's say the server's IP address is I have pointed an A record for mail to the IP address. So, if I ping to mail.test1.com, it will pointing to

This morning, I bought again another domain (test2.com). I want to point A record for mail to same IP address. So, when I ping to mail.test2.com, it will pointing to

Is it possible?

Thank You!

  • A records are tangential to mail, you seem to be thinking of MX records. And/or, CNAME records. This guide by Zytrax covers A, MX, and CNAME record types, and explains how they work (and what they are used for). – iwaseatenbyagrue Apr 19 '17 at 16:37

Yes, it is. DNS is just the pointer.

  • Earlier? Look again. – Daniel Apr 12 '17 at 11:29

Yes, it is generally possible and widely used. For mail servers I'd advise against it though.

The reason is that you can have only one reverse record per IP. If you send a mail from your test2.com domain the receiving mail server will try to resolve the ip address from the originating server, and it will resolve to mail.test1.com. In the best case this will result in a higher spam score, in the worst case your mail will be rejected because it doesn't match test2.com.

Choose one domain to use as master domain and set an MX record to mail.test1.com for your test2.com domain. You will have much less problems with your mail system that way.

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.