MX record - what is it?

Date:

2018-04-02 10:41:12

Views:

1102

Rating:

1Like 0Dislike

Share:

Table of contents:

An MX record, or mail exchanger 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 recipient's domain and a preference value used to prioritize mail delivery. Set the mail exchanger records of your domain name specifies how email should be routed using the Simple Mail Transfer Protocol (SMTP).

mx records

MX record: an overview

Resource Records are the main information element of the domain name system (DNS). They differ in the type identification (A, MX, NS) DNS class (Internet, CHAOS). Records have a validity period (lifetime) assigned to them, indicating when the information they store needs to be updated with the authoritative name server. Resource records are organized within the DNS based on their FQDN of the recipient's e-mail (part of the name after the @symbol).

The Characteristic payload information of an MX record is the FQDN for mail host and a preference value that should be displayed directly in one or more address entries.

When the email is sent via the Internet, the sending mail transfer agent (MTA) queries the domain name system for MX records for each recipient's domain. This query returns the list of hosts of mail exchange servers accepting incoming mail for that domain. The sending agent then attempts to establish an SMTP connection.

mx record for the domain

Basics of prioritization

In the simplest case the domain can have only one mail server. For example, if an MTA looks at the MX records for example.com and the DNS server responds only with mail.example.com with the number of preferences 50, the MTA will attempt to send mail to the specified server. In this case, the number 50 can be any integer permitted by the SMTP specification.

But when the query returns more than one MX server room preferences for each record determines the relative priority of a specified server. When a remote client (typically another mail server) searches the MX for a domain name, it receives a list of servers and their preference numbers. Should initially be verified by any server with the lowest number of preferences. To provide reliable mail transmission, the SMTP client must be able to check each of the relevant addresses in this list in order until the delivery attempt succeeds.

Recommended

Bitcoin farm: earnings on cryptocurrency

Bitcoin farm: earnings on cryptocurrency

Mining of bitcoin – it is a process in which cryptocurrency is produced. To use bitcoin, you should try to complete the “block” containing recent transactions. They are recorded in a digital Ledger called the blockchain. Once the bl...

Natalia Yaschuk. Who is she? Blogger, Weiner or TV presenter?

Natalia Yaschuk. Who is she? Blogger, Weiner or TV presenter?

Internet Users have probably seen funny videos called Minami. The network currently thousands. Make them completely different people, and the subjects also varied. So, one of the authors of these movies - the incredible Natalia yaschuk! Who is this s...

How to increase the relevance? Search queries. Relevance check

How to increase the relevance? Search queries. Relevance check

Despite the fact that modern search engines are trying to adapt to the users searching information in the Internet does not become any easier. All because every day on the web expanse of the thousands of new sites. And the amount of garbage that regu...

Load balancing between arrays of the mail servers

The Method used to distribute the load of incoming mail on the server array should return the same preference number for each server in the set. When determining which server has equal preference to send mail, the sender must randomize them to spread the load across multiple mail exchangers for a specific organization. Multihomed servers are treated differently, as in this case any randomization is already used by name server. This applies mainly to routing problems. Other types of server load can be solved by using a proxy SMTP server.

check mx record

Backup

A Target server, i.e. one that knows how to deliver to Inbox of the corresponding user is typically the most preferred. Servers with lower priority, the so-called backup or secondary MX record usually store the messages in the queue, waiting for the primary server. If both servers connected to the network or somehow connected to one another, the backup MX will forward the letter to the primary mail exchanger. Backup acts as a repository.

How to configure MX record: priority

Email is sent to the exchange server with the lowest preference number (highest priority), so the mail exchanger record, used for routing should have the lowest preference number, typically 0.

Priority determines the order, which should be linked to the servers (if multiple servers with different priorities). The first will be checked server with the highest priority and lowest number of preferences. In DNS records, as a rule, preference is selected and specified.

Error during setup

