Fact-checked by Grok 2 weeks ago

MX record

An MX record, or Mail Exchange record, is a type of resource record in the (DNS) that identifies a mail server authorized to receive on behalf of a specific , enabling the routing of messages according to the (SMTP). Defined in RFC 1035, an MX record consists of a , a 16-bit unsigned integer preference value (where lower numbers indicate higher priority), and the of the mail exchange host. This structure allows multiple MX records for a single domain, with mail delivery attempting the hosts in ascending order of preference to ensure reliable and prioritized handling. The primary purpose of MX records, as detailed in RFC 974, is to guide mailers in determining how to route messages to a destination domain by querying the DNS for the relevant MX resource records (RRs). When no MX records exist for a domain, mailers treat it as having an implicit MX record with preference 0 pointing to the domain itself, falling back to an A or record for the host. Mailers must sort and attempt delivery to MX hosts starting with the lowest preference value; if multiple records share the same preference, they are considered equal and tried in any order before proceeding to higher preferences. To prevent mail looping, RFC 974 establishes rules requiring that a mailer on a listed as an for the destination can only forward to other hosts with strictly lower preference values than its own. This mechanism ensures messages progress toward final delivery without circular routing. Additionally, records trigger additional section processing in DNS responses, including A records for the exchange host to facilitate connectivity. Overall, records decouple email routing from the domain's primary , providing flexibility for load balancing, , and administrative control in .

Fundamentals

Definition and Purpose

An MX record is a type of (DNS) resource record that maps a domain name to one or more hostnames of mail exchange servers responsible for accepting messages on behalf of that domain. The primary purpose of an MX record is to enable reliable email routing by directing (SMTP) servers to the appropriate mail hosts, thereby preventing attempts to deliver directly to non-mail servers resolved via other DNS mechanisms. In distinction from other DNS records, such as A records that resolve domain names to IPv4 addresses for general network connectivity or CNAME records that alias one domain to another, MX records are specialized for delegating email acceptance to dedicated mail servers. MX records specifically target mail delegation and must resolve to hostnames backed by A or AAAA records, rather than aliases. For example, an MX record for the domain example.com might map it to the hostname mail.example.com, designating the latter as the server to handle incoming emails for the domain.

Role in Email Routing

In the email delivery process, the sender's Mail Transfer Agent (MTA) initiates routing by performing a DNS query to retrieve MX records for the recipient's domain. This query, as specified in the Domain Name System (DNS), returns a list of mail exchanger hostnames associated with the domain, each accompanied by a preference value indicating priority. The MTA then sorts these records by preference, attempting delivery to the host with the lowest preference value first; if multiple hosts share the same preference, they are tried in any order before proceeding to higher-preference alternatives. Once the appropriate MX hostname is selected, the sender's MTA resolves it to an IP address through a subsequent DNS lookup for A (IPv4) or AAAA (IPv6) records, enabling the establishment of a TCP connection to the receiving MTA. The handoff occurs via the Simple Mail Transfer Protocol (SMTP), where the sender relays the message using commands such as MAIL FROM, RCPT TO, and DATA; upon successful transfer, the receiving MTA assumes responsibility for final delivery or error reporting. This process ensures reliable message transport across the Internet. MX records play a crucial role in decoupling email handling from a domain's primary services, such as hosting, by allowing to be directed to specialized servers that may differ from the domain's authoritative name servers or other components. For instance, for a like might be routed to a dedicated host like mail.example.net, independent of the domain's A record for access. This separation enhances and operational flexibility in systems. The use of multiple MX records per domain supports scalability in email infrastructure, enabling load distribution across several servers to handle high volumes of incoming mail without overwhelming a single point. By listing several exchangers with varying preferences, domains can implement primary and secondary routing paths, improving overall system resilience and performance for large-scale operations. Preference values guide this prioritization, with lower values favoring primary hosts.

Record Format and Syntax

Basic Structure

