The MX record is a type of resource record in the Domain Name System that specifies a mail server responsible for accepting email messages on behalf of a recipient's domain.

learn more… | top users | synonyms (1)

53
votes
6answers
5k views

Why can't MX records point to an IP address?

I understand you should not point a MX record at an IP address directly, but should instead point it to an A record, which, in turns, points to the IP address of your mail server. But, in principle, ...
21
votes
4answers
5k views

Best Practices for preventing you from looking like a spammer [duplicate]

I'd like to feel more confident setting up mail for my clients with regards to false positives. Here's what I know: SPF records are good, but not every spam filter service/software (SFSS) uses ...
20
votes
7answers
49k views

Can you lookup a domains past nameserver & mx record history?

If is possible to find out which nameservers a domain was previously pointing too? I need to try and find where a domain was previously hosted so that I can try and gain access to an old hosted email ...
12
votes
10answers
2k views

Using fake MX records to combat spam

I have a client that is getting heavily spammed.. It's the 15th of the month and POP3 bandwidth is almost 100 GB. There are only 7 e-mail accounts on this domain. I installed SpamAssassin set it to 5 ...
12
votes
3answers
7k views

DNS using CNAMEs breaks MX records?

We are trying to move all our websites we host to CNAMES as we are planning on moving servers in the new year and would like the ability to move some clients to one server and other clients somewhere ...
11
votes
4answers
964 views

Are separate dns records necessary for web and mail on a single server?

When setting up a web/mail server on a single server or VPS with one IP address almost every guide online follows the same structure for DNS: example.com. IN A 192.0.2.0 ...
10
votes
7answers
8k views

DNS: Subdomains that Require Both an MX Record and a CNAME

Let us say we own the zone mywebservice.com. I would like each of my customers to get their own subdomain, such as customer.mywebservice.com. customer.mywebservice.com needs to be a CNAME to a ...
9
votes
2answers
3k views

Can you reference a CNAME record in an MX record?

We have several domains all pointing their MX records at mail.ourdomain.com, an internal mail server. We are looking to outsource our email to a new supplier, who would like us to use ...
8
votes
3answers
4k views

DNS: Is it valid to have an “MX” record and no “A” record?

Say you own a abcd.com and you only want to use it to send and receive email via bob@abcd.com. You don't want to provide any kind of website. Can you set up the DNS records to include an "MX" record ...
8
votes
5answers
1k views

Under what circumstances (if any) should an MX record point to localhost?

I'm thinking that there's absolutely no reason or justification for this, but before I open my mouth and get some admin in deep kimchi, I thought I should ask. Is there any circumstance in which an ...
7
votes
3answers
1k views

Can I have separate IP for A record & MX record

I have abc.tv site which is configured on a.a.a.a IP and my mailing solution(test@abc.tv) which I want to configured on y.y.y.y IP address. Is is possible to have separate IPs fo my A record & MX ...
7
votes
2answers
1k views

Can I have an MX record for a 3rd level domain?

I have mail working for continuumconcepts.com right now. My mx records point to my assigned google postini servers. Works great. I have another server out in the wild that is completely disconnected ...
6
votes
4answers
3k views

Hotmail sending email to A record not MX records

I have my website hosted at one location, on a server that also accepts email, and I use Google Apps for mail as my email provider. I've had no problems in the last 18 months, and no reports of email ...
6
votes
4answers
3k views

MX Record Propagation

How long does it take a change in MX records to propagate? Is the MX record TTL the max time it will take or do we also need to wait for all DNS records to propagate? We are changing our mail server ...
6
votes
4answers
22k views

How do I set up my MX records to properly forward mail to my Gmail account?

So I have to confess that I'm not a network admin so my knowledge of DNS is very limited, and I think I've screwed something up. I own a domain--let's call it mydomain.com. I had my hosting provider ...
6
votes
1answer
9k views

MX Records - go to two servers?

Right now I have a single mail server for IMAP. Let's say I want to introduce Exchange but not all users will be on it. Some users will be on my "legacy" IMAP, others on the "new" Exchange. Is it ...
6
votes
3answers
157 views

How do I set my MX records such that mail to my domain goes one place, and mail to all subdomains goes elsewhere?

