Explain the Domain Name System in detail, what DNS is, its benefits and uses with pictures. In addition, the hosting myhost‘s team explained how DNS works and its relationship to the IP address and domain name of the site. Domain: Domain Name in detail and easy.
Have you ever heard of a DNS server or DNS server?
In this lesson from the Basics of Web Hosting Basics series, the team of the myhost of Hosting explains the domain name system, what is DNS, and what are its benefits and uses?
In a detailed and simplified way, you will be able to understand how the DNS system works and its various components, what it uses, how the system works and performs its task, and how to use the domain name system every time you browse the Internet without realizing it.
DNS system is the transliteration of the abbreviation “DNS” in English. This abbreviation, in turn, is the initials of the term “Domain Name System” or “Domain Name System”.
This system is a system that stores data on domain names or “domains” of websites on the Internet, and the most prominent of these data is the IP address of the Web server that hosts the files of the site that owns the domain name.
Thus, the primary function of the DNS system is to associate domain names with the addresses of the servers on which the sites are hosted, and thus the possibility of retrieving this data when needed, mainly when a user visits the website.
For example, when a visitor visits this page on the website of the myhost of Hosting, he writes the link to the site in the browser as follows: myhost.com The DNS system returns the IP location as follows, for example: 173.194.79.121 This is what the browser uses to connect to the server of the hosting myhost‘s website and asks it to send the page.
Thus, the function of the DNS system can be shortened in translating domain names into the Internet Protocol (IP) addresses of those sites, which are similar to the phone number, through which web browsers can communicate with the web servers on which the websites are located.
This lesson is part of
Hosting Basics Series
- What is web hosting?
- What is a data center?
- What is a domain?
- What is DNS?
- What is a server?
- What is a bandwith?
- Hosting resources explained
- Compare types of hosting
- What is shared hosting?
- What is cloud hosting?
- What is a VPS virtual server?
- What is a ressler?
- What is cPanel?
- Is there unlimited hosting?
- What is WordPress?
- How to create a site
Components of the DNS explanation
- What is DNS?
- How does DNS work?
- The importance of DNS
What is DNS?
The Domain Name System (DNS) can be described as a decentralized system consisting of decentralized databases distributed around the world and connected to the Internet. These databases are hosted (located) on servers whose task is to maintain the database and perform operations on the data in that database.
DNS system and phonebook!
These rules are very similar to a telephone directory and also perform a very similar function. In order to call an acquaintance, you’ll need to dial their phone number every time you need to call them, so you’ll need to remember all your acquaintance numbers.
As the number of acquaintances increases, it will be almost impossible for you to memorize all of their numbers, so a phonebook has emerged that saves the numbers of each of your acquaintances and links them to the person’s name. So all you are required to do is enter the person’s name only and the phonebook will translate that name into their phone number.
How does DNS work?
The Domain Name System is not much different from the phonebook. Each website on the Internet has an Internet Protocol or IP address, which is a set of numbers in the case of IPv4 and numbers and letters in the case of IPv6..
Thus, in order to visit any website, you will need to remember its IP address. Since the Internet has hundreds of millions of websites, this is impossible for anyone, which is why domain names that resemble the name appeared in the phonebook.
The function of the DNS is to translate the domain name into its IP address. When visiting the website of the myhost of Hosting, for example, you do not have to save his IP address, which is similar to this address for Google 142.250.74.46. It’s just enough to enter this address myhost.com In your Internet browser DNS will convert it to the IP address of the hosting myhost‘s website.
Steps to work for the DNS system
Here are the steps that happen when you want to visit a page on the site of themyhost of Hosting or any other site that is practically on the Internet.
- When you want to visit the page of the best web hosting guide in the site of themyhostof Hosting, you enter this title https://myhost/best-hosting/ In the browser, which in turn connects to the DNS Server and asks it for the IP address of our site’s domain. myhost.com.
- The domain name server searches for the domain address in its records and sends the IP address of the hosting myhost‘s site to your browser.
- Your browser connects to the web server on which the hosting myhost website is hosted using the IP address sent to it by the DNS server, and asks it to send the best hosting page in the hosting myhost‘s website by sending its link.
- Our server performs operations and steps according to the code we have previously determined, and then sends the web page requested by your device to it as a page encoded in Hypertext Markup Language (HTML) via HTTP..
- Your browser displays the web page and its components sent to it by the server of the hosting myhost‘s website.
These steps are illustrated in the following figure.
These steps occur in seconds or parts of them without you even noticing them, depending on the speed of your device’s connection to the Internet and the response speed of the Domain Name Server.
Most computers also store data sent by the DNS server locally so that you can see it later without having to request it from the DNS server every time you want to visit the site.
Why is DNS important?
As it turned out previously, DNS converts the site link to its IP address, thus saving users the trouble of saving the IP site, which will be very difficult, especially if you are visiting many sites.
In addition, the IP address is subject to change at any time when the website moves to a different Web server or when the website owner wants to change the IP address.
As mentioned by the hosting myhost‘s team above, DNS works in a similar way to a phonebook on your mobile phone.
Instead of memorizing and typing down all your acquaintance numbers whenever you want to call them, you’ll just need to look for the name of the person in the phonebook and the phonebook will show you their number(s) so you can get in touch.
Thus, DNS is the basis on which the Domain Name Registration system operates.
Read also: Web Hosting: What is Hosting and Types of Web Hosting?