

{"id":102039,"date":"2021-10-09T09:00:11","date_gmt":"2021-10-09T03:30:11","guid":{"rendered":"https:\/\/data-flair.training\/blogs\/?p=102039"},"modified":"2021-10-09T10:36:02","modified_gmt":"2021-10-09T05:06:02","slug":"domain-name-system","status":"publish","type":"post","link":"https:\/\/data-flair.training\/blogs\/domain-name-system\/","title":{"rendered":"Domain Name System &#8211; DNS Types and Working"},"content":{"rendered":"<p>DNS is an abbreviation for Domain Name System. It is a directory service that offers a mapping between a host&#8217;s name and its numerical address on the network. It is an essential system for the functioning of the internet.<\/p>\n<p>A domain name is assigned to each node in a tree, and a full domain name is a sequence of symbols denoted by dots.<\/p>\n<p>DNS is a service that does the job of converting domain names into IP addresses. This enables network users to search for other hosts using user-friendly names rather than knowing IP addresses.<\/p>\n<p>It is an application layer protocol.<\/p>\n<h3>Types of Domains:<\/h3>\n<p>Three different kinds of domains exist:<\/p>\n<h4>1. Generic Domains:<\/h4>\n<p>It categorises the registered hosts based on their general behaviour. Each node in a tree represents a domain name, which serves as an index to the DNS database. It employs three-character descriptors that indicate the kind of organisation.<\/p>\n<p>Few generic domains are<\/p>\n<ul>\n<li>.aero &#8211; Airlines<\/li>\n<li>.gov &#8211; Government offices<\/li>\n<li>.com &#8211; Commercial Organizations<\/li>\n<li>.biz &#8211; Businesses<\/li>\n<li>.mil &#8211; Related to the military<\/li>\n<li>.coop &#8211; Cooperatives<\/li>\n<li>.edu &#8211; Educational institutions<\/li>\n<\/ul>\n<h4>2. Country Domains:<\/h4>\n<p>Country domains have the same structure as generic domains, but they utilise two-character country abbreviations (e.g., us for the United States) instead of three-character organisational abbreviations.<\/p>\n<h4>3. Inverse Domains:<\/h4>\n<p>An address is mapped to a name using the inverse domain. When the server receives a client request and the server holds only the files of authorised clients. To determine if the client is on the approved list, it sends a query to the DNS server and requests that an address be assigned to the name.<\/p>\n<h3>Working of DNS:<\/h3>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/09\/working-of-dns.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-102055\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/09\/working-of-dns.jpg\" alt=\"working of dns\" width=\"814\" height=\"462\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/09\/working-of-dns.jpg 814w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/09\/working-of-dns-768x436.jpg 768w\" sizes=\"auto, (max-width: 814px) 100vw, 814px\" \/><\/a><\/p>\n<p>When a client, such as a web browser, submits a request including a hostname, a piece of software, such as a DNS resolver, sends a request to the DNS server to get the IP address of the hostname.<\/p>\n<p>If a DNS server does not have the IP address associated with a hostname, the request is sent to another DNS server. If an IP address is received by the resolver, the request is completed using the internet protocol.<\/p>\n<h3>Important Terms related to DNS:<\/h3>\n<h4>1. DNS Record:<\/h4>\n<p>IP address, domain name, time to live etc, are stored in records using a tree structure.<\/p>\n<h4>2. Namespace:<\/h4>\n<p>A list of potential names, either flat or hierarchical. A naming system keeps a collection of name-to-value bindings \u2014 given a name, a resolution mechanism returns the matching value.<\/p>\n<h4>3. Name server:<\/h4>\n<p>It is a resolution mechanism implementation. DNS (Domain Name System) is the Internet name service. A zone is an administrative unit, and a domain is a subtree.<\/p>\n<h3>Hierarchy of Name Servers:<\/h3>\n<h4>1. Root name server:<\/h4>\n<p>Name servers that cannot resolve the name contact the root name servers. If no name mapping is known, it calls the authoritative name server. The mapping is then obtained, and the IP address is returned to the host.<\/p>\n<h4>2. Top level server:<\/h4>\n<p>It is in charge of com, org, edu, and all top level country domains such as uk, fr, ca, in, and so on. They hold information on authoritative domain servers and are aware of the names and IP addresses of each authoritative name server for second level domains.<\/p>\n<h4>3. Authoritative name server:<\/h4>\n<p>This is the DNS server for an organisation, and it provides authoritative host names to IP mapping for the organization&#8217;s servers. It might be maintained by a company or a service provider. As a result, the associated IP address will be returned by the authoritative domain server.<\/p>\n<h3>Summary:<\/h3>\n<p>In this article we looked at the inner workings of the Domain Name System (DNS). We also looked at the various types of domains associated with DNS, and also the various kinds of name servers that are used in the implementation of DNS.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>DNS is an abbreviation for Domain Name System. It is a directory service that offers a mapping between a host&#8217;s name and its numerical address on the network. It is an essential system for&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":102054,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[24974],"tags":[25349,25348,25350,25351],"class_list":["post-102039","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-computer-network","tag-dns-working","tag-domain-name-system","tag-types-of-dns","tag-types-of-domains"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Domain Name System - DNS Types and Working - DataFlair<\/title>\n<meta name=\"description\" content=\"Learn what is DNS or Domain Name System. Learn about the various kinds of domains, DNS working, hierarchy of name servers etc..\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/data-flair.training\/blogs\/domain-name-system\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Domain Name System - DNS Types and Working - DataFlair\" \/>\n<meta property=\"og:description\" content=\"Learn what is DNS or Domain Name System. Learn about the various kinds of domains, DNS working, hierarchy of name servers etc..\" \/>\n<meta property=\"og:url\" content=\"https:\/\/data-flair.training\/blogs\/domain-name-system\/\" \/>\n<meta property=\"og:site_name\" content=\"DataFlair\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/DataFlairWS\/\" \/>\n<meta property=\"article:published_time\" content=\"2021-10-09T03:30:11+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-10-09T05:06:02+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/09\/domain-name-system.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"DataFlair Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@DataFlairWS\" \/>\n<meta name=\"twitter:site\" content=\"@DataFlairWS\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"DataFlair Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Domain Name System - DNS Types and Working - DataFlair","description":"Learn what is DNS or Domain Name System. Learn about the various kinds of domains, DNS working, hierarchy of name servers etc..","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:\/\/data-flair.training\/blogs\/domain-name-system\/","og_locale":"en_US","og_type":"article","og_title":"Domain Name System - DNS Types and Working - DataFlair","og_description":"Learn what is DNS or Domain Name System. Learn about the various kinds of domains, DNS working, hierarchy of name servers etc..","og_url":"https:\/\/data-flair.training\/blogs\/domain-name-system\/","og_site_name":"DataFlair","article_publisher":"https:\/\/www.facebook.com\/DataFlairWS\/","article_published_time":"2021-10-09T03:30:11+00:00","article_modified_time":"2021-10-09T05:06:02+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/09\/domain-name-system.jpg","type":"image\/jpeg"}],"author":"DataFlair Team","twitter_card":"summary_large_image","twitter_creator":"@DataFlairWS","twitter_site":"@DataFlairWS","twitter_misc":{"Written by":"DataFlair Team","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/data-flair.training\/blogs\/domain-name-system\/#article","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/domain-name-system\/"},"author":{"name":"DataFlair Team","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/b49855299264df5e27e3ec6c2cd9fde9"},"headline":"Domain Name System &#8211; DNS Types and Working","datePublished":"2021-10-09T03:30:11+00:00","dateModified":"2021-10-09T05:06:02+00:00","mainEntityOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/domain-name-system\/"},"wordCount":629,"commentCount":2,"publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/domain-name-system\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/09\/domain-name-system.jpg","keywords":["DNS Working","Domain Name System","Types of DNS","Types of domains"],"articleSection":["computer network tutorial"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/data-flair.training\/blogs\/domain-name-system\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/data-flair.training\/blogs\/domain-name-system\/","url":"https:\/\/data-flair.training\/blogs\/domain-name-system\/","name":"Domain Name System - DNS Types and Working - DataFlair","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/domain-name-system\/#primaryimage"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/domain-name-system\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/09\/domain-name-system.jpg","datePublished":"2021-10-09T03:30:11+00:00","dateModified":"2021-10-09T05:06:02+00:00","description":"Learn what is DNS or Domain Name System. Learn about the various kinds of domains, DNS working, hierarchy of name servers etc..","breadcrumb":{"@id":"https:\/\/data-flair.training\/blogs\/domain-name-system\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/data-flair.training\/blogs\/domain-name-system\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/domain-name-system\/#primaryimage","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/09\/domain-name-system.jpg","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/09\/domain-name-system.jpg","width":1200,"height":628,"caption":"domain name system"},{"@type":"BreadcrumbList","@id":"https:\/\/data-flair.training\/blogs\/domain-name-system\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog Home","item":"https:\/\/data-flair.training\/blogs\/"},{"@type":"ListItem","position":2,"name":"computer network tutorial","item":"https:\/\/data-flair.training\/blogs\/category\/computer-network\/"},{"@type":"ListItem","position":3,"name":"Domain Name System &#8211; DNS Types and Working"}]},{"@type":"WebSite","@id":"https:\/\/data-flair.training\/blogs\/#website","url":"https:\/\/data-flair.training\/blogs\/","name":"DataFlair","description":"Learn Today. Lead Tomorrow.","publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/data-flair.training\/blogs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/data-flair.training\/blogs\/#organization","name":"DataFlair","url":"https:\/\/data-flair.training\/blogs\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/logo\/image\/","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/07\/Data-Flair.png","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/07\/Data-Flair.png","width":106,"height":48,"caption":"DataFlair"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/DataFlairWS\/","https:\/\/x.com\/DataFlairWS","https:\/\/www.linkedin.com\/company\/dataflair-web-services-pvt-ltd\/","https:\/\/www.youtube.com\/user\/DataFlairWS"]},{"@type":"Person","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/b49855299264df5e27e3ec6c2cd9fde9","name":"DataFlair Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/ef46b745ddad2fad690af626c6ef29b91809ad0a9f5ef398d07817d8cad042f5?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/ef46b745ddad2fad690af626c6ef29b91809ad0a9f5ef398d07817d8cad042f5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ef46b745ddad2fad690af626c6ef29b91809ad0a9f5ef398d07817d8cad042f5?s=96&d=mm&r=g","caption":"DataFlair Team"},"description":"DataFlair Team is a group of passionate educators and industry experts dedicated to providing high-quality online learning resources on programming, Java, Python, C++, DSA, AI, ML, data Science, Android, Flutter, MERN, Web Development, and technology. With years of experience in the field, the team aims to simplify complex topics and help learners advance their careers. At DataFlair, we believe in empowering students and professionals with the knowledge and skills needed to thrive in today\u2019s fast-paced tech industry. Follow us for Free courses, expert insights, tutorials, and practical tips to boost your learning journey.","url":"https:\/\/data-flair.training\/blogs\/author\/datafbdad\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/102039","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/comments?post=102039"}],"version-history":[{"count":2,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/102039\/revisions"}],"predecessor-version":[{"id":102056,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/102039\/revisions\/102056"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media\/102054"}],"wp:attachment":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media?parent=102039"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/categories?post=102039"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/tags?post=102039"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}