{"id":2543,"date":"2016-06-02T05:02:03","date_gmt":"2016-06-02T09:02:03","guid":{"rendered":"http:\/\/local.brightwhiz\/?p=2543"},"modified":"2016-06-02T05:02:03","modified_gmt":"2016-06-02T09:02:03","slug":"dns-domain-name-system","status":"publish","type":"post","link":"http:\/\/local.brightwhiz\/dns-domain-name-system\/","title":{"rendered":"How Does the Domain Name System (DNS) Work?"},"content":{"rendered":"

If you have no idea what DNS<\/a> stands for then you have come to the right place. So strap in and five minutes you will be ready to dazzle your peers at your local watering hole. For the somewhat informed you might not learn anything new, but hey! Stick around for the ride.<\/p>\n

What does DNS Stand For?<\/h2>\n

DNS as what Domain Name System is better know as in simplest terms is a decentralized way of naming and retaining details about all systems including computers, services, hardware<\/a>, resources and more that are connected to the Internet<\/a>. Each of these entities are assigned what is called a domain name. The unique domain name then has other detailed information including other names behind it that are used to facilitate services, computers and other entities under that domains jurisdiction.<\/p>\n

In a simple illustration it is the equivalent of hailing down a cab and telling the driver to take you to Mr. Example’s House. The taxi driver would be able to interpret that command if he had additional information about where Mr. Example’s house actually is. In reality you would have to tell the driver where the address actually is.<\/p>\n

Authoritative Name Servers<\/h2>\n

The responsibility of assigning, mapping and maintaining domain names belongs to special computers called Authoritative Name Servers. There was a time in the early days of DNS when the said information was stored in text files on various computers normally called hosts or hosts.txt depending on the underlying computer operating system.<\/p>\n

Domain Names<\/h2>\n

The domain names<\/a> commonly used on the Internet that are maintained on the DNS servers are the names that contain the format “nameexample.extension”<\/em>. An example would be brightwhiz.com. domain names are divided into levels of sub-domains numerated from left to right. For instance, in a\u00a0 domain name such as www.brightwhiz.com, example is a sub-domain of com and www is a sub-domain of brightwhiz. The type of domain illustrated is know as a top-level domain. Other types of domains examples include second-level domains, country-level domains etc.<\/p>\n

Address Resolution<\/h2>\n

Most DNS systems have the addresses cached for quicker resolution of resource locations. The address in question is the IP address. IP addresses in simplest terms are a set of numbers between 0 and 255 in the format xxx.xxx.xxx.xxx<\/strong>. The format illustrated here is the IP version 4 format. There is an updated IP version 6 format which we will be discussing here in a later article.<\/p>\n

How Accessing a Web Page Works<\/h2>\n

In a nutshell, access to website can be summarized with this example. Assuming you want to access brightwhiz.com. Normally you would fire up your preferred web browser and type in www.brightwhiz.com. What would happen is the browser would access the DNS server which in turn would query the cache.<\/p>\n

The information on the cache would show which IP address hosts the website. The browser would then access the website from the IP address on record. How about in the case where the cache is not present for whatever reason?<\/p>\n

The browser would contact the root nameserver. The root nameserver will see that brightwhiz is under the “com” domain. The browser would then be pointed to the com nameserver IP address. In turn the com nameserver would query its records and find brightwhiz and retrieve its IP address and point to the brightwhiz.com nameservers IP address. The brightwhiz.com nameserver would then point to the ip address where the website is hosted based on the records stored there. This would include further sub-domains such as www and others.<\/p>\n

The same happens for accessing other Internet services for that domain such as IP, SMTP, Mail Exchanges and others. Now you have a basic understanding of how DNS plays its role to make the Internet work.<\/p>\n

Ref:
\n
https:\/\/tools.ietf.org\/html\/rfc1034<\/a> – Domain Names – Concepts and Facilities
\n
https:\/\/tools.ietf.org\/html\/rfc1035<\/a> – Domain Names – Implementation and Specification
\n
https:\/\/tools.ietf.org\/html\/rfc3467<\/a> – Role of the Domain Name System (DNS)<\/p>\n","protected":false},"excerpt":{"rendered":"

If you have no idea what DNS stands for then you have come to the right place. So strap in and five minutes you will be ready to dazzle your…<\/p>\n","protected":false},"author":1,"featured_media":2544,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[202,320,397,531,572],"yoast_head":"\nDNS and Domain Name Servers in Five Minutes or Less<\/title>\n<meta name=\"description\" content=\"Here's a a quick peek at how DNS and domain name servers work to make you time spent surfing the Internet pleasant and less stressful\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"http:\/\/local.brightwhiz\/dns-domain-name-system\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"DNS and Domain Name Servers in Five Minutes or Less\" \/>\n<meta property=\"og:description\" content=\"Here's a a quick peek at how DNS and domain name servers work to make you time spent surfing the Internet pleasant and less stressful\" \/>\n<meta property=\"og:url\" content=\"http:\/\/local.brightwhiz\/dns-domain-name-system\/\" \/>\n<meta property=\"og:site_name\" content=\"Brightwhiz.com\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/brightwhiz\/\" \/>\n<meta property=\"article:published_time\" content=\"2016-06-02T09:02:03+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/local.brightwhiz\/wp-content\/uploads\/2016\/05\/DNS-Network-Routers.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"630\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Michael Bright\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@brightwhizmag\" \/>\n<meta name=\"twitter:site\" content=\"@brightwhizmag\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Michael Bright\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"http:\/\/local.brightwhiz\/dns-domain-name-system\/#article\",\"isPartOf\":{\"@id\":\"http:\/\/local.brightwhiz\/dns-domain-name-system\/\"},\"author\":{\"name\":\"Michael Bright\",\"@id\":\"http:\/\/local.brightwhiz\/#\/schema\/person\/81f0f3126f13834ae2e7f381b3028e32\"},\"headline\":\"How Does the Domain Name System (DNS) Work?\",\"datePublished\":\"2016-06-02T09:02:03+00:00\",\"dateModified\":\"2016-06-02T09:02:03+00:00\",\"mainEntityOfPage\":{\"@id\":\"http:\/\/local.brightwhiz\/dns-domain-name-system\/\"},\"wordCount\":684,\"commentCount\":0,\"publisher\":{\"@id\":\"http:\/\/local.brightwhiz\/#organization\"},\"image\":{\"@id\":\"http:\/\/local.brightwhiz\/dns-domain-name-system\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/local.brightwhiz\/wp-content\/uploads\/2016\/05\/DNS-Network-Routers.jpg\",\"keywords\":[\"DNS\",\"Internet\",\"Networking\",\"Server\",\"Systems\"],\"articleSection\":[\"Articles\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"http:\/\/local.brightwhiz\/dns-domain-name-system\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"http:\/\/local.brightwhiz\/dns-domain-name-system\/\",\"url\":\"http:\/\/local.brightwhiz\/dns-domain-name-system\/\",\"name\":\"DNS and Domain Name Servers in Five Minutes or Less\",\"isPartOf\":{\"@id\":\"http:\/\/local.brightwhiz\/#website\"},\"primaryImageOfPage\":{\"@id\":\"http:\/\/local.brightwhiz\/dns-domain-name-system\/#primaryimage\"},\"image\":{\"@id\":\"http:\/\/local.brightwhiz\/dns-domain-name-system\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/local.brightwhiz\/wp-content\/uploads\/2016\/05\/DNS-Network-Routers.jpg\",\"datePublished\":\"2016-06-02T09:02:03+00:00\",\"dateModified\":\"2016-06-02T09:02:03+00:00\",\"description\":\"Here's a a quick peek at how DNS and domain name servers work to make you time spent surfing the Internet pleasant and less stressful\",\"breadcrumb\":{\"@id\":\"http:\/\/local.brightwhiz\/dns-domain-name-system\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\/\/local.brightwhiz\/dns-domain-name-system\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\/\/local.brightwhiz\/dns-domain-name-system\/#primaryimage\",\"url\":\"http:\/\/local.brightwhiz\/wp-content\/uploads\/2016\/05\/DNS-Network-Routers.jpg\",\"contentUrl\":\"http:\/\/local.brightwhiz\/wp-content\/uploads\/2016\/05\/DNS-Network-Routers.jpg\",\"width\":1200,\"height\":630,\"caption\":\"DNS Network Routers Cables\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\/\/local.brightwhiz\/dns-domain-name-system\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"http:\/\/local.brightwhiz\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How Does the Domain Name System (DNS) Work?\"}]},{\"@type\":\"WebSite\",\"@id\":\"http:\/\/local.brightwhiz\/#website\",\"url\":\"http:\/\/local.brightwhiz\/\",\"name\":\"Brightwhiz.com\",\"description\":\"Best Tech guides, Tutorials, and News\",\"publisher\":{\"@id\":\"http:\/\/local.brightwhiz\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http:\/\/local.brightwhiz\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"http:\/\/local.brightwhiz\/#organization\",\"name\":\"Brightwhiz\",\"url\":\"http:\/\/local.brightwhiz\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\/\/local.brightwhiz\/#\/schema\/logo\/image\/\",\"url\":\"http:\/\/local.brightwhiz\/wp-content\/uploads\/2021\/11\/brightwhiz-com-logo-orange.png\",\"contentUrl\":\"http:\/\/local.brightwhiz\/wp-content\/uploads\/2021\/11\/brightwhiz-com-logo-orange.png\",\"width\":706,\"height\":135,\"caption\":\"Brightwhiz\"},\"image\":{\"@id\":\"http:\/\/local.brightwhiz\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/brightwhiz\/\",\"https:\/\/x.com\/brightwhizmag\",\"https:\/\/instagram.com\/bright_whiz\/\",\"https:\/\/www.pinterest.com\/sobbayi\/\",\"https:\/\/www.youtube.com\/channel\/UC6sCdP_d_RiTIM7ErFT-PSQ\"]},{\"@type\":\"Person\",\"@id\":\"http:\/\/local.brightwhiz\/#\/schema\/person\/81f0f3126f13834ae2e7f381b3028e32\",\"name\":\"Michael Bright\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\/\/local.brightwhiz\/#\/schema\/person\/image\/\",\"url\":\"http:\/\/1.gravatar.com\/avatar\/da90485875ff0aafa38fdd494abe87d1?s=96&d=mm&r=g\",\"contentUrl\":\"http:\/\/1.gravatar.com\/avatar\/da90485875ff0aafa38fdd494abe87d1?s=96&d=mm&r=g\",\"caption\":\"Michael Bright\"},\"sameAs\":[\"https:\/\/sobbayi.com\"],\"url\":\"http:\/\/local.brightwhiz\/author\/sobbayiadmin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"DNS and Domain Name Servers in Five Minutes or Less","description":"Here's a a quick peek at how DNS and domain name servers work to make you time spent surfing the Internet pleasant and less stressful","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":"http:\/\/local.brightwhiz\/dns-domain-name-system\/","og_locale":"en_US","og_type":"article","og_title":"DNS and Domain Name Servers in Five Minutes or Less","og_description":"Here's a a quick peek at how DNS and domain name servers work to make you time spent surfing the Internet pleasant and less stressful","og_url":"http:\/\/local.brightwhiz\/dns-domain-name-system\/","og_site_name":"Brightwhiz.com","article_publisher":"https:\/\/www.facebook.com\/brightwhiz\/","article_published_time":"2016-06-02T09:02:03+00:00","og_image":[{"width":1200,"height":630,"url":"http:\/\/local.brightwhiz\/wp-content\/uploads\/2016\/05\/DNS-Network-Routers.jpg","type":"image\/jpeg"}],"author":"Michael Bright","twitter_card":"summary_large_image","twitter_creator":"@brightwhizmag","twitter_site":"@brightwhizmag","twitter_misc":{"Written by":"Michael Bright","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"http:\/\/local.brightwhiz\/dns-domain-name-system\/#article","isPartOf":{"@id":"http:\/\/local.brightwhiz\/dns-domain-name-system\/"},"author":{"name":"Michael Bright","@id":"http:\/\/local.brightwhiz\/#\/schema\/person\/81f0f3126f13834ae2e7f381b3028e32"},"headline":"How Does the Domain Name System (DNS) Work?","datePublished":"2016-06-02T09:02:03+00:00","dateModified":"2016-06-02T09:02:03+00:00","mainEntityOfPage":{"@id":"http:\/\/local.brightwhiz\/dns-domain-name-system\/"},"wordCount":684,"commentCount":0,"publisher":{"@id":"http:\/\/local.brightwhiz\/#organization"},"image":{"@id":"http:\/\/local.brightwhiz\/dns-domain-name-system\/#primaryimage"},"thumbnailUrl":"http:\/\/local.brightwhiz\/wp-content\/uploads\/2016\/05\/DNS-Network-Routers.jpg","keywords":["DNS","Internet","Networking","Server","Systems"],"articleSection":["Articles"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["http:\/\/local.brightwhiz\/dns-domain-name-system\/#respond"]}]},{"@type":"WebPage","@id":"http:\/\/local.brightwhiz\/dns-domain-name-system\/","url":"http:\/\/local.brightwhiz\/dns-domain-name-system\/","name":"DNS and Domain Name Servers in Five Minutes or Less","isPartOf":{"@id":"http:\/\/local.brightwhiz\/#website"},"primaryImageOfPage":{"@id":"http:\/\/local.brightwhiz\/dns-domain-name-system\/#primaryimage"},"image":{"@id":"http:\/\/local.brightwhiz\/dns-domain-name-system\/#primaryimage"},"thumbnailUrl":"http:\/\/local.brightwhiz\/wp-content\/uploads\/2016\/05\/DNS-Network-Routers.jpg","datePublished":"2016-06-02T09:02:03+00:00","dateModified":"2016-06-02T09:02:03+00:00","description":"Here's a a quick peek at how DNS and domain name servers work to make you time spent surfing the Internet pleasant and less stressful","breadcrumb":{"@id":"http:\/\/local.brightwhiz\/dns-domain-name-system\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["http:\/\/local.brightwhiz\/dns-domain-name-system\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/local.brightwhiz\/dns-domain-name-system\/#primaryimage","url":"http:\/\/local.brightwhiz\/wp-content\/uploads\/2016\/05\/DNS-Network-Routers.jpg","contentUrl":"http:\/\/local.brightwhiz\/wp-content\/uploads\/2016\/05\/DNS-Network-Routers.jpg","width":1200,"height":630,"caption":"DNS Network Routers Cables"},{"@type":"BreadcrumbList","@id":"http:\/\/local.brightwhiz\/dns-domain-name-system\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"http:\/\/local.brightwhiz\/"},{"@type":"ListItem","position":2,"name":"How Does the Domain Name System (DNS) Work?"}]},{"@type":"WebSite","@id":"http:\/\/local.brightwhiz\/#website","url":"http:\/\/local.brightwhiz\/","name":"Brightwhiz.com","description":"Best Tech guides, Tutorials, and News","publisher":{"@id":"http:\/\/local.brightwhiz\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/local.brightwhiz\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"http:\/\/local.brightwhiz\/#organization","name":"Brightwhiz","url":"http:\/\/local.brightwhiz\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/local.brightwhiz\/#\/schema\/logo\/image\/","url":"http:\/\/local.brightwhiz\/wp-content\/uploads\/2021\/11\/brightwhiz-com-logo-orange.png","contentUrl":"http:\/\/local.brightwhiz\/wp-content\/uploads\/2021\/11\/brightwhiz-com-logo-orange.png","width":706,"height":135,"caption":"Brightwhiz"},"image":{"@id":"http:\/\/local.brightwhiz\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/brightwhiz\/","https:\/\/x.com\/brightwhizmag","https:\/\/instagram.com\/bright_whiz\/","https:\/\/www.pinterest.com\/sobbayi\/","https:\/\/www.youtube.com\/channel\/UC6sCdP_d_RiTIM7ErFT-PSQ"]},{"@type":"Person","@id":"http:\/\/local.brightwhiz\/#\/schema\/person\/81f0f3126f13834ae2e7f381b3028e32","name":"Michael Bright","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/local.brightwhiz\/#\/schema\/person\/image\/","url":"http:\/\/1.gravatar.com\/avatar\/da90485875ff0aafa38fdd494abe87d1?s=96&d=mm&r=g","contentUrl":"http:\/\/1.gravatar.com\/avatar\/da90485875ff0aafa38fdd494abe87d1?s=96&d=mm&r=g","caption":"Michael Bright"},"sameAs":["https:\/\/sobbayi.com"],"url":"http:\/\/local.brightwhiz\/author\/sobbayiadmin\/"}]}},"_links":{"self":[{"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/posts\/2543"}],"collection":[{"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/comments?post=2543"}],"version-history":[{"count":0,"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/posts\/2543\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/media\/2544"}],"wp:attachment":[{"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/media?parent=2543"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/categories?post=2543"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/tags?post=2543"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}