How to process a DNS request with a DNS server?
The Internet has a large number of computers, so it makes no sense to put all the records in one big book. Instead, the DNS is organized into smaller books or domains. In a typical non-caching DNS query, four servers work together to provide an IP address to the client: recursive resolvers, root name servers, TLD managers, and reference name managers.
DNS query: How does it work?
The DNS resolver is a server that receives the DNS request from the DNS client, and then interacts with other DNS servers to look up the correct IP address. Once the resolver has received the query from the client, it behaves like a client itself, querying the other three types of DNS servers to find the correct IP address. For more information on DNS, visit https://www.what-you-must-know.com/. First, the resolver queries the root name server. The root server is the first step in translating (resolving) human readable domain names into IP addresses. The first server then returns to the name converter with the coordinates of a Top Level Domain (TLD) DNS (such as .com or .net) that stores its domain information.
The resolver then queries the TLD server. The TLD server responds with the IP address of the domain's name system authority. The resolver then queries the authoritative name server, which will respond with the IP address of the originating server.
Finally, the resolver passes the IP address of the originating server to the client. Using this IP address, the client can then make a request directly to the origin server, and the origin server will respond by sending website data that will be parsed and viewed by the web browser.