I have a domain which I only use for email adresses. I don't host any content there.

My provider added an initial A record at the root of my domain which points to a server that delivers a placeholder page. Since I don't care about this placeholder page I'm thinking about deleting the A record at the domain root.

Could this cause any problems concerning sending and receiving email from this domain? Do other mail servers and/or spam filters care about the A record at the root of a domain respectively the absence of it?


You don't need an A record at the apex of your domain for e-mail to work.

However if you don't have any MX records, any A (or AAAA) record found will be treated as if that host was an MX with preference 0.

See s5.1 of RFC 5321.

| improve this answer | |

From RFC 5321, Section 5.1:

When a domain name associated with an MX RR is looked up and the
associated data field obtained, the data field of that response MUST
contain a domain name. That domain name, when queried, MUST return
at least one address record (e.g., A or AAAA RR) that gives the IP
address of the SMTP server to which the message should be directed.
Any other response, specifically including a value that will return a CNAME record when queried, lies outside the scope of this Standard.

What this means is that your MX record HAS to point to an A (or AAAA) record to be valid. If the A record that you want to remove is where your MX is pointed to, then you can't remove it (and expect to get your email)

| improve this answer | |
  • 1
    Actually I was only talking about the A record at the root of my domain (e.g. test.com A I would leave the records pointing to my MX intact. But good to know that a MX should always point to an A record instead of an IP. Thank you. – Albic Nov 19 '11 at 19:55

There is no requirement in SMTP for a domain to have an A record. While valid, and normal for MX domains, using the domain A record to identify the MX is not recommended. From your description you have a separate MX domain, so you don't need an A records for you domain.

It is not uncommon to have the A record(s) return the address of one or more of your web servers. This allows people to find your web presence more easily.

To be set up properly, your MX needs a fixed IP adddress, an A record. and a PTR record. The A and PTR records should contain the identity of the other. Normally, you will need your ISP (or IP address provider) to configure the PTR record for you. Your mail server should identify itself with the name in the PTR record.

example.com.        IN  MX  mail.example.com.
mail.example.com    IN  A  PTR mail.example.com.

You may want to use SPF records for the domain and MX. TXT records were originally used and some tools only look for them. Creating both SPF and TXT record should minimize lookups required.

example.com.        IN  TXT  "v=spf1 mx -all"
example.com.        IN  SPF  "v=spf1 mx -all"
mail.example.com    IN  TXT  "v=spf1 -all"
mail.examle.com     IN  SPF  "v=spf1 -all"
| improve this answer | |

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.