I have a domain name example.com, for which I'd like mail to be routed to different servers depending on the circumstances. Mail sent to an @example.com address should go to the server ...
5
votes
1answer
1k views

How can you test a backup / secondary MX server?

I'm wanting to set up a secondary MX server using Postfix but I am wondering what is the best way to test this prior to putting into production (by adding its MX entry)? One possible way is to test ...
5
votes
1answer
170 views

Is an MX record needed?

We have a testing server with its own domain name. We don't want any email to be sent from this domain. We don't want any email to be received on this domain. Is it ok to remove the MX record ...
5
votes
2answers
406 views

Null MX records

The IETF appears to have had a draft to specify a null mx record whereby a domain would not handle mail and mail delivery systems would fail and return a undeliverable system immediately by directing ...
4
votes
6answers
887 views

Are SPF needed for domains that do not send mails and do not have MX record?

I have some domains registered that do not send mails. I have totally removed MX record for these domains on my DNS. Is it still useful to set an SPF record in order to avoid spammer to send mails ...
4
votes
1answer
1k views

DNS configuration own server… where to point mx records?

I´m just configuring the dns of a new domain name which I´m going to host on my own server (which runs a mail server). My question is... where do I point the mx records on the dns panel? Thanks in ...
4
votes
1answer
397 views

Replacing an MX record with a CNAME that doesn't match the hostname

Today we have 5 companies that all use Google for email services example1.com. 3w IN MX 10 mail.Google.com. example2.com. 3w IN MX 10 mail.Google.com. ...
4
votes
2answers
181 views

Unknown MX records. Help!

I am using the spf record creator at http://www.openspf.org/ and it's telling me we have 14 mx records. This is not right. We use google apps for our email and when I check our host records it is ...
4
votes
1answer
314 views

What does MX in SPF mean? [duplicate]

I'm setting up an email server, and I'm a bit confused by SPF. Following some examples, I set my SPF record as follows... v=spf1 mx ip4:1.2.3.4 mx:mail.mydomain.com ptr:1.2.3.4 -all I follow what ...
4
votes
2answers
282 views

Will an MX record “follow” a CNAME record?

I have a situation I'm trying to work through that I'm not entirely sure how to solve. Here's the situation: I have a domain, let's say sub.otherdomain.com, that I want to set up e-mail addresses ...
4
votes
1answer
857 views

is there any way to determine the date a domain DNS record like MX record was published?

We need a way to determine when exactly a DNS record such as MX was published for a domain. Does anyone have a clue?
4
votes
1answer
438 views

How to point MX record to my VPS

I own a domain and I host a website on github pages. My A record points to github. I'd like to host mail on a VPS (which only has an IP address), but apparently, I cannot use an IP address as an MX ...
4
votes
3answers
1k views

MX Record Priorities

What does do each of the values 0, 1, 5, 5, 10, 10 mean? Google says you can do that or use 1st 1st 3rd 3rd <-- how are these different or the same? Will 0,1,2,2,3,3 act the same as 0, 1, 5, 5, ...
4
votes
4answers
2k views

Do I need SPF, and how do I set it up?

I've read that SPF is a way to ensure that spam sent in my name is evidently fake, and I'd like to use that. How do I set up SPF? Or is it already in effect? I have two domains hosted on ...
4
votes
3answers
61 views

Does a host/domain used solely for MX records pointing elsewhere need an A record?

I've got a domain on dns.he.net that only has an SOA record, NS records, and one MX (pointing to a totally different host). Does my domain need an A record? Currently nslookup fails since there is no ...
4
votes
3answers
876 views

A way for DNS record to say “this domain has no mail server”?

What is the appropriate way to set up a DNS record that says "this domain has no mail server"? I assume I need a special MX record to do this, otherwise it will be assumed that the A record is the ...
4
votes
2answers
133 views

Why does my isp advice against using an IP as MX?

I'm wondering why I've heard a couple of times that it's bad to enter an IP directly as MX record. Most ISP's advise us to create an A record with the mailserver IP and use that A-record as MX record. ...
4
votes
1answer
2k views

Setting myhostname and Mydomain in postfix for mutiple domains