The basic structure of an MX follows the standard resource (RR) format defined in the (DNS) protocol. In DNS zone files, an MX is declared using the syntax domain IN MX preference exchanger, where domain is the owner name (the domain for which mail routing is specified), IN denotes the class, MX is the type, preference is a 16-bit unsigned indicating (ranging from 0 to 65535), and exchanger is the fully qualified hostname of the mail server, which must end with a if specified as absolute. For example, the entry example.com. IN MX 10 mail.example.com. configures mail for [example.com](/page/Example.com) to be directed to mail.example.com with a of 10, and may include a (TTL) value preceding the class for caching purposes. The components of an MX record include the owner name, TTL (a 32-bit unsigned for caching duration), class (typically IN for ), type (MX, with numeric value 15), and the type-specific data consisting of the field and the exchanger . The is a 16-bit unsigned where lower values signify higher for delivery attempts, while the exchanger is a variable-length pointing to the host responsible for accepting . This structure ensures that multiple MX records can coexist for a , allowing for prioritized routing without altering the core record . In the wire format used for DNS messages and responses, the MX record's resource data (RDATA) follows the common RR header and consists of two fields: a 16-bit unsigned integer for the preference, immediately followed by the exchanger domain name encoded in standard DNS wire format (a sequence of length-prefixed labels). The wire format can be represented as:
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
|                  PREFERENCE                   |
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
/                   EXCHANGE                    /
/                                               /
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
This compact binary representation facilitates efficient transmission and parsing in DNS queries and responses. Validation of an MX record requires that the exchanger hostname resolves to at least one A (IPv4) or (IPv6) record to enable resolution for mail delivery, and the preference value must fall within the 0-65535 range as a 16-bit unsigned . These rules ensure the record's usability in routing, with the DNS performing additional section processing to include A or records for the exchanger during queries. The preference value influences server selection during delivery, as detailed in subsequent sections on mechanics.

Preference Value Mechanics

The preference value in an MX record serves as a relative priority indicator for mail exchange hosts, where a lower numerical value signifies higher priority and thus an earlier attempt at delivery. This field, an unsigned 16-bit , allows administrators to specify the order in which sending servers should attempt delivery to multiple potential recipients for a given . For instance, an MX record with a of 10 will be attempted before one with 20, enabling straightforward prioritization without requiring complex configurations. The valid range for the preference value spans from 0 to 65,535, with 0 denoting the absolute highest . This field is mandatory in every MX record and has no default value if omitted, ensuring that resolvers and mailers can always determine the intended order. During a DNS lookup for MX records, the responding nameserver returns all relevant records, which the querying mailer then sorts in ascending order of preference value to establish the sequence. Mailers are required to attempt starting with the lowest preference value; only after exhausting all hosts at that level—typically by attempting connections to each—do they proceed to the next higher value. In cases of tied preference values, such as multiple MX records sharing the same number, the mailer must try all hosts at that priority level before advancing to higher preferences, but the order among tied hosts is arbitrary and implementation-dependent, often determined by the returned by the DNS or the mailer's internal logic. This mechanism promotes redundancy by allowing parallel or sequential attempts within the same priority tier without mandating a specific . Common administrative practices often assign the primary mail exchange a preference of 10 and secondary or servers values like 20 or 30, using increments of 10 to provide flexibility for future additions without renumbering existing records. This convention simplifies management while adhering to the relative priority principle outlined in the standards.

Server Selection and Prioritization

Priority Ordering Basics

