Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Written by Prashant Basnet
Prashant Basnet, a software engineer at Unisala.com, focuses on software development and enjoys building platforms to share knowledge. Interested in system design, data structures, and is currently learning NLP
DNS is internet directory, which translates human readable domain names such as unisala.com to a machine readable ip address. This is the reason why when you type unisala.com you can access this website hosted on a server.
According to google:
There are different type of DNS servers in DNS hierarchy, each serving a different purpose.
How does the DNS resolver find the authoritative name-server?
When we register a domain, the registar host the authoritative namerservers by default, but we can change them to others.
Cloud providers like AWS & cloudfare run authoritative nameservers.
This image illustrates how a DNS query is made from browswer when you enter google.com in the browser and how browser brings you the google.com app in your computer.
Updating DNS records for a live high traffic production system:
TTL : Time to live for a cached record.
For example if unisala.com running on a server
i decide to upgrade the server for example move it to a new server with higher specs.
new ip address is:
Now i want all the user accessing unisala.com to go to this new server ip address.
To mitigate the risk there are two practical steps to take:
DNS is what translates unisala.com -> 192.168.123.132, making it a critical component of the internet backbone.
This note is derived from ByteByteGo. All the credit goes to it.
#ByteByteGo #SystemDesign #UnderstandingHowInternetWorks.