System Design Fundamentals

0% completed

DNS Resolution Process

The DNS resolution process involves a series of recursive and iterative queries, utilizing a distributed and hierarchical infrastructure of DNS servers, resolvers, and caching mechanisms.

1. Recursive and Iterative DNS queries

DNS resolution is the process of converting a domain name into its corresponding IP address. There are two types of DNS queries involved in this process: recursive and iterative queries.

  • Recursive query: In a recursive query, the DNS resolver asks for the complete answer to a query from the DNS server

.....

.....

.....

Like the course? Get enrolled and start learning!
Ricardo Franco

Ricardo Franco

· 3 years ago

Who decides when to use recursive or iterative queries?

Ricardo Franco

Ricardo Franco

· 3 years ago

Negative caching is the process of caching the non-existence of a DNS record. When a resolver receives a query for a non-existent domain or record, it caches this information as a negative response, preventing repeated queries for the same non-existent resource. This reduces the load on DNS servers and improves overall performance.

How a resolver can prevent a query from arriving on it?

I think the resolver uses negative caching to prevent querying DNS servers for non-existent domains. In this case, the text should be "When a resolver receives a response for a non-existent domain". Am I correct?

Show 2 replies