In the process of email delivery, a Mail Transfer Agent (MTA) queries the Domain Name System (DNS) for MX records associated with the recipient's domain, receiving all relevant records in a single response. The MTA then sorts these records in ascending order based on their preference values, where lower numerical values indicate higher priority, and initiates connection attempts starting with the host having the lowest preference value, known as the primary mail exchanger. This sorting ensures that delivery attempts prioritize the most preferred server first, with subsequent attempts proceeding to higher-preference hosts only if earlier connections fail or are rejected, such as due to temporary errors or unavailability. The is required to exhaust all attempts within the current preference level before advancing to the next, promoting reliable without unnecessary load on secondary servers. When multiple MX records share the identical preference value, the MTA must select among them randomly to distribute load evenly and prevent overburdening any single host, rather than following a deterministic order like the sequence in which records appear in the DNS response. This randomization applies across all hosts at that preference level before the MTA proceeds to higher values. In the case of a domain configured with only a single MX record, the preference value becomes irrelevant, as the MTA has no alternatives and must attempt delivery exclusively to that designated host, resolving its address via A or AAAA records as needed. If the MX lookup succeeds, the MTA performs separate DNS queries to resolve the A or AAAA records of the specific MX host before attempting delivery. If resolution or delivery to a host fails, it proceeds to the next. Extensions for more advanced load distribution among equal-preference hosts are addressed in subsequent sections on load balancing techniques.

Load Balancing Techniques

Load balancing in MX records is achieved primarily by configuring multiple records with identical preference values, enabling the distribution of incoming email traffic across several mail exchangers to improve and . According to RFC 974, when multiple MX records share the same lowest preference, mail transfer agents (MTAs) are required to attempt delivery to all such hosts before deeming the message undeliverable, with the order of attempts left to the MTA's discretion, often resulting in randomized or sequential selection that inherently spreads load. This mechanism builds on the priority ordering foundation, where equal preferences treat servers as peers for initial delivery attempts. A common technique for even distribution is , where authoritative DNS servers rotate the order of MX records with the same preference in successive query responses, directing different clients to different servers over time. This approach simulates load sharing without requiring changes to the DNS protocol, as discussed in RFC 1794, which explores DNS mechanisms for load balancing and notes their compatibility with MX record handling. For example, if a domain has two MX records with preference 10 pointing to mail1.example.com and mail2.example.com, DNS responses might alternate their positions, prompting MTAs to connect to varying hosts across queries. Weighted distribution can be approximated by assigning identical low preferences to primary servers intended for load , while reserving higher preferences for less-preferred secondaries; load spreading among primaries then relies on DNS or MTA randomization. RFC 974 supports this by mandating exhaustive attempts across equal-preference hosts, allowing administrators to influence weights indirectly through the number of or underlying A configurations. However, true weighting is limited in standard MX implementations, as preferences do not support fractional or probabilistic values natively. Despite these methods, MX-based load balancing has notable limitations: it operates at the DNS or level without monitoring actual load, capacity, or health, potentially leading to uneven if clients responses or if one becomes overloaded. The effectiveness also varies by implementation, as RFC 974 leaves the selection order unspecified beyond requiring attempts on all equal-preference hosts, meaning some s may always try the first listed . Best practices recommend combining multiple MX records with hostnames that each resolve to several IP addresses via A or AAAA records, enabling finer-grained round-robin at the address level for more effective load distribution. This setup, aligned with DNS load balancing principles in RFC 1794, minimizes single points of failure in resolution while preserving MX preference logic, and is widely adopted for high-volume email systems to balance traffic without over-relying on MTA behavior.

Backup and Redundancy

In backup configurations for records, organizations establish redundancy by assigning secondary records higher values, enabling them to act as options when the primary becomes unavailable. For instance, a primary record with a of 10 might direct to the main on-premises , while a secondary record with a of 20 points to an alternative host, ensuring that attempts proceed only after the primary fails. This mechanism, outlined in the foundational specification, allows multiple records to provide without disrupting normal routing. Activation of backup MX records occurs during the process when the Mail Transfer Agent (MTA) encounters issues with the primary target, such as connection timeouts, refusals, or temporary errors. The MTA systematically tries all MX records at the lowest level before advancing to higher ones, retrying as needed per SMTP protocols to maintain delivery reliability. This ordered fallback prevents loss during short-term outages, with the backup server queuing messages until the primary recovers. Off-site backup MX records are widely employed for , particularly through third-party services that host remote servers with elevated preference values to manage inbound during extended primary site failures, such as or hardware catastrophes. These external setups enhance resilience by geographically separating , allowing seamless without local dependencies. However, backup MX servers introduce considerations, as spammers may deliberately target them to circumvent the primary server's anti- filters and deliver unwanted messages directly. To mitigate this, backup systems require independent protections, including dedicated spam detection, , and verification of recipient validity, ensuring they do not become vulnerabilities in the overall ecosystem.