A Common misconception about the order of preference of the MX record of the domain is that it is designed to increase the deliverability of mail. However, the mere use of multiple records with the same preference provides this benefit.

configure mx records

Another common misinterpretation of the order of the MX preferences is that it is designed to provide “failover” in the case of server overload. Although it can be used in this way, it is a bad method of resource management, because it intentionally creates overload, not fully utilizing all available equipment and allows to check MX record. Assigning the same value to all available servers provides the same advantage can help avoid overload situations and thereby increase system throughput by reducing delays.

Logging SMTP

The SMTP Protocol establishes a network of store-and-forward, and if your mail servers in the domain are offline, the sending servers queue messages destined for this domain to retry later. However, these sending servers may not be notified that you can now servers offline domain, and determines that the domain is only available if sending the pending messages will be taken next attempt.

check mx record for domain

The Delay between when the domain servers are connected to the network and when the pending messages are finally delivered can be from minutes to several days, depending on the schedule of replays of the sending servers. The problem is that the backups have unique qualifications to address and not allow you to check the MX record of the domain.


Article in other languages:

AR: https://tostpost.com/ar/internet/11764-mx.html

BE: https://tostpost.com/be/nternet/21043-mx-zap-s---shto-geta.html

DE: https://tostpost.com/de/internet/21047-der-mx-eintrag---was-ist-das.html

ES: https://tostpost.com/es/internet/21066-el-registro-mx---qu-es-esto.html

HI: https://tostpost.com/hi/internet/11778-mx.html

JA: https://tostpost.com/ja/internet/11778-mx.html

KK: https://tostpost.com/kk/internet/21033-mx-zhazu---b-l-ne.html

PL: https://tostpost.com/pl/dost-p-do-internetu/21002-rekord-mx---co-to-jest.html

PT: https://tostpost.com/pt/servi-os-de-internet/21008-o-registro-mx---o-que-isso.html

TR: https://tostpost.com/tr/nternet/21045-mx-kayd---bu-da-ne.html

UK: https://tostpost.com/uk/nternet/21027-zapis-mx---scho-ce.html

ZH: https://tostpost.com/zh/internet/12538-mx.html






Alin Trodden - author of the article, editor
"Hi, I'm Alin Trodden. I write texts, read books, and look for impressions. And I'm not bad at telling you about it. I am always happy to participate in interesting projects."

Comments (0)

This article has no comment, be the first!

Add comment

Related News

Genesis Mining: a review of the service and features

Genesis Mining: a review of the service and features

Reviews about cloud mining Genesis Mining and ratings of the service on various forums and blogs put it in the top three, and sometimes even in first place in the list of most stable and profitable ways of investing in cryptocurre...

Reviews of the store

Reviews of the store "Masterfon". Purchase via online store

Since the advent of Internet Commerce the lives of many buyers really improved. After all, what could be simpler: select the item indicated number, model and color, made the least movement and received the order directly to your h...

Social media buttons for your site

Social media buttons for your site

With the increasing number and quality of user-defined functions of social networks has increased their popularity among users. the Birth of social media buttons for your website is directly related to the popularity and the popul...

Spam: what is it? The main measures to combat spam

Spam: what is it? The main measures to combat spam

Perhaps one of the most pressing problems on the Internet is spam. What is it? Summarizing, we can say that spam is unsolicited advertising. That is, e-mail announcements that are sent to users without their consent.What are the d...

How to unsubscribe from newsletters in the mail

How to unsubscribe from newsletters in the mail "Email" - easy!

Let's talk on this theme, as mailing. In General, to solve the issue of how to unsubscribe from newsletters in the mail, "Mail", it's easy. Sometimes such situations arise when a person subscribes to all sorts of news and eventual...

That gave us a

That gave us a "YouTube"? What are tags on YouTube? Their functions and tasks

Who does not know about the world's most popular Youtube? It is the largest platform for placement of video, where you can find recordings of anything — starting with news and ending with clips from the experiments by some s...