What is DNS and How does DNS work?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our ITSupportBD questions & Answers Engine to ask questions answer people’s questions & connect with other IT people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
All PCs on the Internet, from your PDA or PC to the workers that serve content for gigantic retail sites, discover and speak with each other by utilizing numbers. These numbers are known as IP addresses. At the point when you open an internet browser and go to a site, you don’t need to bear in mind and enter a long number. All things considered, you can enter a space name like example.com and still end up in the perfect spot.
The Domain Name System (DNS) is the phonebook of the Internet. People access data online through space names, as nytimes.com or espn.com. Internet browsers associate through Internet Protocol (IP) addresses. DNS makes an interpretation of area names to IP addresses so programs can stack Internet assets.
Every gadget associated with the Internet has a special IP address which different machines use to discover the gadget. DNS workers take out the requirement for people to retain IP locations, for example, 192.168.1.1 (in IPv4), or more intricate more current alphanumeric IP locations, for example, 2400:cb00:2048:1::c629:d7a2 (in IPv6).
A DNS administration, for example, Amazon Route 53 is a worldwide appropriated administration that interprets comprehensible names like http://www.example.com into the numeric IP tends to like 192.0.2.1 that PCs use to interface with one another. The Internet’s DNS framework works similar as a telephone directory by dealing with the planning among names and numbers. DNS workers make an interpretation of solicitations for names into IP addresses, controlling which worker an end client will arrive at when they type a space name into their internet browser. These solicitations are called questions.
How does DNS work?
The course of DNS goal includes changing over a hostname, (for example, http://www.example.com) into a PC agreeable IP address, (for example, 192.168.1.1). An IP address is given to every gadget on the Internet, and that address is important to track down the fitting Internet gadget – like a road address is utilized to track down a specific home. At the point when a client needs to stack a page, an interpretation should happen between what a client types into their internet browser (example.com) and the machine-accommodating location important to find the example.com webpage.The DNS index that matches name to numbers isn’t found across the board place in some dim corner of the web. With in excess of 332 million area names recorded toward the finish of 2017, a solitary registry would be extremely huge to be sure. Like the actual web, the index is appropriated all throughout the planet, put away on space name workers (by and large alluded to as DNS workers for short) that all speak with one another on an exceptionally standard premise to give updates and redundancies.
To comprehend the cycle behind the DNS goal, find out with regards to the diverse equipment parts a DNS question should pass between. For the internet browser, the DNS query happens “in the background” and requires no communication from the client’s PC separated from the underlying solicitation.
Sorts of DNS Service
Definitive DNS: A legitimate DNS administration gives an update system that designers use to deal with their public DNS names. It then, at that point, answers DNS questions, making an interpretation of area names into IP address so PCs can speak with one another. Definitive DNS has the last authority over a space and is liable for furnishing replies to recursive DNS workers with the IP address data. Amazon Route 53 is a legitimate DNS framework.
Recursive DNS: Clients regularly don’t make inquiries straightforwardly to legitimate DNS administrations. All things being equal, they for the most part interface with one more sort of DNS administration known a resolver, or a recursive DNS administration. A recursive DNS administration behaves like an inn attendant: while it doesn’t claim any DNS records, it goes about as a go-between who can get the DNS data for your benefit. On the off chance that a recursive DNS has the DNS reference reserved, or put away for a while, then, at that point, it answers the DNS question by giving the source or IP data. If not, it passes the question to at least one legitimate DNS workers to discover the data.
A short history of DNS
At the point when the web was extremely, little, it was simpler for individuals to compare explicit IP addresses with explicit PCs, yet that didn’t keep going for long as more gadgets and individuals joined the developing organization. It’s as yet conceivable to type a particular IP address into a program to arrive at a site, however at that point, as presently, individuals needed a location comprised of simple to-recall words, of the sort that we would perceive as a space name (like networkworld.com) today. During the 1970s and mid ’80s, those names and addresses were appointed by one individual — Elizabeth Feinler at Stanford – who kept an expert rundown of each Internet-associated PC in a text record called HOSTS.TXT.
This was clearly an unsound circumstance as the Internet developed, not least in light of the fact that Feinler just dealt with demands before 6 p.m. California time, and went on vacation for Christmas. In 1983, Paul Mockapetris, a specialist at USC, was entrusted with concocting a trade off among various ideas for managing the issue. He essentially overlooked them all and fostered his own framework, which he named DNS. While it’s clearly changed a considerable amount from that point forward, at a crucial level it actually works the same way it did almost 40 years prior.
DNS এর পূর্ণরূপ হচ্ছে Domain Name System। DNS Server কে আপনারা একটি ফোন বুক এর মতো চিন্তা করতে পারেন। যখন আমরা ব্রাউজারে কোনো এড্রেস লিখে সার্চ দিই তখন সেটি isp থেকে DNS Server এর কাছে যায়। তখন DNS Server আমাদের দেওয়া এড্রেসটিকে নির্দিষ্ট একটি আইপিতে রূপান্তর করে আবার আমাদের কাছে পাঠিয়ে দেয়।
DNS Server এ এড্রেস এর সাথে তার নির্দিষ্ট আইপিটি লিখে রাখা থাকে। যেমন আমরা আমাদের মোবাইল এর ফোন বুকে নম্বর এর সাথে তার নামটি লিখে সেভ করে থাকি। যাতে করে পরবর্তীতে খুঁজে পেতে সহজ হয়। ডোমেন নেম সিস্টেম (ডিএনএস) হল এমন একটা প্রযুক্তি যা ইন্টারনেট ব্যবহারকারীদের বিভিন্ন ওয়েবসাইট এবং ইন্টারনেটের অন্যান্য স্থানে পরিচালিত করে। উদাহরণস্বরূপ আপনার মোবাইলের ফোন বুক এর এন্ট্রিকে ধরা যেতে পারে যেখানে আমরা প্রত্যেকটি নাম্বার এর স্থানে ব্যক্তি বিশেষের নাম দিয়ে শনাক্ত করে থাকি। একইভাবে ডিএনএস এর রেকর্ডগুলি পরীক্ষা করে এবং তারপরে আপনার কম্পিউটারকে ওয়েব সাইটটি কোথায় রয়েছে তা বলে। DNS (ডিএনএস) বিভিন্ন ধরণের অনুবাদক হিসাবেও কাজ করে। এটি মানব-পঠনযোগ্য ডোমেনগুলি নেয় যেমন, http://www.itsupport.com.bd এবং এটি সাইটের আইপি ঠিকানার সাথে মেলানো হয় এবং ডোমেনের অবস্থান সনাক্ত করতে কম্পিউটারগুলিকে সহযোগিতা করে।সেজন্য DNS Server কে একটি ফোন বুক এর মতো কল্পনা করা যায়।যখন আমরা কোনো ডোমেইনের নাম লিখে সার্চ দিই তখন DNS Server সেই ডোমেইনের নামটাকে তার নির্দিষ্ট আইপি এড্ড্রেসে রূপান্তর করে আমাদেরকে রিটার্ন করে। DNS Server আমাদেরকে আইপি এড্রেস রিটার্ন করার কারণ হচ্ছে ISP (Internet Service Provider) আইপি এড্রেস ছাড়া কোনো ওয়েব সাইটের সার্ভার খুঁজতে পারেনা।
DNS Server প্রথম ধাপ
আপনি আপনার যেকোনো একটি ব্রাউজারে গিয়ে যেকোনো একটি ওয়েবসাইটের এড্রেস লিখে সার্চ করুন। যেমন ধরুন google.com।
google.com লিখে সার্চ করার পরে এটি চলে যাবে ISP এর কাছে। ISP এর কাছে আসার পরে ISP প্রথমে তার ক্যাশ মেমোরিতে খোঁজার চেষ্টা করবে তার সার্ভার ব্যবহার করে কেউ কখনো google.com গিয়েছিলো কিনা। যদি গিয়ে থাকে তাহলে অবস্যই তার কাছে ওয়েবসাইটটির আইপি এড্রেস রয়েছে। সেই আইপি এড্রেস দিয়ে google.com এ নিয়ে যাবে। কিন্তু যদি ISP এর সার্ভার ব্যবহার করে আগে কখনো না গিয়ে থাকে তাহলে সেটি রিকোয়েস্ট করবে Root server এর কাছে।
Root server হচ্ছে ডোমেইন সার্ভার এর মেইন সার্ভার। Root server DNS higher key এর সবচেয়ে উপরে রয়েছে। পৃথিবীতে মোট তেরোটি Root server রয়েছে। যা পৃথিবীর বিভিন্ন স্থানে স্থাপন করা রয়েছে। Root server গুলো অপারেট করা হয় বারোটি ভিন্ন ভিন্ন organigation এর মাদ্ধমে।
প্রত্যেকটা Root server এর আলাদা আলাদা নিজস্ব আইপি রয়েছে। মজার বিষয় হচ্ছে Root server ডোমেইনএর আইপি সম্পর্কে কিচ্ছু জানে না। এখন প্রশ্ন হচ্ছে তাহলে কেন Root server এর কাছে পাঠানো হচ্ছে? এর কারণ হচ্ছে Root server এটা জানে কে google.com কোথায় আছে সেটা জানে।
এখন এখানে আরেকটা প্রশ্ন হচ্ছে Root server কিভাবে এটা জানে কার কাছে google.com এর আইপি আছে? এই প্রশ্নের উত্তর হচ্ছে Root server.com.info এই ধরনের টপ লেবেল ডোমেইনএর মাদ্ধমে জানতে পারে। প্রত্যেকটা টপ লেবেল ডোমেইনের জন্য আলাদা আলাদা সার্ভার রয়েছে। যদি তা.com হয় তাহলে Root server তাকে.com যেখানে রয়েছে তার তথ্যটি ISP কে দিয়ে দিবে। তখন ISP TLD (Top Label domain) server এর কাছে রিকোয়েস্ট করবে।TLD server ও কিন্তু ডোমেইনের আইপি এড্রেস সম্পর্কে কিচ্ছু জানে না। কিন্তু সে ডোমেইনের অনেক গুলো তথ্য সংগ্রহ করে থাকে। TLD server এটা জানে কোন Name server এর কাছে ডোমেইনটির আইপি এড্রেস রয়েছে। তখন TLD server Name server এর তথ্যটি ISP কে দিয়ে দেয়। তখন ISP সেই তথ্যটি নিয়ে Name server কে রিকোয়েস্ট করে।
Name server সেই সার্ভার যেখানে ডোমেইনটির আইপি এডড্রেসটি সেভ থাকে। তখন সে ডোমেইনটি দেখে তার আইপি এডড্রেসটি খুঁজে বের করে ISP কে ব্যাক করে দিবে। অবশেষে ISP ব্রাউজারকে ব্যাক করে দিবে আর ব্রাউজার আমাদেরকে আমাদের ওয়েব সাইটটি দেখাবে।
আশাকরি সব কিছু বুঝতে পেরেছেন। যদি না বুঝতে পারেন তাহলে অবশ্যই কমেন্ট করে জানাবেন।