Delivery Processes and Error Handling

Normal Email Delivery Flow

When an email is sent, the sender's Mail Transfer Agent (MTA) initiates delivery by querying the (DNS) for MX records associated with the recipient's . This resolution identifies the mail exchangers responsible for accepting messages on behalf of the domain, as specified in the DNS protocol. The selects the MX record with the lowest preference value, indicating the primary mail server for delivery. It then resolves the in that MX record to one or more IPv4 (A) or IPv6 () addresses via additional DNS queries. With the obtained, the establishes a Transmission Control Protocol () connection to the recipient's mail server, typically on port 25, and initiates the (SMTP) session using the EHLO or HELO command. Once connected, the transmits the using SMTP commands: MAIL FROM specifies the sender, RCPT TO identifies the recipient, and DATA contains the message content, terminated by a single period (.) on a line by itself. The recipient server processes these commands sequentially, confirming each step with a 250 "OK" response if successful. Upon receiving the 250 response to the DATA command, the message is accepted for delivery, completing the transfer. Throughout this process, the sender's queues the message locally to manage the asynchronous nature of delivery, holding it until confirmation of acceptance or during any brief delays. In the event of temporary connectivity issues during the initial attempt to the primary MX host, the performs short-term retries, typically with delays of at least 30 minutes between attempts, before proceeding to higher-preference backups if needed. This queueing and retry mechanism ensures reliable progression toward successful delivery without immediate escalation.

Failure Detection and Response

Mail Transfer Agents (MTAs) detect delivery failures during SMTP transactions involving MX records through -level issues or responses. Common failures include host unreachability due to timeouts, refusals, and SMTP permanent error codes in the 5xx series, such as 550 (mailbox unavailable) or 552 (exceeded allocation). These are distinguished from temporary issues, like 4xx codes (e.g., for temporary rejection), which indicate potential retryability. Detection relies on predefined timeouts per SMTP command, typically ranging from 5 to 30 minutes per attempt, as specified in the ; for instance, a 5-minute limit applies to initial greetings ( response), MAIL FROM, and RCPT TO commands, while 10 minutes is allocated for DATA termination. Upon detecting a , the 's immediate response prioritizes within the framework. For permanent 5xx errors or connection refusals, the switches to the next MX record in preference order without delay, attempting to the subsequent . Temporary 4xx errors or timeouts trigger requeuing of the message, followed by retries using to avoid network overload; this involves initial short delays (e.g., 30 minutes minimum) that double or increase progressively over subsequent attempts, with overall retry periods spanning 4-5 days before final . This mechanism ensures efficient resource use while maximizing chances across multiple MX . For logging and notification, MTAs maintain detailed records of attempts, including the sequence of MX hosts contacted, via trace information in message headers (e.g., Received lines). Permanent failures, after exhausting MX options, result in the generation of a (delivery status notification) sent to the sender's address using a reverse-path; this notification includes specifics on the failed attempts, such as the rejecting host and , to aid diagnostics. Such responses are mandatory for non-delivery to inform users promptly without further retries.

Fallback to Address Records