I have 5 domain names currently pointing to my email server, which is running CentOS 6.5 with Postfix, Dovecot installed. Although I am now only able to receive emails but not send (for reasons I ...
4
votes
1answer
730 views

Benefits of using a subdomain for sending email?

Assume I own the domain name, example.org. I am creating a setup where I receive email sent to me@example.org using Google Apps. The MX records for example.org already point to Google's servers and it ...
3
votes
4answers
15k views

How do I set an MX record in Route53 for a GoDaddy domain?

Can't seem to find an answer to this question on AWS' forum, not in the Route53 manual, nor on Stackoverflow/Serverfault in a way that makes sense...and GoDaddy's support sure as heck ain't got an ...
3
votes
3answers
187 views

MX or A record issues

We have a mail server (Mailenable) which we are using to sell email accounts to our clients. We have one client that could not send email to a specific domain and they receieve this error from the ...
3
votes
5answers
3k views

How do I setup a secondary incoming mail server?

I currently have a server running Debian 6, with postfix and dovecot handling email. This server hosts email for a number of domains and users, so I use MySQL as my backing store for users and ...
3
votes
3answers
752 views

Any issue if PHP mail() mail server not MX of FROM domain?

Suppose I have this scenario: My mail server (and thus MX) for my email address me@company.com is hosted in my office. My website company.com is hosted by third party web hosting company. On my ...
3
votes
5answers
735 views

Fixing typos in user-entered email addresses

We see some typo domains in our mail queue from time to time and I have been thinking of using our internal DNS server to correct these people's mistakes. Some examples from the current mail queue: ...
3
votes
1answer
291 views

A record required for MX record?

Previously our domain, let's call it ourdomain.com, pointed to an IP address (our web host). In addition, we use Office 365 to handle our domain email accounts. DNS records: ourdomain.com A ...
3
votes
2answers
6k views

Can an email server be set-up on an Azure VM?

I am considering the possibility of setting up a simple SMTP+IMAP email server for internal use on an extra small Azure VM. When I say internal use I don't mean "used by internal users", but for use ...
3
votes
3answers
949 views

Why do some TLD have an MX record on the zone root? e.g. .ai

I have no idea why the following TLD have a MX record on the root level of the zone. This does not make sense at all. Does this show the technical incompetence of the NIC? Please comment If I'm ...
3
votes
2answers
784 views

DNS Help with sub sub domain names

I am not sure I even did this right, but I am trying to setup some sub domains with email services. So I want to have an email address like something@sub.domain.com. My problem is getting put in ...
3
votes
3answers
528 views

Can MX record point to second level domain (example.com), not to third level (mail.example.com)?

In all examples of setting up dns, MX records points to mail.example.com (as I understand, purpose is easily change mail server without touching main host). And even my registrar's backend doesn't ...
3
votes
1answer
848 views

Do I need an MX record for email forwarding?

I have my domain askerov.net registered with mydomain.com so that all incoming email is forwarded to my Gmail account using the email forwarding feature of mydomain.com. Note that I don't have Google ...
3
votes
1answer
3k views

Wildcard for A and MX records possible?

I'm building an app where each customer can have their own subdomain. For this example, he setup his subdomain to be: whisky I created a wildcard subdomain in my DNS: *.myapp.com A 123.123.123.123 ...
3
votes
1answer
279 views

Is It OK to Rewrite Email Addresses Intended for Remote Delivery to Use CNames?

I've discovered that a remote site is rewriting email intended for our machines to use the CName of the machine that the mail was addressed to (e.g. mail@virtual.virtualdomain.com becomes ...
3
votes
2answers
1k views

CloudFlare offers DNS root CNAMEs. Any resolution gotchas to be aware of?

I'm not that familiar with the inner workings of DNS, preferring to just add my CNAMEs and A records as appropriate, and leave the behind the scenes to other services. I host a few sites on Amazon S3, ...
3
votes
2answers
239 views

Is @ the same as the IP address for @ in the MX record entry of a zone file?

I have the following configuration in my DNS Zone. I want to switch the @ record to a different IP address, but I want to keep the MX records the same. Please note the IP address has been changed to ...