Skip to main content

What is a DNS


Domain Enter Karna:

Jab aap apne browser mein koi website ka naam (e.g., www.google.com) likhte hain, to yeh domain name hota hai.

DNS Query:

Browser pehle yeh pata lagata hai ke is domain name ka IP address kya hai (kyun ke internet sirf IP addresses ko samajhta hai).

DNS Resolver:

Aapka internet service provider (ISP) ka DNS resolver yeh request receive karta hai aur IP address dhundhne ki koshish karta hai.

DNS Servers ke Layers:

Recursive Resolver:

Yeh pehle try karta hai local cache se answer dena. Agar na mile, to Root Server se poochta hai.

Root Server:

Root Server batata hai ke top-level domain (e.g., .com, .org) kahan milega.

TLD Server:

TLD server batata hai ke specific domain (e.g., google.com) ka information kahan hai.

Authoritative DNS Server:

 Yeh final server hota hai jo domain ka IP address provide karta hai.

IP Address Return Hona:

 Resolver ko IP address milta hai aur yeh aapke browser ko deta hai.

Website Open Hona:

 Browser IP address use karke server se connect hota hai aur website load karta hai.

                                 __________

1. Forward Lookup: Kya Hota Hai?

Domain name se IP address find karna.

Example:

Aap www.google.com likhte ho aur DNS se iska IP address milta hai, jaise 142.250.190.78.

2. Reverse Lookup: Kya Hota Hai?

IP address se domain name find karna.

Example:

Aap 142.250.190.78 dete ho aur DNS se iska domain name milta hai, jaise www.google.com.

Short Comparison:

Forward Lookup: Domain → IP

Reverse Lookup: IP → Domain

                                  __________

DNS process ki short example:

1.     Tum Google ka ghar (website) ka address (IP) dhundhne ja rahe ho, lekin address pata nahi, sirf naam pata hai.

2.     Pehle apne area ke office (DNS Resolver) jaate ho. Agar unke paas address hai, turant mil jayega; warna wo aage poochhenge.

3.     City office (Root Server) batata hai ke "Google .com colony mein hai."

4.     Colony office (TLD Server) batata hai ke "Google ke ghar ka detail unke main office (Authoritative Server) se milega."

5.     Resolver finally Google ke main office se exact address le aata hai.

6.     Tumhe address mil gaya aur tum Google ke ghar (server) connect ho gaye!

Comments

Popular posts from this blog

CSST COURSE 1.0

Q1. WHAT IS A ADDRESSING. Network addressing is like a two-part delivery system:   Logical Addressing (IP): This is like your permanent address (e.g., 192.168.1.1) that lets data find your device anywhere on the internet. Physical Addressing (MAC): Think of this as a unique ID for your device's network card (AA:BB:CC:DD:EE:FF) used for local delivery within your network. Q2. WHAT IS A PACKET AND FRAME . Packets: Layer: Network Layer (Layer 3) Content: The actual data you want to send, like an email, a video, or website information. Addressing: Contains logical addresses (IP addresses) to identify the sender and receiver on the network. Size: Can vary depending on the data type, but generally larger than frames. Travels across networks: Packets can travel across different networks, like the internet, as they are routed based on IP addresses. Frames: Layer: Data Link Layer (Layer 2) Content: The packet wrapped with additional information for local deliver...

DOS AND DDOS ATTACK

A Dos (Denial-Of-Service) Attack and A DDOS (Distributed Denial-Of-Service) Attack Are Both Attempts to Make a Computer System or Network Resource Unavailable to Legitimate Users. However, They Differ in How They Achieve This: Dos Attack: Imagine A Single Person Throwing Rocks at A Castle Gate. A This Person Represents the Attacker, And the Rocks Represent the Malicious Traffic. The Castle Gate Represents the Target System or Network Resource. The Attacker Keeps Throwing Rocks, Trying to Overwhelm the Gate's Defenses and Gain Entry. Dos Attacks Are Typically Launched from A Single System. They Can Be Effective Against Small Systems or Networks, But Larger Systems Can Often Withstand Them. DDos Attack: Imagine An Army Throwing Rocks at A Castle Gate. This Army Represents the Attacker, And the Rocks Represent the Malicious Traffic. The Castle Gate Represents the Target System or Network Resource. The Attackers Coordinate Their Attack, Throwing Rocks from Multiple Directions at Once. ...

LSA TYPES

In OSPF, different types of routers create various types of LSAs (Link-State Advertisements) depending on their roles in the network. Here’s a breakdown of the routers and the LSAs they generate:   1. All Routers (including internal routers):    - Type 1: Router LSA       - Every router in an OSPF area generates a Type 1 LSA, which describes its own interfaces and links within the same area.   2. Designated Router (DR):    - Type 2: Network LSA       - The DR on multi-access networks (like Ethernet) generates this LSA to describe all the routers attached to the shared network.   3. Area Border Router (ABR):    - Type 3: Summary LSA       - ABRs generate Type 3 LSAs to advertise networks from one OSPF area to another (inter-area communication).    - Type 4: ASBR Summary LSA       - ABRs also generate Type 4 LSAs to describe the path to...