In the absence of MX records for a domain during a DNS query, sending mail transfer agents () apply a legacy fallback rule specified in RFC 5321: the domain is treated as having an implicit record with a preference value of 0 pointing to the domain itself, prompting the MTA to query the domain's A or records and attempt delivery to the corresponding IP addresses. This mechanism originated from pre-DNS routing practices but persists as a standard behavior in compliant SMTP implementations. This fallback introduces significant risks, as may be routed to unintended hosts, such as web servers identified by the A or AAAA records, which typically lack SMTP services and result in connection refusals, delivery rejections, or prolonged retry attempts that waste sender resources and delay notifications. If the fallback host unexpectedly accepts mail—due to misconfiguration or shared infrastructure—it can lead to security exposures, including unauthorized access to or integration with non-secure systems not designed for mail handling. Consequently, this approach is unreliable and not recommended for contemporary infrastructures, where explicit mail server designation is essential for predictable delivery. Implementation of the fallback varies across MTAs but aligns with RFC compliance. Older systems like Sendmail inherently support it as part of their core resolution logic, reflecting early SMTP designs. In newer MTAs such as Postfix, the behavior is enabled by default to adhere to the standard, though it can be managed through configuration parameters like transport maps to override resolution for specific domains. Deprecation trends favor avoiding reliance on this mechanism, with many administrators configuring MTAs to treat absent MX records as permanent failures rather than falling back. To mitigate these issues, administrators should always provision explicit records directing to dedicated servers, ensuring targeted and secure delivery. For domains intended to reject all incoming , implementing a Null record—with a of 0 and an exchange value of the root (".")—explicitly signals no mail service, preempting the fallback and prompting immediate rejection by compliant MTAs. This practice aligns with modern DNS management to eliminate ambiguity in email routing.

Historical Development

Origins in DNS

The development of MX records emerged in the mid-1980s as part of early extensions to the (DNS) to enable reliable email routing. Introduced in RFC 974, published on January 8, 1986, by Craig Partridge, the specification defined Mail Exchanger () resource records as a means to associate a domain name with one or more hostnames of mail servers, each accompanied by a preference value to guide selection. This approach leveraged the hierarchical structure of DNS, outlined in prior RFCs such as 882 and 883, to replace rigid, hardcoded host configurations in mail systems. The motivations for MX records arose from the expanding and nascent , where traffic grew amid diverse interconnected networks, necessitating flexible delegation of mail handling. Earlier methods, such as direct SMTP connections to specific hosts or the Unix-to-Unix Copy Protocol (), suffered from scalability issues, manual path specifications, and challenges in routing to non-Internet hosts like those on , often resulting in incomplete or looped deliveries. MX records addressed these limitations by permitting queries for mail exchanger lists, supporting multiple backup options via preference ordering, and supplanting experimental (Mail Destination) and (Mail Forwarder) records that had proven unreliable. Initial adoption of records occurred rapidly within DNS implementations, including integration into the Berkeley Internet Name Daemon () resolvers developed at the , which provided foundational support for DNS resource records like following the core DNS specifications in 1035. Their first widespread use took place in academic and military networks, evolving from the ARPANET's infrastructure to handle across research institutions and defense systems. Key figures in this effort included Craig Partridge as the primary author, with contributions from IETF working group precursors involving , designer of the DNS, and , who coordinated early standards; the work was finalized after discussions in late 1985 and presented at the 1986 Summer Conference to promote implementation.

Evolution and Key Changes

The MX record was formally integrated into the core (DNS) specifications through RFC 1035 in November 1987, which defined its syntax, preference values, and role in mail routing as a standard resource record type (RR type 15). This standardization clarified the structure of MX records—consisting of a domain name for the mail exchanger and a 16-bit preference value—and obsoleted the earlier, more informal approach outlined in RFC 974 from January 1986, which had introduced MX as a replacement for obsolete MD and MF records but lacked full DNS protocol integration. By embedding MX within the foundational DNS framework, RFC 1035 enabled consistent implementation across resolvers and mail transfer agents (MTAs), addressing ambiguities in earlier proposals and ensuring MX records triggered appropriate additional section processing for A records. In the 1990s, enhancements to MX handling focused on resolving operational ambiguities, particularly with RFC 2181 in July 1997, which provided clarifications to the DNS specification and explicitly supported multiple MX records with identical preference values to facilitate load distribution among equivalent servers. This update also improved error handling by prohibiting the use of CNAME records as MX targets, preventing alias chaining that could lead to resolution loops or inconsistencies in mail delivery. Building on these refinements, integration with addressing arrived in 2003 via RFC 3596, which introduced records for mapping hostnames to 128-bit addresses; MX records naturally extended to reference hosts with entries, allowing mail exchangers to operate in dual-stack IPv4/IPv6 environments without protocol changes, though adoption required updates to DNS resolvers and MTAs. By the 2000s, the proliferation of prompted adaptations in MX deployment practices, with administrators increasingly configuring backup MX records (higher preference values) to enhance redundancy while mitigating risks of spammers exploiting secondary paths to bypass primary filters. Concurrently, RFC 5321 in October 2008 obsoleted RFC 2821 and updated the (SMTP) specifications, reaffirming the role of MX records in email routing while preserving the fallback to A or records in their absence via an implicit MX mechanism.

