DNS, Domain Name Server Is Responsible For Getting The IP Address of A Particular Domain Name

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 4

DNS, Domain Name Server is responsible for getting the IP address of a particular domain name.

This procedure is just not a matching up of a domain name to an IP address but, apart from DNS stores a
lot of information in it’s file. This file contains all relevant information of a particular domain. These
informations can be mail, ip, services, protocols, etc.

DNS Resolution -

This procedure can be explained thoroughly on how this works.

1> Accessing the internet requires an active internet connection. This internet connection is
provided by the Internet Service Provider ISP. The ISP has a Domain Name Server Resolver or
DNS Resolver.
2> Connecting to the internet through ISP.
3> Entering a particular website that is our domain name say www.example.com.
4> This requests goes to the ISP’s DNS resolver.
5> Now, the domain is divided into subdomains. The DNS resolver starts to scan the domain name
from right to left. This is done because first it’s necessary to search for the root nameserver.
6> The root nameserver here in the example is .com. This searches the zone file for the nameserver
that has root name server of .com. Zone file is the file that contains all the information about a
particular domain. It consists IP, services, mail information, certificates, etc. So, zone file is like a
phonebook.
7> This returns result with searching for name server with .com. This operation goes to search for
subdomain. The root nameserver now quesries the Top Level Domain name server TLD.
8> ISP’ DNS resolver now queries root nameserver for proper TLD name server.

A domain may consist of subdomains. A domain name may contain second level domain or third
level domain. For e.g. mail.google.com. Here, mail is second level domain.
9> Now, the TLD server looks up for the nameserver that is associated with the root name server.
10> ISP’ DNS resolver now reads the zone file from the domain’s name server and then shows up
which IP address goes with the domain.
11> ISP’s DNS resolver then responds with IP address and returns this to the browser which then
accesses the site.
This above representation will describe it better. The Linode here is a server.
Types of DNS –

1 > MX is Mail Exchanger record. This record sets a destination for mail delivery for a particular domain
or subdomain.

This can be explained with an example as –

Usage –

1> set type = mx


2> example.com (here we used webimprints.com)

Explanation-

1> Here, the first is domain name and IP address.


2> The rest of the info shows the mx record. Here, webimprints consists of 5 mx records.
3> These are the mails that have a defined priority declared as preference. The lower the
preference, the higher is it’s priority.
4> The mails are sent to the server and the one with highest priority gets to process it.
5> If the mail exchanger here with preference 0 is unable to process it. If it’s not reachable it gets to
the next mail exchanger that has preference 10 here. The request goes to both the mail
exchangers, which ever process faster get’s us the result that is the IP address of the remote mx
server.

A–

This is most normal form of DNS record. It points the domain or the sub domain to the IP address of that
server. A record can look like the following -

example.com A 12.34.56.78

hello.example.com A 12.34.56.78
Usage –
1> Set type=A
2> Example.com

We can point subdomains to other different IP addresses as well. I f we want to point our
subdomains to the same IP address, we can use (*) asterisk.

*.example.com

This will include all the subdomains associated with the domain example.com

NS –

NS is the Name Server. This can be used using

1> set type = NS


2> example.com

This will help in identifying the DNS servers that are in the particular DNS zone.

Usually, an IT infrastructure contain systems that are interconnected with each other. There will be a
name server that will request the records for the IP addresses.

You might also like