{"id":2838,"date":"2022-03-21T06:23:46","date_gmt":"2022-03-21T06:23:46","guid":{"rendered":"https:\/\/sagaratechnology.com\/blog\/?p=2838"},"modified":"2022-03-21T06:23:47","modified_gmt":"2022-03-21T06:23:47","slug":"get-to-know-about-dns-and-how-dns-works","status":"publish","type":"post","link":"https:\/\/sagaratechnology.com\/blog\/get-to-know-about-dns-and-how-dns-works\/","title":{"rendered":"Get to Know About DNS and How DNS Works"},"content":{"rendered":"\n<p>Before knowing how DNS works, we must first understand what DNS is. Maybe the word DNS sounds foreign to some people. Still, a few people already know about this system, especially those working in the programming field.<\/p>\n\n\n\n<p>We can say DNS as a phonebook of the internet where humans can access the website by simply writing the domain name instead of using numbers like cell phone contacts.<\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_76 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-69e1e24941f71\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-69e1e24941f71\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/sagaratechnology.com\/blog\/get-to-know-about-dns-and-how-dns-works\/#What_is_DNS\" >What is DNS?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/sagaratechnology.com\/blog\/get-to-know-about-dns-and-how-dns-works\/#How_does_DNS_work\" >How does DNS work?<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/sagaratechnology.com\/blog\/get-to-know-about-dns-and-how-dns-works\/#1_DNS_Query\" >1. DNS Query<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/sagaratechnology.com\/blog\/get-to-know-about-dns-and-how-dns-works\/#2_DNS_Recursor\" >2. DNS Recursor<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/sagaratechnology.com\/blog\/get-to-know-about-dns-and-how-dns-works\/#3_Root_Name_Server\" >3. Root Name Server<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/sagaratechnology.com\/blog\/get-to-know-about-dns-and-how-dns-works\/#4_TLD_Name_Server\" >4. TLD Name Server<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/sagaratechnology.com\/blog\/get-to-know-about-dns-and-how-dns-works\/#5_Authoritative_Name_Server\" >5. Authoritative Name Server<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"What_is_DNS\"><\/span>What is DNS?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Without realizing it, we \u200b\u200boften interact with this system in our daily life. So what exactly is DNS? DNS stands for Domain Name System. DNS is a system that translates domain names (URLs) into IP addresses in the form of numbers for computers when we access a website.<\/p>\n\n\n\n<p>Humans are used to remembering things in the form of names made of the alphabet. Still, it is different from computers that do not recognize names. Knowing a command or identifying each other on a computer can only be done by using numbers such as IP addresses.<\/p>\n\n\n\n<p>Therefore DNS was created to make it easier for humans to interact with computers.<\/p>\n\n\n\n<p>Nowadays, you don&#8217;t have to write down or even remember the IP address to visit a page. You only need to remember the domain name and write it in the address bar. Then DNS will work by translating the domain name into an IP address for the computer.<\/p>\n\n\n\n<p>For example, if you want to access the website&nbsp;<a href=\"http:\/\/www.sample.com\">www.sample.com<\/a>, to read it by computer, this domain name must be numbered (IP address) such as 193.567.5.7. The domain name will automatically turn into a number that a computer can read through DNS.<\/p>\n\n\n\n<h2><span class=\"ez-toc-section\" id=\"How_does_DNS_work\"><\/span>How does DNS work?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>As a system, of course, there is a structure or stages to run well in the process, likewise with DNS, which has locations to work to bring up websites that match the search.<\/p>\n\n\n\n<p>The following are the stages of how DNS works:<\/p>\n\n\n\n<div class=\"is-layout-flow wp-block-group\"><div class=\"wp-block-group__inner-container\">\n<h3><span class=\"ez-toc-section\" id=\"1_DNS_Query\"><\/span>1. DNS Query<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>The first stage begins with requesting information or what is called DNS Query. The requested information is the IP address of a <a href=\"https:\/\/sagaratechnology.com\/blog\/follow-these-steps-for-website-development-process\/\">website<\/a>. This stage is where you write the domain name in the address bar.<\/p>\n\n\n\n<p>After that, the DNS server will look for information in the file host, a plain text file in the operating system. The server will look in the cache if the information is not found. The server will look in the cache, a hardware or software component that temporarily stores data.<\/p>\n<\/div><\/div>\n\n\n\n<h3><span class=\"ez-toc-section\" id=\"2_DNS_Recursor\"><\/span>2. DNS Recursor<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Next, we enter the DNS recursor stage, namely the stage of finding information from the client (<a href=\"https:\/\/sagaratechnology.com\/blog\/always-protect-your-data-privacy-when-using-browser\/\">browser<\/a>). Suppose the information sought is not found in the cache. In that case, the system will immediately move to find information in the cache of the internet provider or internet service provider (ISP) to fulfill the request. The DNS recursor will ask the Root Name Server for help in the process.<\/p>\n\n\n\n<h3><span class=\"ez-toc-section\" id=\"3_Root_Name_Server\"><\/span>3. Root Name Server<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Root name servers can be considered indexes in a library that points to different bookshelves. So, the Root Name Server function refers to another specific location.<\/p>\n\n\n\n<p>If the information cannot be found at the ISP, the system will look for the information you are looking for to the Root Name Server. However, the Root Name Server does not have the final answer to the information sought. Instead, it directs it to another more specific location.<\/p>\n\n\n\n<h3><span class=\"ez-toc-section\" id=\"4_TLD_Name_Server\"><\/span>4. TLD Name Server<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>The top-level domain can be considered as a particular bookshelf in a library. The system will read the type of information sought from the top-level domain from the root name server. TLD is the end of the domain name.<\/p>\n\n\n\n<p>For example,&nbsp;<a target=\"_blank\" href=\"http:\/\/www.google.com\" rel=\"noreferrer noopener\">www.google.com<\/a>, the TLD of that domain name is&nbsp;<strong>.com<\/strong>. Each TLD has a specific server that will provide information to the system to forward the search to the server with the data you are looking for.<\/p>\n\n\n\n<h3><span class=\"ez-toc-section\" id=\"5_Authoritative_Name_Server\"><\/span>5. Authoritative Name Server<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>The authoritative name server is the last stop in the nameserver query. Suppose the authoritative name server has access to the requested record. It will return the IP address for the requested hostname back to the DNS Recursor (the librarian) that made the initial request. After this stage, the web browser finally displays the requested website page.<\/p>\n\n\n\n<p>That&#8217;s all basic things you need to know first about DNS and how DNS works. <\/p>\n\n\n\n<p>If you are interested in a current topic about technology, new knowledge, fintech, etc., check <a href=\"https:\/\/teknologi.id\/\">teknologi.id <\/a>for great news every day.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Before knowing how DNS works, we must first understand what DNS is. Maybe the word DNS sounds foreign to some people. Still, a few people already know about this system, especially those working in the programming field. We can say DNS as a phonebook of the internet where humans can access the website by simply&#8230;<\/p>\n","protected":false},"author":18,"featured_media":2843,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[282,124,10],"tags":[313,188,314,312,45,33,189],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Get to Know About DNS and How DNS Works - Sagara Asia Blog<\/title>\n<meta name=\"description\" content=\"We often hear IP addresses and URLs. DNS are is like brige for them. Let&#039;s take a look about how dns works.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/sagaratechnology.com\/blog\/get-to-know-about-dns-and-how-dns-works\/\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"Get to Know About DNS and How DNS Works - Sagara Asia Blog\" \/>\n<meta name=\"twitter:description\" content=\"We often hear IP addresses and URLs. DNS are is like brige for them. Let&#039;s take a look about how dns works.\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/sagaratechnology.com\/blog\/wp-content\/uploads\/2022\/03\/istockphoto-869937498-612x612-1.jpg\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Fitri Lestari\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Get to Know About DNS and How DNS Works - Sagara Asia Blog","description":"We often hear IP addresses and URLs. DNS are is like brige for them. Let's take a look about how dns works.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/sagaratechnology.com\/blog\/get-to-know-about-dns-and-how-dns-works\/","twitter_card":"summary_large_image","twitter_title":"Get to Know About DNS and How DNS Works - Sagara Asia Blog","twitter_description":"We often hear IP addresses and URLs. DNS are is like brige for them. Let's take a look about how dns works.","twitter_image":"https:\/\/sagaratechnology.com\/blog\/wp-content\/uploads\/2022\/03\/istockphoto-869937498-612x612-1.jpg","twitter_misc":{"Written by":"Fitri Lestari","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/sagaratechnology.com\/blog\/get-to-know-about-dns-and-how-dns-works\/#article","isPartOf":{"@id":"https:\/\/sagaratechnology.com\/blog\/get-to-know-about-dns-and-how-dns-works\/"},"author":{"name":"Fitri Lestari","@id":"https:\/\/sagaratechnology.com\/blog\/#\/schema\/person\/0ecabb999d1ce50c36ac46ed8e96c268"},"headline":"Get to Know About DNS and How DNS Works","datePublished":"2022-03-21T06:23:46+00:00","dateModified":"2022-03-21T06:23:47+00:00","mainEntityOfPage":{"@id":"https:\/\/sagaratechnology.com\/blog\/get-to-know-about-dns-and-how-dns-works\/"},"wordCount":743,"commentCount":0,"publisher":{"@id":"https:\/\/sagaratechnology.com\/blog\/#organization"},"keywords":["dns","Domain","Get to Know About DNS","how dns works","Sagara Technology","Technology","Website"],"articleSection":["Informasi Digital","Technology","Tips teknologi"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/sagaratechnology.com\/blog\/get-to-know-about-dns-and-how-dns-works\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/sagaratechnology.com\/blog\/get-to-know-about-dns-and-how-dns-works\/","url":"https:\/\/sagaratechnology.com\/blog\/get-to-know-about-dns-and-how-dns-works\/","name":"Get to Know About DNS and How DNS Works - Sagara Asia Blog","isPartOf":{"@id":"https:\/\/sagaratechnology.com\/blog\/#website"},"datePublished":"2022-03-21T06:23:46+00:00","dateModified":"2022-03-21T06:23:47+00:00","description":"We often hear IP addresses and URLs. DNS are is like brige for them. Let's take a look about how dns works.","breadcrumb":{"@id":"https:\/\/sagaratechnology.com\/blog\/get-to-know-about-dns-and-how-dns-works\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/sagaratechnology.com\/blog\/get-to-know-about-dns-and-how-dns-works\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/sagaratechnology.com\/blog\/get-to-know-about-dns-and-how-dns-works\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/sagaratechnology.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Tips teknologi","item":"https:\/\/sagaratechnology.com\/blog\/category\/tips-teknologi\/"},{"@type":"ListItem","position":3,"name":"Get to Know About DNS and How DNS Works"}]},{"@type":"WebSite","@id":"https:\/\/sagaratechnology.com\/blog\/#website","url":"https:\/\/sagaratechnology.com\/blog\/","name":"Sagara Asia Blog","description":"Dapatkan Informasi Seputar Teknologi dan Bisnis","publisher":{"@id":"https:\/\/sagaratechnology.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/sagaratechnology.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/sagaratechnology.com\/blog\/#organization","name":"Sagara Technology","url":"https:\/\/sagaratechnology.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/sagaratechnology.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/sagaratechnology.com\/blog\/wp-content\/uploads\/2021\/10\/sagara-logo.jpeg","contentUrl":"https:\/\/sagaratechnology.com\/blog\/wp-content\/uploads\/2021\/10\/sagara-logo.jpeg","width":200,"height":200,"caption":"Sagara Technology"},"image":{"@id":"https:\/\/sagaratechnology.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.linkedin.com\/company\/sagara-asia\/"]},{"@type":"Person","@id":"https:\/\/sagaratechnology.com\/blog\/#\/schema\/person\/0ecabb999d1ce50c36ac46ed8e96c268","name":"Fitri Lestari","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/sagaratechnology.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/f7ce7dfb10ef3179bbe8bc1c430df107?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/f7ce7dfb10ef3179bbe8bc1c430df107?s=96&d=mm&r=g","caption":"Fitri Lestari"}}]}},"_links":{"self":[{"href":"https:\/\/sagaratechnology.com\/blog\/wp-json\/wp\/v2\/posts\/2838"}],"collection":[{"href":"https:\/\/sagaratechnology.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sagaratechnology.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sagaratechnology.com\/blog\/wp-json\/wp\/v2\/users\/18"}],"replies":[{"embeddable":true,"href":"https:\/\/sagaratechnology.com\/blog\/wp-json\/wp\/v2\/comments?post=2838"}],"version-history":[{"count":9,"href":"https:\/\/sagaratechnology.com\/blog\/wp-json\/wp\/v2\/posts\/2838\/revisions"}],"predecessor-version":[{"id":2859,"href":"https:\/\/sagaratechnology.com\/blog\/wp-json\/wp\/v2\/posts\/2838\/revisions\/2859"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/sagaratechnology.com\/blog\/wp-json\/wp\/v2\/media\/2843"}],"wp:attachment":[{"href":"https:\/\/sagaratechnology.com\/blog\/wp-json\/wp\/v2\/media?parent=2838"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sagaratechnology.com\/blog\/wp-json\/wp\/v2\/categories?post=2838"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sagaratechnology.com\/blog\/wp-json\/wp\/v2\/tags?post=2838"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}