{"id":1152,"date":"2021-04-07T13:58:07","date_gmt":"2021-04-07T10:58:07","guid":{"rendered":"https:\/\/www.scalahosting.com\/kb\/?p=1152"},"modified":"2022-10-12T10:54:32","modified_gmt":"2022-10-12T07:54:32","slug":"dns-records-explained","status":"publish","type":"post","link":"https:\/\/www.scalahosting.com\/kb\/dns-records-explained\/","title":{"rendered":"DNS Records Explained"},"content":{"rendered":"<p><span style=\"font-weight: 400;\">Whenever you want to access a website on the internet, <\/span><b>the Domain Name System<\/b> <i><span style=\"font-weight: 400;\">(DNS)<\/span><\/i> <b>makes sure you don\u2019t end up with the wrong thing.&nbsp;<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The DNS keeps a directory that lets it match IP addresses to corresponding domain names stored in its database. This database holds tons of updated DNS records and text files associated with handling a domain request.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">In this article, we\u2019ll explore <\/span><b>DNS Servers, DNS Records, and how they operate.&nbsp;<\/b><\/p>\n<h2><b>What are DNS Records?<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">Think of DNS records as an archive for domains. <\/span><span style=\"font-weight: 400;\">The archive has authoritative instruction on domain locations<\/span><b>, type of content hosted on the domain server, how to access it, and when it&#8217;ll expire<\/b><span style=\"font-weight: 400;\">.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">The DNS records effectively command DNS servers on what to do. All domains have essential DNS records hosted on <\/span><b>DNS nameservers that enable users to access their sites.<\/b><\/p>\n<p><b>What are Nameservers?<\/b><\/p>\n<p><span style=\"font-weight: 400;\">A nameserver is another name for <\/span><b>a DNS server.<\/b><span style=\"font-weight: 400;\"> It houses an enormous archive, albeit decentralized, of domain names and matching IP addresses.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">The nameserver is the backbone of the modern-day internet and is responsible for telling your computer what to do when you&#8217;re sending an email or looking up stuff on the web.&nbsp;<\/span><\/p>\n<p><span style=\"font-weight: 400;\">When you look up a website, the <\/span><b>DNS resolver<\/b> <i><span style=\"font-weight: 400;\">(which is also a DNS server) <\/span><\/i><span style=\"font-weight: 400;\">attempts to resolve the query by accessing DNS records at the top-level domains such <\/span><b>as .com or .org<\/b><span style=\"font-weight: 400;\">, located at the <\/span><b>DNS root server<\/b><span style=\"font-weight: 400;\">.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">It requests specific information on a hostname <\/span><i><span style=\"font-weight: 400;\">(website)<\/span><\/i><span style=\"font-weight: 400;\"> query from a higher-level authoritative nameserver. The<\/span><b> nameserver query process <\/b><span style=\"font-weight: 400;\">ends when the nameserver returns the correct information on the IP address to the DNS client <\/span><i><span style=\"font-weight: 400;\">(your browser ).<\/span><\/i><\/p>\n<h2><b>How Does a DNS Server Work?&nbsp;<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">The idea behind <\/span><b>DNS is an accessible <span data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;phone book&quot;}\" data-sheets-userformat=\"{&quot;2&quot;:636,&quot;5&quot;:{&quot;1&quot;:[{&quot;1&quot;:2,&quot;2&quot;:0,&quot;5&quot;:{&quot;1&quot;:2,&quot;2&quot;:0}},{&quot;1&quot;:0,&quot;2&quot;:0,&quot;3&quot;:3},{&quot;1&quot;:1,&quot;2&quot;:0,&quot;4&quot;:1}]},&quot;6&quot;:{&quot;1&quot;:[{&quot;1&quot;:2,&quot;2&quot;:0,&quot;5&quot;:{&quot;1&quot;:2,&quot;2&quot;:0}},{&quot;1&quot;:0,&quot;2&quot;:0,&quot;3&quot;:3},{&quot;1&quot;:1,&quot;2&quot;:0,&quot;4&quot;:1}]},&quot;7&quot;:{&quot;1&quot;:[{&quot;1&quot;:2,&quot;2&quot;:0,&quot;5&quot;:{&quot;1&quot;:2,&quot;2&quot;:0}},{&quot;1&quot;:0,&quot;2&quot;:0,&quot;3&quot;:3},{&quot;1&quot;:1,&quot;2&quot;:0,&quot;4&quot;:1}]},&quot;8&quot;:{&quot;1&quot;:[{&quot;1&quot;:2,&quot;2&quot;:0,&quot;5&quot;:{&quot;1&quot;:2,&quot;2&quot;:0}},{&quot;1&quot;:0,&quot;2&quot;:0,&quot;3&quot;:3},{&quot;1&quot;:1,&quot;2&quot;:0,&quot;4&quot;:1}]},&quot;9&quot;:0,&quot;12&quot;:0}\">phone book<\/span> for the internet<\/b><span style=\"font-weight: 400;\">. Computers on the web access the site you\u2019re trying to reach by sending a request to this <span data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;phone book&quot;}\" data-sheets-userformat=\"{&quot;2&quot;:636,&quot;5&quot;:{&quot;1&quot;:[{&quot;1&quot;:2,&quot;2&quot;:0,&quot;5&quot;:{&quot;1&quot;:2,&quot;2&quot;:0}},{&quot;1&quot;:0,&quot;2&quot;:0,&quot;3&quot;:3},{&quot;1&quot;:1,&quot;2&quot;:0,&quot;4&quot;:1}]},&quot;6&quot;:{&quot;1&quot;:[{&quot;1&quot;:2,&quot;2&quot;:0,&quot;5&quot;:{&quot;1&quot;:2,&quot;2&quot;:0}},{&quot;1&quot;:0,&quot;2&quot;:0,&quot;3&quot;:3},{&quot;1&quot;:1,&quot;2&quot;:0,&quot;4&quot;:1}]},&quot;7&quot;:{&quot;1&quot;:[{&quot;1&quot;:2,&quot;2&quot;:0,&quot;5&quot;:{&quot;1&quot;:2,&quot;2&quot;:0}},{&quot;1&quot;:0,&quot;2&quot;:0,&quot;3&quot;:3},{&quot;1&quot;:1,&quot;2&quot;:0,&quot;4&quot;:1}]},&quot;8&quot;:{&quot;1&quot;:[{&quot;1&quot;:2,&quot;2&quot;:0,&quot;5&quot;:{&quot;1&quot;:2,&quot;2&quot;:0}},{&quot;1&quot;:0,&quot;2&quot;:0,&quot;3&quot;:3},{&quot;1&quot;:1,&quot;2&quot;:0,&quot;4&quot;:1}]},&quot;9&quot;:0,&quot;12&quot;:0}\">phone book<\/span>, which receives and answers your query with corresponding feedback.&nbsp;<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Like how you dial and connect a number from your <span data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;phone book&quot;}\" data-sheets-userformat=\"{&quot;2&quot;:636,&quot;5&quot;:{&quot;1&quot;:[{&quot;1&quot;:2,&quot;2&quot;:0,&quot;5&quot;:{&quot;1&quot;:2,&quot;2&quot;:0}},{&quot;1&quot;:0,&quot;2&quot;:0,&quot;3&quot;:3},{&quot;1&quot;:1,&quot;2&quot;:0,&quot;4&quot;:1}]},&quot;6&quot;:{&quot;1&quot;:[{&quot;1&quot;:2,&quot;2&quot;:0,&quot;5&quot;:{&quot;1&quot;:2,&quot;2&quot;:0}},{&quot;1&quot;:0,&quot;2&quot;:0,&quot;3&quot;:3},{&quot;1&quot;:1,&quot;2&quot;:0,&quot;4&quot;:1}]},&quot;7&quot;:{&quot;1&quot;:[{&quot;1&quot;:2,&quot;2&quot;:0,&quot;5&quot;:{&quot;1&quot;:2,&quot;2&quot;:0}},{&quot;1&quot;:0,&quot;2&quot;:0,&quot;3&quot;:3},{&quot;1&quot;:1,&quot;2&quot;:0,&quot;4&quot;:1}]},&quot;8&quot;:{&quot;1&quot;:[{&quot;1&quot;:2,&quot;2&quot;:0,&quot;5&quot;:{&quot;1&quot;:2,&quot;2&quot;:0}},{&quot;1&quot;:0,&quot;2&quot;:0,&quot;3&quot;:3},{&quot;1&quot;:1,&quot;2&quot;:0,&quot;4&quot;:1}]},&quot;9&quot;:0,&quot;12&quot;:0}\">phone book<\/span>, <\/span><b>DNS connects with this internet directory through a DNS server<\/b><span style=\"font-weight: 400;\">. The DNS Server keeps information records that resolve domain names to corresponding<\/span> <a href=\"https:\/\/www.scalahosting.com\/blog\/what-is-my-ip\/\"><b>IP addresses<\/b><\/a><b>.<\/b><\/p>\n<p><span style=\"font-weight: 400;\">For instance, you&#8217;re more likely to remember www.scalahosting.com than you would a string of numeric characters. When you assess ScalaHosting, your browser performs a DNS query via a DNS server to get this<\/span><b> IP address &#8211; 173.237.190.136 <\/b><span style=\"font-weight: 400;\">&#8211;<\/span><i><span style=\"font-weight: 400;\"> your browser connects.<\/span><\/i><\/p>\n<p><span style=\"font-weight: 400;\">A DNS server resolves three types of queries.<\/span><\/p>\n<h3><b>Recursive Query<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">In this query, the <\/span><b>DNS Resolver resolves a hostname request from a DNS client<\/b><span style=\"font-weight: 400;\">.&nbsp; The resolver starts by accessing records at the DNS root server till it finds <\/span><b>an Authoritative nameserver<\/b><span style=\"font-weight: 400;\"> with relevant records on the IP address and other information on the hostname.&nbsp;<\/span><\/p>\n<p><span style=\"font-weight: 400;\">If the resolver doesn&#8217;t find any relevant information on the hostname, it comes back with an error message.<\/span><\/p>\n<p><b>Non-recursive Query<\/b><\/p>\n<p><span style=\"font-weight: 400;\">For a non-recursive query, the DNS Resolver already has partial or complete information on the hostname query stored in its local cache.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">At this instance, the resolver returns a relevant DNS record to the DNS client or queries an Authoritative nameserver directly for complete DNS records.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">In both cases, the DNS resolver has information on<\/span><b> the hostname&#8217;s IP address <\/b><span style=\"font-weight: 400;\">and does not need to run extra queries.<\/span><\/p>\n<h3><b>Iterative Query<\/b><b>&nbsp;<\/b><\/h3>\n<p><b>The DNS resolver resolves the hostname query via many requests<\/b><span style=\"font-weight: 400;\"> to multiple nameservers to return the best answers in the iterative query.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">This happens when the resolver has no access to relevant records or can&#8217;t find it in its cache.&nbsp;<\/span><\/p>\n<p><span style=\"font-weight: 400;\">To solve this, it refers the DNS client to another Authoritative Nameserver or Domain Root Server at the required DNS zone.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Then, the DNS client repeats the entire query process against the new DNS server the resolver referred it to.&nbsp;<\/span><\/p>\n<h2><b>Types of DNS Records<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">When you register a domain from ScalaHosting, we host and manage that domain\u2019s DNS records on our servers. The DNS servers edit,<\/span><b> delete or create records for the<\/b><a href=\"https:\/\/www.scalahosting.com\/blog\/domain-names-parking-and-selling\/\"><b> domain <\/b><\/a><b>assigned to it.<\/b><\/p>\n<p><span style=\"font-weight: 400;\">Because of this, we offer a way to manage some of your domain records without the technicalities involved. We\u2019ve listed some of the common and less-common DNS records below.<\/span><\/p>\n<h3><b>Common Types of DNS Records<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">These records provide relevant information about a domain or hostname and its corresponding IP address.<\/span><\/p>\n<h4><b>A Record<\/b><\/h4>\n<p><span style=\"font-weight: 400;\">The A Record is an Address Mapping Record. It stores the IPv4 address of a domain.&nbsp;<\/span><\/p>\n<p><span style=\"font-weight: 400;\">The A records also operate a DNS-based Blackhole List (DNSBL). This list helps email servers weed out and block messages from known spammer domains.<\/span><\/p>\n<h4><b>CNAME Record<\/b><\/h4>\n<p><span style=\"font-weight: 400;\">The Canonical Name (CNAME) Record forwards one domain to another domain through an alias.&nbsp;<\/span><\/p>\n<p><b>Domains use the CNAME records in the absence of an A record<\/b><span style=\"font-weight: 400;\">. Because of this, all CNAME records point to another domain, not an IP address.<\/span><\/p>\n<h4><b>CERT Resource Record<\/b><\/h4>\n<p><span style=\"font-weight: 400;\">The Certificate record keeps encryption certificates like:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">PKIX<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">PGP<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">SPKI.<\/span><\/li>\n<\/ul>\n<h4><b>PTR Record<\/b><\/h4>\n<p><span style=\"font-weight: 400;\">This record is <\/span><b>a DNS Reverse-lookup Pointer. <\/b><span style=\"font-weight: 400;\">It enables a resolver to provide an IP address and get a hostname as feedback.<\/span><\/p>\n<h4><b>TXT Record<\/b><\/h4>\n<p><span style=\"font-weight: 400;\">The DNS Text record lets a domain administrator store human-readable texts in the DNS.<\/span><\/p>\n<h4><b>MX Record<\/b><\/h4>\n<p><span style=\"font-weight: 400;\">The Mail Exchanger (MX) Record directs outbound mail via an SMTP server to a mail server.<\/span><\/p>\n<h4><b>Less-Common Types of DNS Records<\/b><\/h4>\n<p><span style=\"font-weight: 400;\">We&#8217;ve listed some DNS records responsible for other functions not directly associated with a <\/span><b>hostname and IP address.<\/b><\/p>\n<h4><b>NSEC Record<\/b><\/h4>\n<p><span style=\"font-weight: 400;\">The Next Secure Record proves that a DNSSEC record is unavailable.<\/span><\/p>\n<h4><b>DNSKEY Record<\/b><\/h4>\n<p><span style=\"font-weight: 400;\">This record verifies <\/span><b>Domain Name System Security Extension<\/b> <i><span style=\"font-weight: 400;\">(DNSSEC<\/span><\/i><span style=\"font-weight: 400;\">) <\/span><b>signatures <\/b><span style=\"font-weight: 400;\">through a public key.<\/span><\/p>\n<h4><b>DNAME Record<\/b><\/h4>\n<p><span style=\"font-weight: 400;\">The Delegation Name Record is similar to the CNAME Record but reroutes subdomains as well.<\/span><\/p>\n<h2><b>Final Thoughts<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">DNS records have other functions that enable users to view your website on the internet.&nbsp;<\/span><\/p>\n<p><span style=\"font-weight: 400;\">While free DNS service providers might host your domain with limited firewall protection, <\/span><b>ScalaHosting guarantees 100 percent uptime, a robust firewall, and a fully managed website<\/b><span style=\"font-weight: 400;\"> that caters to all your business needs.<\/span><\/p>\n\n\n<p class=\"youtube-player\" id=\"qwGE9xz5eb8\">How To Point a Domain Name To a Web Hosting Provider<\/p>\n\n\n\n<script type=\"application\/ld+json\">\n    {\n        \"@context\": \"https:\/\/schema.org\",\n        \"@type\": \"VideoObject\",\n        \"name\": \"How To Point a Domain Name To a Web Hosting Provider\",\n        \"description\": \"You can actually buy web hosting and domain name from different providers and just link these two things together. In this video we'll show you exactly how.\",\n        \"thumbnailUrl\": [\n            \"https:\/\/i3.ytimg.com\/vi\/qwGE9xz5eb8\/maxresdefault.jpg\"\n        ],\n        \"uploadDate\": \"2022-04-11\",\n        \"duration\": \"PT3M45S\",\n        \"embedUrl\": \"https:\/\/www.youtube.com\/watch?v=qwGE9xz5eb8\"\n    }\n<\/script>\n","protected":false},"excerpt":{"rendered":"<p>Whenever you want to access a website on the internet, the Domain Name System (DNS) makes sure you don\u2019t end up with the wrong thing.&nbsp; The DNS keeps a directory that lets it match IP addresses to corresponding domain names stored in its database. This database holds tons of updated DNS records and text files [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_seopress_robots_primary_cat":"none","_seopress_titles_title":"","_seopress_titles_desc":"","_seopress_robots_index":"","_seopress_analysis_target_kw":"","footnotes":""},"categories":[22],"tags":[],"class_list":["post-1152","post","type-post","status-publish","format-standard","hentry","category-dns"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/posts\/1152","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/comments?post=1152"}],"version-history":[{"count":5,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/posts\/1152\/revisions"}],"predecessor-version":[{"id":5179,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/posts\/1152\/revisions\/5179"}],"wp:attachment":[{"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/media?parent=1152"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/categories?post=1152"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/tags?post=1152"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}