What is DNS Caching? #31

What is DNS Caching? #31

Easy Programming Interview Networking 26 views
Explanation Complexity

Problem Statement

Explain DNS caching and one common issue it can cause.

Example Solution (Public)

Programming Interview
Resolvers cache DNS responses for a TTL so repeated lookups are faster. A common issue is stale records: you change an IP, but clients still use the old cached value until TTL expires.

Official Solution Code

Resolvers cache DNS responses for a TTL so repeated lookups are faster. A common issue is stale records: you change an IP, but clients still use the old cached value until TTL expires.
Please login to submit solutions.
Editor
Output

                                        
Please login to submit solutions.