APURV
  • Home
  • Journey
  • Projects
  • Blogs
  • Interview
  • Exams
Resume
APURV

Building scalable, secure, and production-ready cloud infrastructure. Automation first.

NAVIGATION

HomeExperienceProjectsCertificationsSkills

TECH STACK

AWSGCPK8sCI/CDLinuxDocker

CONNECT

LinkedInGitHubEmailResume

Β© 2026 Apurv Gujjar. All rights reserved.
Apurv Gujjar
Apurv GujjarDevOps & Cloud Engineer
|Interview Documentation
Portfolio
Handbooks
🎯LinuxπŸ™Git & GitHubπŸ€–GitHub Actions🌐Networking☁AWSπŸ› Terraform🐳Docker☸KubernetesπŸ“ŠMonitoringπŸ›‘DevSecOpsπŸ’°Cost Optimization🚨Incident ScenariosπŸ‘€HR & Behavioral☁GCP🐍Python
Interview DocumentationNetworkingHow does DNS resolution work?
Back to all Networking questions
Q1

How does DNS resolution work?

πŸ’¬Answer

DNS acts as the phonebook of the internet, converting human-readable domain names (e.g., example.com) into computer-readable IP addresses (e.g., 93.184.216.34) in a recursive process:

                  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
                  β”‚ πŸ‘€ User Web Browser  β”‚
                  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                             β”‚ 1. Query: "example.com"
                             β–Ό
                  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
                  β”‚ πŸ—„οΈ Recursive Resolverβ”‚ ◀───┐
                  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜     β”‚
                             β”‚                 β”‚ 8. Returns IP
                             β”‚ 2. Queries      β”‚
                             β–Ό                 β”‚
                 β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”‚
                 β”‚ 🌐 Root Name Server    β”‚ ────
                 β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β”‚
                             β”‚                 β”‚
                             β”‚ 3. Refer to .comβ”‚
                             β–Ό                 β”‚
                 β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”‚
                 β”‚ 🌐 TLD Name Server     β”‚ ────
                 β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β”‚
                             β”‚                 β”‚
                             β”‚ 4. Refer to DNS β”‚
                             β–Ό                 β”‚
                 β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”‚
                 β”‚πŸŒ Authoritative Server β”‚ β”€β”€β”€β”˜
                 β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
  1. Client Query: Browser checks local DNS cache. If not found, it queries the Recursive Resolver (usually managed by your ISP or a public provider like 8.8.8.8).
  2. Root Server Query: The recursive resolver queries a Root Name Server (.). The root server directs the resolver to the Top-Level Domain (TLD) Server handling .com.
  3. TLD Server Query: The resolver queries the TLD server. The TLD server responds with the IP of the domain's Authoritative Name Server.
  4. Authoritative Server Query: The resolver queries the authoritative name server, which returns the actual IP address mapped to the domain.
  5. Caching & Response: The resolver returns the IP to the browser and caches it for future use.

Related Networking Questions

View All NetworkingQuestions β†’
Q1

Explain the OSI Model.

Q2

Explain the TCP/IP Model.

Q3

Compare TCP and UDP.

Q4

What is a socket?

Apurv Gujjar - DevOps & Cloud Engineer
Created by

Apurv Gujjar

DevOps & Cloud Engineer

Specialized in:DevOpsAWSGCPKubernetesTerraformDocker
View Portfolio