Report - What is DNS?
This is the first of a long series of formal tutorials / reports on many different IT related topics.
This weeks tutorial is on DNS, how it works, and why it is an important concept in internet communications. Enjoy:
DNS is an essential part of the operation of the internet, as it provides a mapping between the mnemonic name of a domain on the internet and its corresponding, machine-readable numeric IP address. The domain name space consists of domain names organised into a tree-like structure. Within this tree are top level domains (
This tree structure divides into areas called zones. Each zone has a number of nodes, which have an associated Resource Record (RR), which describes the IP address, name server etc. The nodes within this zone are administered by an authoritative DNS name server. This server is responsible for maintaining all of the RR’s within its zone. The DNS name server will maintain the list of RR’s in a DNS distributed database. Each organisation is responsible for managing its own set of domain names.
When a domain name is entered, a Resolver (a program designed to interrogate the database for RR’s) queries the name server by sending a DNS request, to which the name server responds with the relevant IP address. If the name server does not have a record of the address, it will query other name servers, even the root name server. When it receives a response, it will send it to the originating computer, and may check the RR time to live field, and store it in the cache for that period of time. Address resolution works as follows: The local DNS server has a list of addresses of all the Root servers on the internet. The address (eg csu.edu.au) is read from right to left, and the local DNS server queries each corresponding DNS server for each domain in the address to find the address of the next DNS server. This continues until the final address is returned by the last DNS server.
An example of the setup of DNS tree structures and the function of DNS servers is shown for
he
2:41 PM | Labels: computers, internet, tips, tricks | 5 Comments
If you liked this post, buy me a beer!