Standards and Implementation

Core RFC Specifications

The MX record was first proposed in RFC 974, published in January 1986, which introduced the concept of mail exchangers within the (DNS) to facilitate routing. This document defines MX resource records (RRs) as associating a domain name with a preference value—an unsigned 16-bit integer—and the name of a host acting as a mail exchanger. Lower preference values indicate higher priority, with mailers required to attempt delivery to exchangers in ascending order of preference; if multiple MX RRs share the same preference, they are treated as equals and tried in any order. The lookup sequence specifies that a mailer queries DNS for MX RRs for the destination domain; if none exist, it defaults to an implicit MX with preference 0 pointing to the domain itself. Additionally, local hosts acting as exchangers must discard any MX RRs with equal or higher preference to avoid loops. As excerpted: "The mailer should try to deliver the message to the MXs in order (lowest preference value tried first)." RFC 1035, published in November 1987, formalized the as part of the core DNS protocol specification, assigning it resource record type 15. The wire format consists of a 2-octet field followed by a variable-length for the exchange host, enabling compact representation in DNS messages. Semantically, records specify hosts responsible for accepting mail on behalf of the owner domain, with additional section processing triggered to resolve the exchange host's A records for connectivity. Lower values denote priority among multiple RRs for the same domain, decoupling mail routing from the domain's primary host addresses. This builds directly on RFC 974's proposal, integrating into DNS semantics without altering the preference-based lookup. As stated in section 3.3.9: " RRs play a role in a special domain, the mail routing domain; their use is explained in [RFC-974]." In the context of email delivery protocols, RFC 5321, published in October 2008, mandates the use of MX records in the (SMTP). Section 5.1 requires SMTP clients to perform a DNS lookup for MX records associated with the recipient's before any delivery attempt, resolving to one or more mail exchanger hosts prioritized by preference. If MX records are present, clients must not use A or records directly for that domain unless obtained via the MX chain; failure to locate an MX triggers an implicit fallback to the domain's address records with preference 0. Clients should attempt delivery to at least two MX hosts in preference order, configurable up to a limit, ensuring robust routing. Excerpt: "The lookup first attempts to locate the MX records associated with the name... SMTP MUST NOT utilize any addresses associated with that name [unless] obtained from its MX records." A later extension appears in RFC 7505, published in June 2015, which defines the "null MX" record to signal that a accepts no incoming , thereby preventing unnecessary delivery attempts and bounces. This consists of a single MX RR with preference 0 and a zero-length exchange label (denoted as "."), which SMTP servers interpret as indicating no service availability. Upon encountering a null MX, servers respond immediately with codes such as 550 (5.7.27) or 556 (5.1.10), halting retries and conserving resources for domains like those used solely for outbound mail or non-email services. Domains must publish only this null MX and no other MX RRs to avoid ambiguity. As excerpted: "To indicate that a domain does not accept , it advertises a single MX RR for the domain with the preference number 0 and a zero-length label, written in master files as '.'."

Practical Configuration Examples

