A user types example.com into a web browser and the query travels into the Internet and is received by a DNS recursive resolver
The resolver then queries a DNS root nameserver (.)
The root server then responds to the resolver with the address of a Top Level Domain (TLD) DNS server (such as .com or .net), which stores the information for its domains. When searching for example.com, our request is pointed toward the .com TLD
The resolver then makes a request to the .com TLD
The TLD server then responds with the IP address of the domain’s nameserver, example.com
Lastly, the recursive resolver sends a query to the domain’s nameserver
The IP address for example.com is then returned to the resolver from the nameserver
The DNS resolver then responds to the web browser with the IP address of the domain requested initially
DNS scale
DNS Resolver
It is a server that that carries out the resolution of Domain Name to IP address
Typically runs at ISP, but you can run your own locally
This can also be your internet router
Most home routers are real DNS resolvers
It knows where to locate Root Name Server
It has already the list of Root Name Servers saved in Root Hints File and Root Zone File
It is generally pre-packaged with the DNS software
### Host Database## localhost is used to configure the loopback interface# when the system is booting. Do not change this entry.##127.0.0.1 localhost255.255.255.255 broadcasthost::1 localhost