code hindi Information technologyCareer blogs Courses info Digital Marketing About

DNS kya hota hai?

DNS kya hota hai? Samajh lete hai is chote se blog mein jaldi se.

DNS ka full form to waise hai yaani Domain Name System, jo ek hierarchical distributed naming system hai jo internet par use hota hai. DNS ka kaam domain names (jaise www.example.com) ko IP addresses (jaise 192.0.2.1) mein convert karna hota hai. Iska mukhya uddeshya internet par resources ko locate karne mein madad karna hai, kyun ki computers IP addresses ka istemal karte hain resources ko identify karne ke liye, lekin domain names humans ke liye yaad rakhne mein aasan hote hain.

DNS kaam kaise karta hai:

1. Domain Name Resolution Request : Jab aap web browser mein kisi website ka URL enter karte hain, to DNS resolution request generate hoti hai. For example, agar aap "www.example.com" open karna chahte hain, to aapka computer request karega ki "www.example.com" ka corresponding IP address kya hai.

2. Local DNS Resolver : Aapke computer ke local DNS resolver (usually a part of your ISP's infrastructure or a public DNS resolver like Google's 8.8.8.8) request ko receive karta hai.

3. DNS Query : Agar local DNS resolver mein requested domain name ka IP address cache mein nahi hota, to woh root DNS server ki location puchta hai. Root DNS server internet par sabse upper level par hota hai.

4. Recursive DNS Server : Root DNS server local DNS resolver ko authoritative DNS server ki location batata hai jo requested domain name ke liye responsible hai. Local DNS resolver phir se query karta hai authoritative DNS server se.

5. Authoritative DNS Server : Authoritative DNS server requested domain name ke IP address ko provide karta hai.

6. Local DNS Resolver Response : Local DNS resolver IP address ko cache karta hai taki future requests ke liye uska istemal ho sake.

7. IP Address Response : Local DNS resolver IP address ko client computer ko provide karta hai.

8. Web Page Retrieval : Client computer IP address ka istemal karke web server se web page retrieve karta hai.

Yeh process kuch milliseconds mein hota hai, aur user ko lagta hai ki woh direct domain name par access kar raha hai, lekin background mein DNS ki hierarchy ka istemal hota hai.

DNS ka istemal internet par navigation aur communication ke liye zaroori hai. Agar DNS system kaam nahi kare, to domain names ko IP addresses mein manually translate karna bohot mushkil hota, aur internet ka istemal aasan nahi hota.

Server kya hota hai

Integrated Development Environment (IDE) kya hai