Configuring MX records in a DNS zone file allows administrators to specify multiple mail exchangers for redundancy, with preference values determining the order of attempts by sending mail transfer agents (MTAs). For instance, in a zone file for the example.com, the following entries direct first to a primary and fall back to a :
example.com. IN [MX](/page/.mx) 10 primary.mail.example.com.
example.com. IN [MX](/page/.mx) 20 backup.mail.example.com.
Here, the lower preference value (10) prioritizes the primary server, while the higher value (20) serves as the secondary option; both hostnames must be fully qualified domain names (FQDNs) resolvable via A or records. To add MX records using , edit the (e.g., /var/named/.zone), insert the MX entries as shown above, set a (e.g., 3600 seconds for one hour) via the $TTL directive at the file's top, then reload the with rndc reload example.com to apply changes without restarting the server. In Cloudflare's DNS management interface, navigate to the DNS tab for the , click "Add record," select as the type, enter "@" for the name (representing the root ), specify the mail server (e.g., mail.example.com) and preference (e.g., 10), and leave as "Auto" to use Cloudflare's default of 1 hour for . For , log in to the , select the , go to the DNS , click "Add New ," choose from the type dropdown, input the priority (e.g., 10), the mail server (e.g., primary.mail.example.com), and optionally adjust from the default 1 hour to a custom value like 3600 seconds before saving. To verify MX record configuration, use the dig command on Unix-like systems with dig MX example.com, which queries for MX records and displays the returned hostnames and preferences in priority order, or nslookup -type=mx example.com on Windows or other platforms to achieve the same resolution check. Common pitfalls in MX configuration include mismatched or inconsistent preference values across records, which can lead to unpredictable delivery ordering as MTAs sort them independently, potentially causing uneven load balancing; using unqualified hostnames instead of FQDNs, which violates DNS standards and results in resolution failures; and overlooking IPv6 support for dual-stack environments, where the MX hostname lacks an AAAA record, forcing fallback to IPv4 and risking delays or non-delivery if the server prefers IPv6.

