So now let us try to look exactly what problem the DNS solves and what exactly DNS is at a broader level.
So DNS is actually an application layer protocol.
So remember, DNS runs as an application on the TCP IP stack.
Therefore, DNS is an application layer protocol, right?
And it works completely transparent to the end user.
It means that the moment you type out a website name in your browser and press the enter key, you don't
even know that DNS server is working behind the scenes and it is fetching an IP address of the server
on which the website is hosted.
Right.
So DNS works completely transparent to the end user.
As an end user, you never need to learn which website is hosted on which server in the world and it
is not possible either.
Right?
So we always access the various websites through their names and those names are technically called
domain names, right?
Human can't remember several IP addresses.
So you can see that here you are sitting in your home and you are connected to the Internet via ISP,
right?
And you are freely able to access all the public websites of the world.
For example, you are able to access W-w-w-what, Facebook.com and Facebook.com is a website which is
hosted on the server whose IP address is 100 .1.1.2 and this server is physically present in California.
Right.
Similarly, you are able to access Microsoft.com website and this website is hosted on the server whose
IP address is 110 .1.13.2.
And this server is physically located in New York.
Right.
So similarly you are also able to access Udemy.com and Google.com and you are able to access any public
website without actually configuring or teaching your laptop or computer.
The IP address of the server machines on which those particular websites are hosted.
Right.
On the daily basis, you access so many public websites on the internet, and do you ever configure
the IP address of the servers on which those websites are hosted?
The answer is no.
You never bothered to do that.
Right.
So actually, DNS is playing its role behind the scenes and making things very easy for you.
DNS makes all public websites accessible to you through their domain names.
So you can see DNS allows you to access any public website hosted elsewhere in the world through its
domain name.
You don't have to bother these IP addresses on which those public websites are hosted.
All You Care is the name of the website and accessing the website through their domain name is what
is more friendly to us as a human being.