How Does a DNS Work?
Every time when we type an address of a website into our browser, the following things happen:
Step-1. A DNS server is contacted.
Our computer must reach out to the DNS server (DNS Resolver) for more information.
Step-2. The DNS looks up a numerical address.
Computers understand server addresses made up of numbers and dots only. If we have never searched for this site before, our computer will ask another server for help.
Step-3. A DNS resolver completes the query.
then human-optimized address (e.g., yahoo.com) is switched to a numerical version, i.e. an IP address similar to 102.154.112.217
Step-4. You're sent to your site.
With the correct numerical address, this head to the proper server that hosts targeted website.
Step-5. Data is stored.
The internet server you use has a DNS server that stores translations from human addresses to numeric versions. The results of your search are stored here.
The beauty is that all this work happens in a few quick seconds, and you rarely notice any delay. But behind your screen, your computer is reaching out to others to understand where you should go next and what should happen.
The DNS system was developed in 1983, when the internet contained far fewer websites and servers. The developers never dreamed that anyone would want to play with the system or defraud users. That's why there is no built-in security measure for DNS. The biggest reason behind all this is that DNS was built for a much small internet. Next reason is that neither your computer verifies the identity of the server it talks to, nor it does validate the data that comes back.
Comments
Post a Comment