How the Domain Name System Works: Difference between revisions

JP (talk | contribs)
 
(34 intermediate revisions by 10 users not shown)
Line 1: Line 1:
'''DNS''' ('''D'''omain '''N'''ame '''S'''ystem) is the system used to translate alphanumeric domain names into Internet Protocol numbers.<ref>[http://icannwiki.org/Domaining_Glossary Domaining Glossary]</ref>
The '''Domain Name System''' '''(DNS)''' is the system used to translate alphanumeric domain names into Internet Protocol numbers. Simply put, the DNS converts the names typed in the Web browser address bar into [[IP Address|IP addresses]]. <ref>[http://compnetworking.about.com/cs/domainnamesystem/g/bldef_dns.htm DNS Definition]</ref>


==Short overview==
==Overview==
The DNS is made up of many servers and databases which, through a series of lookups in various caches, configure [[Domain Name]]s into [[IP Address]]es. The Domain Name System is a distributed database arranged hierarchically; its purpose is to provide a layer of abstraction between Internet services (web, email, etc.) and the numeric addresses (IP addresses) used to uniquely identify any given machine on the Internet. The DNS associates various information with the domain names assigned and, most importantly, translates the domain names meaningful to humans into the numerical identifiers that locate the desired destination.
The DNS is made up of many servers and databases which, through a series of lookups in various caches, configure [[Domain Name]]s into [[IP Address]]es. The Domain Name System is a distributed database arranged hierarchically; its purpose is to provide a layer of abstraction between Internet services (web, email, etc.) and the numeric addresses (IP addresses) used to uniquely identify any given machine on the Internet. The DNS associates a variety of information with the domain names assigned and, most importantly, translates the domain names meaningful to humans into the numerical identifiers that locate the desired destination.


==How does it work?==
[[PowerDNS]] has a primer on the DNS as it functioned in 2018: [https://powerdns.org/hello-dns/ A warm welcome to DNS]
The DNS makes it possible to assign domain names in a meaningful way to Internet resources as well as to users, regardless of the entity's location. As a result, the WWW hyperlinks (World Wide Web) will remain consistent, even in the case of using a mobile device. Due to the fact that the Internet domain names are easier for humans to keep track of than [[IP addresses]], this is an important advantage for the user because the computer will locate the [[URL]]s or even e-mail addresses the users may be looking for.


Coordination across the Internet is maintained by means of a complex authoritative root system known as the [[TLD|Top Level Domain]], as well as the DNS  and other smaller name servers responsible for hosting individual domain information. For each domain, the DNS spreads the responsibility by mapping the domain names and assigning them into IP addresses, and vice-versa. This is accomplished through authoritative name servers which are being designated for each domain. Each authoritative name server is responsible for its own particular domain, while having the authority to assign new authoritative name servers to any  of their sub-domains. The DNS is able to store many types of information, even the mail server lists for a specific domain. In order to ensure the functionality of the Internet, the DNS is a core element through its distributed keyword-based redirection service.  
==History==
The need for a hierarchical [[DNS]] arose with the popularity of the Internet in academic spheres in the early 1980s, which eventually necessitated a decentralized Internet. Communications between [[The Stanford Research Institute NIC]] and other institutions included plans to create a hierarchical [[DNS]], and can be found in [http://www.rfc-editor.org/rfc/rfc805.txt RFC 805], a group document from 1982. This document outlines many of the basics of the eventual [[DNS]], including the need for [[TLD]]s to provide a fixed starting point for queries, and the need for [[SLD]]s to be unique. This, in turn, would necessitate the need for a [[registrar]] type of administration, and help the nascent IT community recognize that the distribution of responsibility for each domain to individual name servers would provide administrative advantages.<ref>[http://www.livinginternet.com/i/iw_dns_history.htm Living Internet]</ref>


However, the DNS does not include security extension, which was further developed as [[DNSSEC]].
==How Does It Work?==
The DNS makes it possible to assign domain names in a meaningful way to Internet resources as well as to users, regardless of the entity's location. As a result, the WWW hyperlinks remain consistent, even for mobile devices. A domain name is an easy way to remember an address, but that needs to be converted to its numerical, IP format. <ref>[http://www.modemhelp.net/faqs/dns.shtml About DNS]</ref>


==The structure of a DNS==
Coordination across the Internet is maintained by means of a complex authoritative root system known as the [[TLD|Top Level Domain]] (TLD), as well as the DNS  and other smaller name servers responsible for hosting individual domain information.
 
DNS includes three types of top-level domains: generic (gTLD), country code (ccTLD), and sponsored (sTLD). gTLDs include domains that
could be obtained by anyone (.com, .info, .net, and .org). Since 2014 many other gTLDs have been added like .pub, .ngo, .sucks. sTLDs are limited to a specific group e.g .aero (for air-transport industry).
 
For each domain, the DNS spreads the responsibility by mapping the domain names and assigning them into IP addresses, and vice-versa. This is accomplished through authoritative name servers which have been designated for each domain. Each authoritative name server is responsible for its own particular domain, but it has the authority to assign new authoritative name servers to any  of its sub-domains. The DNS is able to store many types of information, even the mail server lists for a specific domain. The DNS is a core element which ensures the functionality of the Internet through its distributed keyword-based redirection service.
 
However, the DNS does not include security extensions, which was instead developed as [[DNSSEC]].
 
==The Structure of a DNS==  
The Domain Name System presents the following structure:
The Domain Name System presents the following structure:
* Domain space name: represented by tree of domain names with nodes and leaves
* Domain space name: represented by tree of domain names with nodes and leaves <ref>[http://www.comptechdoc.org/independent/networking/guide/netdns.html DNS Structure]</ref>
* Domain name syntax: rules include in standards like [[RFC 1035]], [[RFC 1123]], and [[RFC 2181]]
* Domain name syntax: rules include in standards like [[RFC 1035]], [[RFC 1123]], and [[RFC 2181]]
* Name server
* Name server
Line 19: Line 29:
* DNS resolver: initiates the queries will finally lead to the complete translation (resolution) of the information.
* DNS resolver: initiates the queries will finally lead to the complete translation (resolution) of the information.


==DNS Services==
==DNS Services==  
These types of services include:   
These types of services include:   
# Managing the DNS
# Managing the DNS
## By means of powerful, secure and complete tools and DNS administration options such as Manage A records or MX records
## By means of powerful, secure and complete tools and DNS administration options such as Manage A records or MX records
## By means of controlling and managing the traffic: all users should react the website they desire even if this involved the regional server or any other network.
## By means of controlling and managing the traffic
# Hosting the DNS
# Hosting the DNS
## Efficient DNS resolution
## Efficient DNS resolution
# Location DNS services: to ease the visitors' work, increase the visitor's satisfaction and strengthen the relationship with all visistors.<ref>[http://www.dns.com/services/ DNS Services]</ref>
# Location DNS services: to ease visitors' work, increase visitors' satisfaction and strengthen the relationship with all visitors.<ref>[http://www.dns.com/services/ DNS Services]</ref>
 
==Developments and the "DNS Camel"==
In 2012, an [[IETF]] draft proposal, called "DNS Extension for Autonomous Internet (AIP)," was written by three Chinese technologists suggesting a method of operating alternate DNS root servers within national boundaries using gateways for translation. All DNS requests would carry an additional TLD, in order to designate that the requests were being sent to an alternate root. The standard would add a single letter to the DNS string - for example, "yahoo.com.B" - to designate the address of the alternate, nationally-controlled root.<ref name="ietfaip">[https://datatracker.ietf.org/doc/draft-diao-aip-dns/ IETF Data Tracker - Internet Draft: DNS Extension for Autonomous Internet], expired April 19, 2018</ref>
 
At the time, critics noted that the proposal would allow greater governmental control over the Internet.<ref>[http://domainincite.com/9474-china-proposes-to-split-up-the-dns China proposes to split up the DNS, domainincite.com]</ref> The Internet Draft expired in April 2018 after eleven proposed revisions.<ref name="ietfaip" /> The draft was one of many efforts to create [[Alternative Roots|alternative root systems]] for the Internet.
 
The [[DNS Camel]] refers to the overloading of features and protocols onto the DNS architecture, such that one small addition will "break the camel's back."


==References==
==References==
Line 35: Line 52:


[[Category: Glossary]]
[[Category: Glossary]]
__NOTOC__