{"id":18371,"date":"2026-09-29T21:06:34","date_gmt":"2026-09-29T18:06:34","guid":{"rendered":"https:\/\/www.hyyat.com\/knowledgebase\/dns-records-explained\/"},"modified":"2026-09-29T21:06:34","modified_gmt":"2026-09-29T18:06:34","password":"","slug":"dns-records-explained","status":"publish","type":"docs","link":"https:\/\/www.hyyat.com\/en\/knowledgebase\/dns-records-explained\/","title":{"rendered":"DNS Records Explained: A, CNAME, MX, NS and TXT"},"content":{"rendered":"<div class=\"hy-tldr\" style=\"background:#f6f7fb;border-left:4px solid #d83954;border-radius:10px;padding:14px 18px;margin:0 0 20px;line-height:1.8\"><strong>In short:<\/strong> DNS records connect your domain to its services: an A record points the domain to your server&#8217;s IP, CNAME creates an alias such as www or a subdomain, MX sets your email server, NS sets the nameservers responsible for the domain, and TXT holds text such as SPF. You edit them in the Zone Editor in cPanel.<\/div>\n<p><img decoding=\"async\" src=\"https:\/\/www.hyyat.com\/zasogooh\/2019\/06\/DNS.jpg\" alt=\"DNS records explained\" \/><\/p>\n<h2>What is DNS?<\/h2>\n<p>DNS (Domain Name System) is a distributed database on the internet that stores information about domain names, most importantly the IP address each domain points to. In other words, it translates names into the numbers (IP addresses) computers use. See also <a href=\"https:\/\/www.hyyat.com\/en\/knowledgebase\/what-is-a-domain-name\/\">what a domain name is<\/a>.<\/p>\n<h2>The main DNS records<\/h2>\n<p><strong>A record:<\/strong> points your domain name to the IP address of the server that hosts your website.<\/p>\n<p><strong>NS record:<\/strong> sets the nameservers responsible for your domain&#8217;s DNS.<\/p>\n<p><strong>CNAME record:<\/strong> creates an alias for a name. For example, if example.com hosts your website, you can point web.example.com to it with a CNAME.<\/p>\n<p><strong>MX record:<\/strong> routes your email by pointing to your mail server, for example mail.example.com.<\/p>\n<p><strong>TXT record:<\/strong> stores text information, commonly SPF records that stop others from sending fake email that looks like it comes from you, as well as DKIM, DMARC and domain verification records.<\/p>\n<p><strong>URL redirect record:<\/strong> some DNS providers offer this to forward a domain to another website.<\/p>\n<p>Moving your domain or hosting? See <a href=\"https:\/\/www.hyyat.com\/en\/knowledgebase\/migrate-dns-without-downtime\/\">how to migrate DNS without downtime<\/a>.<\/p>\n<p class=\"hy-svc-link\" style=\"background:#fff5f7;border-left:4px solid #d83954;border-radius:10px;padding:14px 18px;margin:20px 0;line-height:1.8\"><strong>Related service:<\/strong> <a href=\"https:\/\/www.hyyat.com\/en\/domains\/\">Register your domain with Hyyat Host<\/a> and manage all its DNS records from one control panel.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In short: DNS records connect your domain to its services: an A record points the domain to your server&#8217;s IP, CNAME creates an alias such as www or a subdomain, MX sets your email server, NS sets the nameservers responsible for the domain, and TXT holds text such as SPF. You edit them in the [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"_eb_attr":"","inline_featured_image":false,"wprm-recipe-roundup-name":"","wprm-recipe-roundup-description":"","_templately_pack_id":"","_templately_imported_at":"","_templately_source":"","_templately_import_session_id":"","footnotes":""},"doc_category":[2227],"doc_tag":[],"class_list":["post-18371","docs","type-docs","status-publish","hentry","doc_category-2227"],"year_month":"2026-09","word_count":257,"total_views":0,"reactions":{"happy":0,"normal":0,"sad":0},"author_info":{"name":"ahmed fathy","author_nicename":"ahmed-fathy","author_url":"https:\/\/www.hyyat.com\/en\/author\/ahmed-fathy\/"},"doc_category_info":[{"term_name":"\u0646\u0637\u0627\u0642\u0627\u062a \u0627\u0644\u0623\u0646\u062a\u0631\u0646\u062a","term_url":"https:\/\/www.hyyat.com\/kb\/%d9%86%d8%b7%d8%a7%d9%82%d8%a7%d8%aa-%d8%a7%d9%84%d8%a3%d9%86%d8%aa%d8%b1%d9%86%d8%aa\/"}],"doc_tag_info":[],"knowledge_base_info":[],"knowledge_base_slug":[],"_links":{"self":[{"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/docs\/18371","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/comments?post=18371"}],"version-history":[{"count":0,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/docs\/18371\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/media?parent=18371"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/doc_category?post=18371"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/doc_tag?post=18371"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}