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)

62
votes
6answers
16k 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, ...
30
votes
7answers
89k 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 ...
23
votes
4answers
9k 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 them....
21
votes
4answers
16k 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 ...
16
votes
2answers
1k views

Server 2012R2 DNS server returning SERVFAIL for some AAAA queries

(Rewriting most of this question since a lot of my original tests are irrelevant in light of new information) I'm having issues with Server 2012R2 DNS servers. The biggest side effect of these ...
13
votes
10answers
4k 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 ...
13
votes
8answers
14k 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 ...
13
votes
2answers
6k 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 mail....
11
votes
4answers
1k 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 hostname....
10
votes
3answers
286 views

MX priority server behaviour

This is a question about MX procotol priority. If I have two server as MX with different priority: MX 10 serverA MX 20 serverB Is this guarantee by the protocol that the MX 10 is the prefered? Can ...
9
votes
3answers
7k 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
2k 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 ...
8
votes
4answers
297 views

MX records, better setup for load balancing and failover

Take domain example.com, it has two mail servers mail1.example.com and mail2.example.com, both already configured, usually I would go with the following setup: example.com. 1200 IN ...
8
votes
1answer
15k 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 ...
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
3answers
666 views

MX record point to itself, possible?

Lets say I have the following DNS active for domain example.com (leaving out priority and ttl) example.com A 123.45.67.89 mx.example.com A 123.45.67.89 example.com MX mx.example.com ...
7
votes
2answers
2k 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
4k 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
5k 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
25k 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 ...
6
votes
1answer
3k 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 ...
6
votes
3answers
1k 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 wrong....
6
votes
2answers
15k 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 ...
6
votes
2answers
375 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 on,...
6
votes
4answers
28k 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
4answers
4k 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 Dreamhost.com,...
6
votes
3answers
188 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 mail.server1....
5
votes
1answer
193 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
3answers
3k 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, ...
5
votes
1answer
868 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 ...
5
votes
2answers
2k 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 ...
5
votes
2answers
522 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
2k 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
2k 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
475 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. example3.com....
4
votes
1answer
2k views

MX Backup service [closed]

What suppliers can you recommend, that provide an MX backup service?
4
votes
5answers
5k 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 ...
4
votes
2answers
187 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
476 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
1answer
2k 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
3answers
71 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
2k 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
1answer
4k 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 can'...
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
2answers
191 views

Big Trouble with (I think) Outlook X500 addressing

I moved a small client from one hosted Exchange server (Microsoft Office 365) to another (Intermedia.net). Some emails from External senders to the users on the new server host are undeliverable, ...
4
votes
1answer
67 views

New public IP address - Email, web server

I support a small office of about 100 users. We run a small virtual environment and host our own on-premises Exchange server and Web Server. We are in the process of upgrading our internet connection ...
4
votes
0answers
202 views

Exchange 2007 not delivering to primary MX of one domain

I'm trying to send email to a domain that has two MX records. The higher priority record is IPv4 and the 2nd is IPv6. Exchange gives me a delivery is delayed message in my inbox after I've tried to ...
3
votes
3answers
710 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
3answers
1k 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
1k 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: ...