# How DNS Resolution Works

## What is DNS and why name resolution exists

> DNS is the Domain name System And the name resolution comes from It directly not change The domain name into IP
> 
> it goes into different process step by step to resolve it From Domain Name ——&gt; IP
> 
> Some of the process are As given below
> 
> * Root server
>     
> * TLD Server ( top level domain)
>     
> * Authoritative server
>     
> 
> ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1769849750026/b7a46e05-0d09-4e8e-bd91-c4c2a7d10800.jpeg align="center")

## Why DNS records are needed

> it is required because to find where is the server to whom request and get the response Also because browser By default do not Change Domain name into IP
> 
> it help in doing load balancing to same domain name

## What an **NS Record** is (who is responsible for a domain)

> It is named as NS record because It hold the Name server To whom the domains belongs The authoritative DNS server is responsible Acid What is the IP of that server
> 
> Just have a look how is point To the IP By image
> 
> ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1769851031300/155504ae-a770-44c8-ba88-f6f7622c7d09.png align="center")
> 
> Here you can be able to look That it ask What is the type of DNS record What is the name And where does it points to

## what an **A Record** is (domain → IPv4 address)

> A record tells the internet which IPv4 address a domain name points to.
> 
> With the help of this record It can communicate with the help of IP not name

## what an **AAAA Record** is (domain → IPv6 address)

> This is also just Record But it is of IPV 6 It also gives .The IPV 6 address of which domain name Points
> 
> ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1769851615962/74bdb98d-a91d-43a3-9706-7233a6130a4a.png align="center")
> 
> You can directly Give IPV 6 address At which your domain points to Do not require any name Is totally depend upon you You want to give The name or not

**Summarize part**

> DNS (Domain Name System) is crucial for converting domain names into IP addresses through a process called name resolution. This involves multiple steps, including interactions with root servers, TLD servers, and authoritative servers. DNS records, such as NS, A, and AAAA records, are essential for identifying server locations, facilitating load balancing, and translating domain names to IPv4 or IPv6 addresses. These records help browsers and other internet services navigate the web using IP addresses rather than domain names.
