My question is that suppose my website is \"xyz.com\"
I can access it anywhere in the world, but I\'m curious to know how does all the dns servers know the ip address of my
DNS comprises of Root Servers, Top Level Domain(TLD) and Authoritative Servers
For the example www.example.com :
Root Server queries the TLD for '.com' extension
TLD searches the DNS cache for the domain, if not it queries the corresponding authoritative server for the domain 'example.com' to finally get the IP address for the host www.example.com, then return that IP address to your computer.