Anatomy of a DNS Zone File Part Three: MX Records

A mail exchange record or MX record is a type of record in a DNS zone file. MX records are responsible for specifying which mail server is in charge of receiving email messages on behalf of a domain.

When you send an e-mail, your computer queries the DNS for the MX records of the recipient’s domain name.  This query results in a list of all available MX records that are responsible for accepting incoming mail.  The email client then attempts to make an SMTP (Simple Mail Transfer Protocol) connection to the primary mail server.

MX records are ranked by priority from lowest to highest to specify which mail server is the primary one.  The primary server is always the one to be used, unless it is unavailable and then, the next subsequent server is tried.  If there are no MX records available, the server will simply request the A record of the domain.

I used the following dig query to find the MX records for no-ip.com: dig no-ip.com MX +short (the +short condenses the reply to only show the MX records)

dig no-ip.com MX +short

 

10 mail1.no-ip.com.
15 mail2.no-ip.com.
5 mail0.no-ip.com.

The reply shows that there are three MX records for no-ip.com.

The primary mail server that email will be routed to is mail0.no-ip.com.  If that server is unavailable, the mail client will then try mail1.no-ip.com, lastly, if that server is unavailable too, it will try mail2.no-ip.com.

To increase reliability, if there are multiple MX records with the same preference number, all of these must be tried first, before the email client can try the next subsequent record. The SMTP client will try all of the MX records until delivery is successful.

Multiple MX records make primary and backup mail possible, but what if you don’t want the headache of running multiple mail servers, but still want the redundancy? No-IP has two easy solution.

Backup MX gives you mail redundancy on exclusive networks with professional mail server admins monitoring the system. Not only that, but No-IP’s Backup MX servers filter viruses and employ RBL lists to help keep the junk from reaching your inbox. No-IP also allows you to provide a valid user list so that bad mail can be stopped at the SMTP level, saving connections and resources on your server.

Another No-IP product, Mail Reflector will help you get around Port 25 if your ISP blocks it.  Mail is first delivered on the standard port to our mail system and then is immediately delivered to your mail server on whichever port you specify. This gives you complete control of your mail system and bypasses seemingly insurmountable restrictions. Mail Reflector also provides all of the features of Backup MX, including virus filtering, greylisting, and customizable RBL lists, so that even if your mail server is temporarily unavailable, mail will not be lost.

Backup MX or Mail Reflector can save you time, money and unnecessary headaches.

Questions on MX records or our mail services? Leave them below!

Want Email Without the Headache of Managing Your Own Mail Server?

Managing a mail server isn’t for everyone and if you, like myself, are not so technically inclined, then you should definitely consider our POP3/IMAP service.  No-IP’s POP3/IMAP mail service gives you complete email service for your domain, without the headaches or the technical experience that is needed to run your own mail server.

The following are the pros of choosing our POP3/IMAP mail service versus running your own mail server:

1. Control email for your own domain without the cost or hassle of running your own server

2. No need to hire an internal resource to manage your server, with our POP3/IMAP service, all of the technical stuff is handled by us!

3. Travel a lot or work from home? With POP3/IMAP you can access your email anytime and anywhere with webmail!

4. RBL (Realtime Blackhole List) and virus scanning help avoid spam (no not the “meat” in a can) and junk mail

5. Secure back-up capabilities to ensure that none of your emails ever get lost

6. Full control and access to your account to allocate and control memory usage and add/remove users

So, what are you waiting for? Sign Up for our POP3/IMAP service today.  No-IP POP3/IMAP offers tiered accounts for every need, large and small! Questions or comments? Leave them below!