Question

In: Computer Science

What is DNS and what is it used for? How is it structured? What are the...

What is DNS and what is it used for? How is it structured? What are the implications of this structure? Describe an example DNS query.

Solutions

Expert Solution

DNS - It stands for Domain Name System.

It is used to provide names to all the IP Adresses.

A computer never understands human language. So if we want to open a website in a browser we type in english which is a human language. So how does the computer loads it, if it doesn't understands the human language. This happens with the help of DNS. All the websites have their own unique IP addresses. As we want to search for a website the DNS looks for its IP address in the data and loads the IP address of that particular website.

For eg. If A is a person who can speak English and B is a person who can speak french. So they both can't talk to each other. They need a translator in between them.

A (English) ----> Translator ----> B(French)

Same is the case with DNS. We humans can speak english but the computer cannot understand. Therefore, DNS acts as a translator in between us.

Humans(English) ----> DNS ----> Computer(IP Address)

DNS maintains a table where Names are mapped into Numbers(IP Addresses).

The proper websites domain names are mapped into the ip addresses.

If we want to access www.google.com and we type it in the web browser. The DNS converts the name to the respective IP address and loads it to the web browser. Then the web browserunderstands that we want to access google.com. So it contacts the google server and loads google.com.

How DNS works internally? OR What is its structure?

To understand this we need to understand DNS Servers.

There are 4 types of DNS servers:

1. DNS resolver

2. Root Name Server

3. Top Level Domain/TLD name Server

4. Authoritative Name Server

Zoom in the Picture for a better understanding.

If we want load www.xyz.com on the web browser.

1. The web browser will ask the Computer's Operating System(Windows, Linux, Ubuntu) for the IP address.

The computer OS is configured to forward the query of IP address to the DNS Resolver.

2. The DNS Resolver first check its Cache memory for the IP address. If not present then it contacts the root name server for the IP.

3. The root name server then checks the extension of the website, i.e. .com, .org, .edu etc.

It replies with the IP address of the TLD name server of the extension. In our case it is (.com).

4. Then the resolver contacts the TLD server. It provides the resolver with the Authoritative Name server of the extension(.com).

5. Then it contacts Authoritative name server. Which provides with the IP address of the website, and it also stores the IP address of any new website to its local cache memor So as not to repeat the whole process again.

This is how a website is loaded.

Implication is the connection of the structure or the conclusion.

We studied the connection of the whole process as mentioned above.

Conclusion: If the IP of the website is not in the local cache of the DNS resolver only then it will be proceeding for the whole process and in the last will also store the IP of in the Cache For the next time.

The queries are the websites to be loaded. All the websites we ask for are queries.

There are three types of DNS Queries:

1. Recursive Query: In this type of query, when the DNS client provides a website then the resolver looks for it in it's local memory as well as the through the servers, if not found it flashes an error "it can't be found" or provides information which is most relevant to the website.

2. Iterative query: If the website's IP is found through the whole process then it is an iterative query. This means the query between the DNS Resolver and the DNS servers is known as an iterative query.

3. Non-Recursive Query: It is a type of query in which the resolver already knows the answer. i.e. The IP address of the website is already stored in it's local cache memory.


Related Solutions

What is DNS and what is it used for? How is it structured? What are the implications of this structure?
What is DNS and what is it used for? How is it structured? What are the implications of this structure? Describe an example DNS query.
The Domain Name System (DNS) is used in what capacity and how does it work?
The Domain Name System (DNS) is used in what capacity and how does it work?
Network security question: what is dns? how does it work? identify the attack surface of dns....
Network security question: what is dns? how does it work? identify the attack surface of dns. clearly detail how the exploitable services of dns can be attacked
What is the local DNS server position DNS hierarchy?
What is the local DNS server position DNS hierarchy?
What is meant by the term “hot-swappable”? The Domain Name System (DNS) is used in what...
What is meant by the term “hot-swappable”? The Domain Name System (DNS) is used in what capacity and how does it work? Discuss the difference between the IP, DNS and MAC addresses – how do the relate to one another in a network?
How is Snapchat financially structured, How should they be structured, What financial tools can we use...
How is Snapchat financially structured, How should they be structured, What financial tools can we use to back up our position?
What is a DNS cache poisoning attack, and how does it affect a network client? How...
What is a DNS cache poisoning attack, and how does it affect a network client? How does the Response Rate Limiting role feature mitigate a DNS amplification attack? What are the two keys that must be generated if you want to secure a zone with a digital signature? What is the purpose of each? What is DNS delegated administration, why might you want to use it, and how do you configure it? How are trust anchors distributed?
What is the purpose of the UN? How is the UN structured? Why is the Security...
What is the purpose of the UN? How is the UN structured? Why is the Security Council so important? How does the veto system work in the Security Council? What has been the overall record of the UN in terms of peacekeeping and human rights? What are some of the major criticisms of the UN?
how is the federal reseve structured?
how is the federal reseve structured?
What is DNS cache locking, and what does it prevent? How does a system administrator enable...
What is DNS cache locking, and what does it prevent? How does a system administrator enable scavenging? How are a stub zone records updated if the stub zone is Active Directory integrated? What does the Windows Server 2016 feature "DNS Policy" allow an administrator to manage? How does DNSSEC use zone signing to help secure zones?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT