IP Address, DNS aur Ports Kya Hote Hain? Complete Guide in Hindi (Day 7)

🌐 Day 7: IP Address, DNS & Ports

Agar aap Bug Hunting ya Cyber Security seekh rahe ho, to networking ka basic samajhna bahut zaruri hai.

Aaj hum samjhenge:

👉 IP Address kya hota hai?
👉 DNS kya karta hai?
👉 Ports kya hote hain?
👉 Ye sab internet me kaise kaam karte hain?

Chaliye simple language me samjhte hain.


🔢 IP Address Kya Hota Hai?

IP ka full form hai:

👉 Internet Protocol

IP Address ek unique number hota hai jo har device ko internet par identify karta hai.

Example:

192.168.1.1

Ya phir:

142.250.183.14

Har:

  • Mobile

  • Laptop

  • Server

ka apna IP address hota hai.

Simple words me:

👉 IP Address = Internet par ghar ka exact number


📦 IP Address Ke Types

1️⃣ IPv4

Format:
192.168.0.1

Ye 32-bit hota hai aur limited addresses provide karta hai.


2️⃣ IPv6

Format:
2400:cb00:2048:1::c629:d7a2

Ye 128-bit hota hai aur zyada addresses provide karta hai.

Internet future me mostly IPv6 use karega.


📖 DNS Kya Hota Hai?

DNS ka full form hai:

👉 Domain Name System

DNS ka kaam hota hai:

✔ Domain name ko IP address me convert karna

Example:

google.com142.250.xxx.xxx

Computer domain name nahi samajhta,
wo sirf IP address samajhta hai.

Isliye DNS ko internet ka “Phonebook” kaha jata hai.


🔁 DNS Ka Process

1️⃣ User domain type karta hai
2️⃣ DNS server IP address find karta hai
3️⃣ Browser server se connect karta hai
4️⃣ Website load ho jati hai

Ye process milliseconds me hota hai.


🚪 Ports Kya Hote Hain?

Port ek communication endpoint hota hai.

IP address batata hai:

👉 Kaunsa device

Port batata hai:

👉 Kaunsi service

Example:

  • Port 80 → HTTP

  • Port 443 → HTTPS

  • Port 21 → FTP

  • Port 22 → SSH

Agar IP ghar hai,
to Port us ghar ka specific room hai.


⚙ IP + Port Example

Agar aap likhte ho:

192.168.1.1:80

Iska matlab:

  • IP = 192.168.1.1

  • Port = 80 (HTTP service)


🔐 Bug Hunting Me Ye Kyun Important Hai?

Bug Hunters check karte hain:

✔ Kaunse ports open hain
✔ Kya unnecessary services running hain
✔ Kya DNS misconfigured hai
✔ Kya IP expose ho raha hai

Open ports se vulnerabilities mil sakti hain.

Example:

  • Open database port

  • Weak SSH configuration

  • DNS misconfiguration

Networking samajhna Bug Hunting ki backbone hai 🔥


📊 Quick Comparison

ComponentKaam
IP AddressDevice identify karta hai
DNSDomain ko IP me convert karta hai
PortService identify karta hai

📝 Exam Definition

IP Address ek unique number hota hai jo device ko internet par identify karta hai, DNS domain name ko IP me convert karta hai aur Ports specific services ko identify karte hain.


🚀 Conclusion

Aaj aapne networking ke 3 important pillars samjhe:

✔ IP Address
✔ DNS
✔ Ports

Ab aap Bug Hunting ke liye strong base bana chuke ho 🔥



⬅ Previous Day                       

                               Next Day ➡