References

  1. [1]
    RFC 1035 - Domain names - implementation and specification
    MX records cause type A additional section processing for the host specified by EXCHANGE. The use of MX RRs is explained in detail in [RFC-974]. 3.3.10 ...
  2. [2]
    RFC 974 - Mail routing and the domain system - IETF Datatracker
    The first major principle is derived from the definition of the preference field in MX records, and is intended to prevent mail looping. If the mailer is on a ...
  3. [3]
    What is a DNS MX record? - Cloudflare
    A DNS 'mail exchange' (MX) record directs email to a mail server. The MX record indicates how email messages should be routed in accordance with the Simple ...
  4. [4]
    What is an MX record? | DigiCert FAQ
    MX stands for Mail Exchange. MX records are a type of DNS record used by mail servers to determine where to deliver email.Missing: definition | Show results with:definition
  5. [5]
  6. [6]
    RFC 974: Mail routing and the domain system
    This RFC presents a description of how mail systems on the Internet are expected to route messages based on information from the domain system described in ...
  7. [7]
    RFC 5321: Simple Mail Transfer Protocol
    The lookup first attempts to locate an MX record associated with the name. If a CNAME record is found, the resulting name is processed as if it were the ...
  8. [8]
  9. [9]
  10. [10]
    What Is an MX Record? Definition | Proofpoint US
    A Mail Exchange (MX) record is a specialized DNS record that directs email messages to the appropriate mail servers for a domain. Think of it as a postal ...Missing: authoritative | Show results with:authoritative
  11. [11]
    What is an MX Record? Email Server Configuration - ClouDNS
    Mar 26, 2025 · Priority Values: Use appropriate priority values. Common practice is to use increments of 10 (e.g., 10, 20, 30) to leave room for future ...Missing: preference | Show results with:preference<|control11|><|separator|>
  12. [12]
  13. [13]
    RFC 1794 - DNS Support for Load Balancing - IETF Datatracker
    This RFC is meant to first chronicle a foray into the IETF DNS Working Group, discuss other possible alternatives to provide/simulate load balancing support ...Missing: techniques | Show results with:techniques
  14. [14]
    Backup MX Record: Your Disaster Recovery Plan In ... - DuoCircle
    How Backup MX Record Works? ... The backup MX record comes into play when the primary SMTP server goes offline, and you are unable to receive any incoming emails ...Missing: site | Show results with:site
  15. [15]
    How attackers bypass third-party mail filtering to Office 365
    Nov 17, 2018 · Attackers can bypass your third-party gateway systems delivering spam and malicious content directly into Office 365 with email never going to your MX record.
  16. [16]
    Find The Answer To If One Needs To Worry About Spam in Backup ...
    They cannot bypass the primary server's strict firewalls. Another way through which spammers get inside the backup email servers is by not performing recipient ...
  17. [17]
  18. [18]
  19. [19]
  20. [20]
  21. [21]
  22. [22]
  23. [23]
  24. [24]
  25. [25]
  26. [26]
  27. [27]
  28. [28]
  29. [29]
    [PDF] Potential Email Compromise via Dangling DNS MX
    Jul 25, 2020 · MX record also defines a preference (or priority) value.2. As also further explained in newer RFC 5321 “Simple. Mail Transfer Protocol” from ...
  30. [30]
  31. [31]
    RFC 7505 - A "Null MX" No Service Resource Record for Domains ...
    This document defines the No Service MX, informally called "null MX", as a simple mechanism by which a domain can indicate that it does not accept email.
  32. [32]
    [PDF] The Technical Development of Internet Email
    Partridge, Mail Routing and the Domain System, Internet Request for. Comments No. 974, Jan. 1986. While the RFCs were issued in late January, I recall that ...<|control11|><|separator|>
  33. [33]
    A Brief History of the DNS and BIND
    Although the Domain Name System “officially” began in 1984 with the publication of RFC 920, the core of the new system was described in 1983 in RFC 882 and ...
  34. [34]
    Hobbes' Internet Timeline - the definitive ARPAnet & Internet history
    Mail Exchanger (MX) records developed by Craig Partridge allow non-IP network hosts to have domain addresses. The first in a series of congestion collapses ...
  35. [35]
    RFC 2181 - Clarifications to the DNS Specification - IETF Datatracker
    This document considers some areas that have been identified as problems with the specification of the Domain Name System, and proposes remedies for the ...Missing: enhancements | Show results with:enhancements
  36. [36]
    RFC 3596 - DNS Extensions to Support IP Version 6
    This document defines the changes that need to be made to the Domain Name System (DNS) to support hosts running IP version 6 (IPv6).
  37. [37]
    RFC 7505: A "Null MX" No Service Resource Record for Domains ...
    This document defines the No Service MX, informally called "null MX", as a simple mechanism by which a domain can indicate that it does not accept email.Missing: summary | Show results with:summary
  38. [38]
    19.3.2. Zone File Resource Records | Red Hat Enterprise Linux | 5
    This system is the target for all non-FQDN requests. Consider the following A record examples for the example.com zone file: ... IN MX 10 mail.example.com. IN MX ...
  39. [39]
    Chapter 4. Setting up and configuring a BIND DNS server
    Sets mail.example.com as the mail exchanger ( MX ) of the example.com domain. The numeric value in front of the host name is the priority of the record. Entries ...
  40. [40]
    8. Configuration Reference — BIND 9 9.20.13 documentation
    Sets the response to MX records that refer to CNAMEs. If check-integrity is set, named fails, warns, or ignores MX records that refer to CNAMEs. The default ...
  41. [41]
    Set up email records · Cloudflare DNS docs
    Jan 10, 2025 · Add an MX record that points to that subdomain. Type, Name, Mail server, TTL. MX, @, mail.example.com, Auto ...Vendor-specific DNS recordsEmail issues
  42. [42]
    MX Lookup
    MX records publish mail server locations. On Windows, use `nslookup -q=mx example.com`. On Mac/Linux, use `dig example.com mx`.
  43. [43]
    How to Check MX Records Using the DIG Command - LinuxConfig
    Apr 29, 2024 · Learn how to use the DIG command to query MX records. Customize your DNS queries and troubleshoot effectively with various options.