{"id":505,"date":"2024-06-13T18:37:26","date_gmt":"2024-06-13T18:37:26","guid":{"rendered":"https:\/\/www.salemwebhosting.in\/articles\/?p=505"},"modified":"2024-06-24T10:24:30","modified_gmt":"2024-06-24T10:24:30","slug":"mx-records","status":"publish","type":"post","link":"https:\/\/www.salemwebhosting.in\/articles\/mx-records\/","title":{"rendered":"What are MX records and How to Create an MX Record in DNS"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\" id=\"what-are-mx-records\">What are MX records?<\/h2>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"360\" src=\"https:\/\/www.salemwebhosting.in\/articles\/wp-content\/uploads\/2024\/06\/32b7a1_b004f62ba9ce49b1befd3a78c1b356b7mv2.webp\" alt=\"MX records\" class=\"wp-image-524\" style=\"width:494px;height:auto\" srcset=\"https:\/\/www.salemwebhosting.in\/articles\/wp-content\/uploads\/2024\/06\/32b7a1_b004f62ba9ce49b1befd3a78c1b356b7mv2.webp 640w, https:\/\/www.salemwebhosting.in\/articles\/wp-content\/uploads\/2024\/06\/32b7a1_b004f62ba9ce49b1befd3a78c1b356b7mv2-300x169.webp 300w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/figure>\n<\/div>\n\n\n<p>MX (Mail Exchange) records are DNS (Domain Name System) records that specify the mail servers authorized to receive email on behalf of a domain. They are used to route incoming email to the correct mail server. MX records include a priority value, which determines the order in which mail servers should be used if multiple servers are specified. The record ensures reliable and efficient email delivery by directing email traffic to the designated servers based on their priority.<\/p>\n\n\n\n<div class=\"wp-block-rank-math-toc-block\" id=\"rank-math-toc\"><h2>Table of Contents<\/h2><nav><ul><li><a href=\"#what-are-mx-records\">What are MX records?<\/a><\/li><li><a href=\"#how-to-create-an-mx-record-in-dns\">How to Create an MX Record in DNS<\/a><ul><li><a href=\"#step-by-step-guide-to-creating-an-mx-record\">Step-by-Step Guide to Creating an MX Record<\/a><\/li><li><a href=\"#example\">Example<\/a><\/li><li><a href=\"#verify-the-mx-record\">Verify the MX Record<\/a><\/li><li><a href=\"#notes\">Notes<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"how-to-create-an-mx-record-in-dns\">How to Create an MX Record in DNS<\/h2>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"623\" height=\"340\" src=\"https:\/\/www.salemwebhosting.in\/articles\/wp-content\/uploads\/2024\/06\/image-9.png\" alt=\"\" class=\"wp-image-525\" style=\"width:535px;height:auto\" srcset=\"https:\/\/www.salemwebhosting.in\/articles\/wp-content\/uploads\/2024\/06\/image-9.png 623w, https:\/\/www.salemwebhosting.in\/articles\/wp-content\/uploads\/2024\/06\/image-9-300x164.png 300w\" sizes=\"auto, (max-width: 623px) 100vw, 623px\" \/><\/figure>\n<\/div>\n\n\n<p>Creating an MX (Mail Exchange) record in DNS involves accessing your domain&#8217;s DNS management settings and adding the necessary details. Here&#8217;s a step-by-step guide to help you through the process:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"step-by-step-guide-to-creating-an-mx-record\">Step-by-Step Guide to Creating an MX Record<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Log In to Your DNS Management Interface<\/strong>:\n<ul class=\"wp-block-list\">\n<li>Visit your domain registrar or DNS <a href=\"http:\/\/www.salemwebhosting.in\">hosting<\/a> provider\u2019s website.<\/li>\n\n\n\n<li>Log in with your account credentials.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Navigate to the DNS Management Section<\/strong>:\n<ul class=\"wp-block-list\">\n<li>Look for a section labeled \u201cDNS Management,\u201d \u201cDNS Settings,\u201d or something similar.<\/li>\n\n\n\n<li>Select the domain for which you want to create the MX record if you have multiple domains.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Add an MX Record<\/strong>:\n<ul class=\"wp-block-list\">\n<li>Look for an option to add a new record. This might be labeled \u201cAdd Record,\u201d \u201cAdd MX Record,\u201d or similar.<\/li>\n\n\n\n<li>Choose \u201cMX\u201d from the list of record types.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Enter the Details for the MX Record<\/strong>:\n<ul class=\"wp-block-list\">\n<li><strong>Name\/Host<\/strong>: This is often left blank or set to &#8220;@&#8221; to represent the root domain, but it can also be a specific subdomain if you want to set up MX records for a subdomain.<\/li>\n\n\n\n<li><strong>Priority<\/strong>: Enter the priority value for the mail server. Lower numbers indicate higher priority.<\/li>\n\n\n\n<li><strong>Mail Server\/Value<\/strong>: Enter the fully qualified domain name (FQDN) of the mail server (e.g., <code>mail.example.com<\/code>).<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Set the TTL (Time to Live)<\/strong>:\n<ul class=\"wp-block-list\">\n<li>TTL specifies how long the record should be cached by DNS resolvers. Common values are 300 seconds (5 minutes), 3600 seconds (1 hour), or 86400 seconds (24 hours).<\/li>\n\n\n\n<li>Enter the desired TTL value. If there\u2019s a default, you can usually leave it as is unless you have a specific reason to change it.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Save the Record<\/strong>:\n<ul class=\"wp-block-list\">\n<li>Review the information you have entered.<\/li>\n\n\n\n<li>Click \u201cSave,\u201d \u201cAdd Record,\u201d or the equivalent button to save your new MX record.<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"example\">Example<\/h3>\n\n\n\n<p>Here\u2019s an example of what the fields might look like:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Type<\/strong>: MX<\/li>\n\n\n\n<li><strong>Name<\/strong>: @ (or leave blank for root domain)<\/li>\n\n\n\n<li><strong>Priority<\/strong>: 10<\/li>\n\n\n\n<li><strong>Mail Server<\/strong>: mail.example.com<\/li>\n\n\n\n<li><strong>TTL<\/strong>: 3600<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"verify-the-mx-record\">Verify the MX Record<\/h3>\n\n\n\n<p>After adding the MX record, it\u2019s important to verify that it has been correctly added and propagated. You can use tools like:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Online DNS tools<\/strong>: Websites like MXToolbox (https:\/\/mxtoolbox.com\/) allow you to check MX records.<\/li>\n\n\n\n<li><strong>Command Line<\/strong>: Use the <code>dig<\/code> or <code>nslookup<\/code> command to query the MX records for your domain.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"882\" height=\"49\" src=\"https:\/\/www.salemwebhosting.in\/articles\/wp-content\/uploads\/2024\/06\/image-7.png\" alt=\"\" class=\"wp-image-522\" srcset=\"https:\/\/www.salemwebhosting.in\/articles\/wp-content\/uploads\/2024\/06\/image-7.png 882w, https:\/\/www.salemwebhosting.in\/articles\/wp-content\/uploads\/2024\/06\/image-7-300x17.png 300w, https:\/\/www.salemwebhosting.in\/articles\/wp-content\/uploads\/2024\/06\/image-7-768x43.png 768w\" sizes=\"auto, (max-width: 882px) 100vw, 882px\" \/><\/figure>\n\n\n\n<p>or<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"846\" height=\"45\" src=\"https:\/\/www.salemwebhosting.in\/articles\/wp-content\/uploads\/2024\/06\/image-8.png\" alt=\"\" class=\"wp-image-523\" srcset=\"https:\/\/www.salemwebhosting.in\/articles\/wp-content\/uploads\/2024\/06\/image-8.png 846w, https:\/\/www.salemwebhosting.in\/articles\/wp-content\/uploads\/2024\/06\/image-8-300x16.png 300w, https:\/\/www.salemwebhosting.in\/articles\/wp-content\/uploads\/2024\/06\/image-8-768x41.png 768w, https:\/\/www.salemwebhosting.in\/articles\/wp-content\/uploads\/2024\/06\/image-8-820x45.png 820w\" sizes=\"auto, (max-width: 846px) 100vw, 846px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"notes\">Notes<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Propagation Time<\/strong>: DNS changes can take some time to propagate. This can range from a few minutes to up to 48 hours, depending on the TTL value and other factors.<\/li>\n\n\n\n<li><strong>Multiple MX Records<\/strong>: If you have multiple mail servers for redundancy, repeat the steps to add additional MX records with different priorities.<\/li>\n<\/ul>\n\n\n\n<p>By following these steps, you can create MX records to ensure that your domain can properly receive email.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>What are MX records? MX (Mail Exchange) records are DNS (Domain Name System) records that specify the mail servers authorized to receive email on behalf of a domain. They are used to route incoming email to the correct mail server. MX records include a priority value, which determines the order in which mail servers should&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[35],"tags":[],"class_list":["post-505","post","type-post","status-publish","format-standard","hentry","category-what-are-mx-records"],"_links":{"self":[{"href":"https:\/\/www.salemwebhosting.in\/articles\/wp-json\/wp\/v2\/posts\/505","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.salemwebhosting.in\/articles\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.salemwebhosting.in\/articles\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.salemwebhosting.in\/articles\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.salemwebhosting.in\/articles\/wp-json\/wp\/v2\/comments?post=505"}],"version-history":[{"count":3,"href":"https:\/\/www.salemwebhosting.in\/articles\/wp-json\/wp\/v2\/posts\/505\/revisions"}],"predecessor-version":[{"id":528,"href":"https:\/\/www.salemwebhosting.in\/articles\/wp-json\/wp\/v2\/posts\/505\/revisions\/528"}],"wp:attachment":[{"href":"https:\/\/www.salemwebhosting.in\/articles\/wp-json\/wp\/v2\/media?parent=505"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.salemwebhosting.in\/articles\/wp-json\/wp\/v2\/categories?post=505"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.salemwebhosting.in\/articles\/wp-json\/wp\/v2\/tags?post=505"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}