0
0
HLDsystem_design~10 mins

DNS and how domain resolution works in HLD - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to identify the first step in DNS resolution.

HLD
When a user types a URL, the browser first sends a request to the [1] to find the IP address.
Drag options to blanks, or click blank then click option'
Aauthoritative DNS server
Broot DNS server
Clocal DNS resolver
Dweb server
Attempts:
3 left
💡 Hint
Common Mistakes
Confusing the root DNS server with the local resolver.
2fill in blank
medium

Complete the code to show which server the local resolver queries if it has no cached record.

HLD
If the local DNS resolver does not have the IP cached, it queries the [1] to continue the resolution process.
Drag options to blanks, or click blank then click option'
Aauthoritative DNS server
Bclient browser
Cweb server
Droot DNS server
Attempts:
3 left
💡 Hint
Common Mistakes
Choosing authoritative DNS server too early in the process.
3fill in blank
hard

Fix the error in the DNS resolution step where the resolver queries the wrong server.

HLD
After contacting the root DNS server, the resolver should query the [1] to find the domain's IP address.
Drag options to blanks, or click blank then click option'
Aauthoritative DNS server
Bclient browser
Clocal DNS resolver
Dweb server
Attempts:
3 left
💡 Hint
Common Mistakes
Confusing the local resolver with the authoritative server.
4fill in blank
hard

Fill both blanks to complete the DNS resolution flow from root to domain.

HLD
The root DNS server directs the resolver to the [1] which then points to the [2] for the domain's IP.
Drag options to blanks, or click blank then click option'
Atop-level domain (TLD) server
Blocal DNS resolver
Cauthoritative DNS server
Dclient browser
Attempts:
3 left
💡 Hint
Common Mistakes
Mixing up the roles of TLD and authoritative servers.
5fill in blank
hard

Fill all three blanks to complete the DNS caching and resolution process.

HLD
Once the authoritative DNS server returns the IP, the [1] caches it, the [2] uses it to connect, and the [3] displays the website.
Drag options to blanks, or click blank then click option'
Alocal DNS resolver
Bclient browser
Cweb server
Droot DNS server
Attempts:
3 left
💡 Hint
Common Mistakes
Confusing the roles of the root server and local resolver.