{"id":2847,"date":"2021-10-20T03:26:54","date_gmt":"2021-10-20T03:26:54","guid":{"rendered":"http:\/\/nestnepalblog.bhawesh.me\/?p=2847"},"modified":"2025-09-23T11:15:03","modified_gmt":"2025-09-23T05:30:03","slug":"what-is-dns-and-why-you-should-use-it","status":"publish","type":"post","link":"https:\/\/nestnepal.com\/blog\/what-is-dns-and-why-you-should-use-it\/","title":{"rendered":"What is DNS and Why you NEED to use it ?"},"content":{"rendered":"<p><img decoding=\"async\" class=\"alignleft lazyload\" data-src=\"https:\/\/www.elegantthemes.com\/blog\/wp-content\/uploads\/2018\/03\/what-is-dns.png\" alt=\" Introduction to the Domain Name System (DNS)\" width=\"291\" height=\"133\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 291px; --smush-placeholder-aspect-ratio: 291\/133;\" \/><\/p>\n<pre><strong>Did you know it is impossible to view website without DNS? [Unless you have an idedic memory to remember a long IP]<\/strong><\/pre>\n<h2>What Domain Name System?<\/h2>\n<p>The Domain Name System is a global archive where the internet domain names are placed and translated into Internet Protocol addresses. The DNS will map the domain people use to view the website to the computer&#8217;s IP to locate the website.<\/p>\n<p><img decoding=\"async\" class=\"rg_i Q4LuWd alignright\" src=\"https:\/\/encrypted-tbn0.gstatic.com\/images?q=tbn:ANd9GcSaVScQsz7TauuYQfXuF6kh7R41Yx9tJDMkmw&amp;usqp=CAU\" alt=\"DNS-Server \" width=\"300\" height=\"169\" data-ils=\"4\" \/>In simple terms, DNS will translate hostnames to IP addresses and vice versa.<\/p>\n<p>We can compare the concept of DNS with the Roll number of a student to the student&#8217;s actual name. So, what the Domain Name System does is locate the IP Address to display the website. Similarly, You can sometimes access the website with its IP Address if you don&#8217;t have the domain name.<\/p>\n<h2>Parts of a Domain<\/h2>\n<p>A domain name is made up in order of two or more segments. Each part or component is separated by a period. The format is the same as the host section of a URL. The first part is unique to the host, with each following piece charting the host in the domain name hierarchy.<\/p>\n<h2>Servers that are called for while loading a Webpage:<\/h2>\n<ul>\n<li>Authoritative Nameserver<\/li>\n<li>Recursive (Caching) Server<\/li>\n<li>TLD Nameserver<\/li>\n<li>Root Nameserver<\/li>\n<\/ul>\n<p><a href=\"https:\/\/nestnepal.com\/blog\/wp-content\/uploads\/2021\/10\/Your-paragraph-text.png\"><img decoding=\"async\" class=\"alignnone wp-image-3003 lazyload\" data-src=\"https:\/\/blog.nestnepal.com\/wp-content\/uploads\/2021\/10\/Your-paragraph-text-300x157.png\" alt=\"Internet country code\" width=\"791\" height=\"414\" data-srcset=\"https:\/\/nestnepal.com\/blog\/wp-content\/uploads\/2021\/10\/Your-paragraph-text-300x157.png 300w, https:\/\/nestnepal.com\/blog\/wp-content\/uploads\/2021\/10\/Your-paragraph-text-380x199.png 380w, https:\/\/nestnepal.com\/blog\/wp-content\/uploads\/2021\/10\/Your-paragraph-text-550x288.png 550w, https:\/\/nestnepal.com\/blog\/wp-content\/uploads\/2021\/10\/Your-paragraph-text-800x419.png 800w, https:\/\/nestnepal.com\/blog\/wp-content\/uploads\/2021\/10\/Your-paragraph-text-1160x607.png 1160w, https:\/\/nestnepal.com\/blog\/wp-content\/uploads\/2021\/10\/Your-paragraph-text-768x402.png 768w, https:\/\/nestnepal.com\/blog\/wp-content\/uploads\/2021\/10\/Your-paragraph-text-1024x536.png 1024w, https:\/\/nestnepal.com\/blog\/wp-content\/uploads\/2021\/10\/Your-paragraph-text-600x314.png 600w, https:\/\/nestnepal.com\/blog\/wp-content\/uploads\/2021\/10\/Your-paragraph-text-446x233.png 446w, https:\/\/nestnepal.com\/blog\/wp-content\/uploads\/2021\/10\/Your-paragraph-text.png 1200w\" data-sizes=\"(max-width: 791px) 100vw, 791px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 791px; --smush-placeholder-aspect-ratio: 791\/414;\" \/><\/a><\/p>\n<h2>DNS Lookup:<\/h2>\n<p>First, the user types the domain name into the web browser, and the query travels to a DNS recursive resolver which then queries the root nameserver. The root nameserver responds to the resolver with the Top Level Domain server. This TLD will respond with the IP of the domain&#8217;s nameserver. Ultimately, the query is sent to the domain&#8217;s nameserver, which is returned to the resolver. The DNS responds to the web browser. After this, the browser makes an HTTP request to the IP Address, and the web page is rendered.<\/p>\n<h2>DNS Caching:<\/h2>\n<p><img decoding=\"async\" class=\"n3VNCb alignleft lazyload\" data-src=\"https:\/\/networkencyclopedia.com\/wp-content\/uploads\/2019\/09\/dns-caching-server.jpg\" alt=\"Caching-only Name Server - Network Encyclopedia\" width=\"311\" height=\"213\" data-noaft=\"1\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 311px; --smush-placeholder-aspect-ratio: 311\/213;\" \/>Domain Name System caching reduces the time taken to respond to a query. Caching will store previous responses and deliver them faster the next time. However, the system will also cache the negative results.<br \/>Cached data will periodically time out as each record has a TTL field.<\/p>\n<pre>Did you know that because of caching, there will be DNS Propagation Delay.<\/pre>\n<h2>Features of DNS:<\/h2>\n<ol>\n<li><strong>Global Distribution:<\/strong> Data is managed locally but can be accessed globally. You can do Domain Name System Lookup on any device, and Remote data is cachable.<\/li>\n<li><strong>Loose Coherency:<\/strong> The DB is internally consistent, and each zone has a serial number. Changes d<a class=\"eHAdSb\" role=\"link\" href=\"https:\/\/www.google.com\/url?sa=i&amp;url=https%3A%2F%2Fkinsta.com%2Fknowledgebase%2Fwhat-is-dns%2F&amp;psig=AOvVaw3M7DJ16NLNCfmxkfPDAOna&amp;ust=1634782214041000&amp;source=images&amp;cd=vfe&amp;ved=0CAsQjRxqFwoTCPDmlb301_MCFQAAAAAdAAAAABAD\" target=\"_blank\" rel=\"noopener\" aria-label=\"Visit Kinsta\" data-ved=\"0CAsQjRxqFwoTCPDmlb301_MCFQAAAAAdAAAAABAD\"><img decoding=\"async\" class=\"n3VNCb alignright lazyload\" data-src=\"https:\/\/kinsta.com\/wp-content\/uploads\/2018\/05\/what-is-dns.png\" alt=\"What is DNS? Domain Name System Explained\" width=\"304\" height=\"152\" data-noaft=\"1\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 304px; --smush-placeholder-aspect-ratio: 304\/152;\" \/><\/a>one to the master branch are replicated according to the zone administrator.<\/li>\n<li><strong>Scalability:<\/strong> There is no limit to the size of the database and the number of queries.<\/li>\n<li><strong>Reliability:<\/strong> The data can be a clone (you can send data to many slaves). These protocols can use User Datagram Protocol or Transmission Control Protocol.<\/li>\n<li><strong>Dynamicity:<\/strong> The DB can be updated dynamically. The changes made in the master DB will trigger the clone or the replication.<\/li>\n<\/ol>\n<blockquote>\n<p>Make sure to check this blog out, if you want to learn to <a href=\"https:\/\/nestnepal.com\/blog\/how-to-create-wordpress-website-with-cpanel\/\">create wordpress website with cpanel<\/a>.<\/p>\n<\/blockquote>\n\n\n<h2 class=\"wp-block-heading\">Frequently Asked Questions(FAQ)<\/h2>\n\n\n<div id=\"rank-math-faq\" class=\"rank-math-block\">\n<div class=\"rank-math-list \">\n<div id=\"faq-question-1687425373920\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \">What is DNS?<\/h3>\n<div class=\"rank-math-answer \">\n\n<p>The Domain Name System is a global archive where the internet domain names are placed and translated into Internet Protocol addresses.<\/p>\n\n<\/div>\n<\/div>\n<div id=\"faq-question-1687425406653\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \">What are the servers that are called while loading a WebPage?<\/h3>\n<div class=\"rank-math-answer \">\n\n<p>The servers that are called while loading a WebPage are:<br \/>1) Authoritative Nameserver<br \/>2) Recursive (Caching) Server<br \/>3) TLD Nameserver<br \/>4) Root Nameserver<\/p>\n\n<\/div>\n<\/div>\n<div id=\"faq-question-1687425746846\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \">What are the features of DNS?<\/h3>\n<div class=\"rank-math-answer \">\n\n<p>The features of DNS are:<br \/>1) Global Distribution<br \/>2) Loose Coherency<br \/>3) Scalability<br \/>4) Reliability<br \/>5) Dynamicity<\/p>\n\n<\/div>\n<\/div>\n<div id=\"faq-question-1687427266072\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \">What is the use of DNS caching? <\/h3>\n<div class=\"rank-math-answer \">\n\n<p>Domain Name System caching reduces the time taken to respond to a query.<\/p>\n\n<\/div>\n<\/div>\n<\/div>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>Did you know it is impossible to view website without DNS? [Unless you have an idedic memory to remember a&#8230;<\/p>\n","protected":false},"author":1,"featured_media":3008,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[92,93,94,95,96],"class_list":["post-2847","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-web-hosting","tag-dns","tag-domain-name-system","tag-domains","tag-global-directory-of-domains","tag-websites"],"_links":{"self":[{"href":"https:\/\/nestnepal.com\/blog\/wp-json\/wp\/v2\/posts\/2847","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nestnepal.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nestnepal.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nestnepal.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nestnepal.com\/blog\/wp-json\/wp\/v2\/comments?post=2847"}],"version-history":[{"count":6,"href":"https:\/\/nestnepal.com\/blog\/wp-json\/wp\/v2\/posts\/2847\/revisions"}],"predecessor-version":[{"id":13360,"href":"https:\/\/nestnepal.com\/blog\/wp-json\/wp\/v2\/posts\/2847\/revisions\/13360"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/nestnepal.com\/blog\/wp-json\/wp\/v2\/media\/3008"}],"wp:attachment":[{"href":"https:\/\/nestnepal.com\/blog\/wp-json\/wp\/v2\/media?parent=2847"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nestnepal.com\/blog\/wp-json\/wp\/v2\/categories?post=2847"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nestnepal.com\/blog\/wp-json\/wp\/v2\/tags?post=2847"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}