What is DNS ( Domain Name Server) ? | How DNS works

What is DNS ( Domain Name Server) ? | How DNS works 

Internet domain names can be found and converted into Internet Protocol (IP) addresses using the domain name system (DNS), a naming database. The domain name system connects the IP address that a computer uses to find a website to the name that users use to find it.

When someone types "thenetworkdna.com" into a web browser, for instance, a server in the background maps that name to the appropriate IP address.

The majority of internet activities, including web browsing, depend on DNS to quickly provide the data required to link users to distant hosts. A hierarchy of authority governs DNS mapping across the internet. Access providers, businesses, governments, academic institutions, and other entities usually have their own allotted domain names and IP address ranges. In order to control the mapping of those names to those addresses, they usually also operate DNS servers. The domain name of the web server that receives client requests is the foundation of the majority of Uniform Resource Locators (URLs).

What is DNS? | How DNS works

How DNS Works ?

DNS (Domain Name System) translates domain names (like thenetworkdna.com) into IP addresses (like 142.251.32.115) so computers can communicate.

Key Steps in DNS Resolution:

Step 1: User Request: As you type the address of the URL "www.thenetworkdna.com" into your browser.

Step 2: Cache Check: Your browser, OS, or router checks if it already knows the IP address.

Step 3: Query Sent to DNS Resolver: If not found, the request goes to a DNS resolver (ISP or public DNS like 8.8.8.8).

Step 4: Root DNS Server: The resolver asks a Root Server, which directs it to the TLD server (e.g., .com).

Step 5: TLD DNS Server: The TLD server directs the request to the Authoritative DNS Server for example.com.

Step 6: Authoritative DNS Server: It provides the actual IP address of example.com.

Step 7: Website Loads: The browser uses the IP address to connect to the website’s server and displays the page.

The user typically doesn't see the full process of requesting the different servers, which takes a fraction of a second.

Requests from within and outside of their own domains are answered by DNS servers. A server gives the authoritative response when a request for details about a name or address inside the domain is made from outside the domain.

A server passes a request for a name or address outside of its domain to another server, often one run by its ISP, when it receives it from inside its domain.

 Continue Reading...