For some people, the term DNS (Domain Name System) is certainly already familiar. This is because its function is to make it easier for us to access a website without needing to remember the website’s IP address.
For example, you can simply type www.eranyacloud.com/id to access the Eranyacloud website without needing to know its IP address.
Before the existence of DNS, all computer networks relied on HOSTS files, which contained information mapping computer names to their respective IP addresses.
On the Internet, this file is managed centrally, and the latest version of the HOSTS file must be copied to every location. One can easily imagine how cumbersome this becomes: whenever a new computer is added to the network, the latest version of this file must be copied to every single location.
As the Internet network expanded, a solution was developed: the Domain Name System (DNS) was designed to replace the function of HOSTS files, offering advantages such as an unlimited database size and high performance. The following are the functions and advantages of DNS.
What is DNS?
Understanding what DNS is is actually quite simple, as DNS stands for Domain Name System—a system that maps domain names to IP (Internet Protocol) addresses.
DNS allows internet users to easily access websites or internet services without having to remember their IP addresses.
For example, when a user types www.google.com into a browser, DNS looks up the IP address for www.google.com, enabling the device to connect to the Google website.
Without DNS, internet users would have to memorize the IP address of every website they wish to access, which would be extremely difficult and inefficient.
Functions of DNS
Broadly speaking, the Domain Name System functions in accordance with its own definition.
However, there are other functions of DNS, including:
- Locating the appropriate server when sending an e-mail.
- Obtaining the IP address information for a website based on its domain name.
- Processing URL information by mapping it to an IP address.
- Facilitating the identification of website addresses by computer systems, as they only need to read the corresponding IP address.
- Simply checking the cache data and recalling history makes it easier to access previously visited sites. access.
- Facilitating connections between hosts via IP addresses.
- Translating a site’s domain into a simpler format.
- Allowing users to access sites without needing to memorize sequences of IP addresses.
Types of DNS

1. Recursive DNS
Recursive DNS is a type of DNS responsible for finding the IP address of a domain name requested by a user.
Recursive DNS performs an IP address search in stages, moving from one DNS server to another until it finds the requested IP address; this is the first type of DNS.
2. Authoritative DNS
Authoritative DNS is a type of DNS that stores information regarding domain names and their corresponding IP addresses.
When a domain name is requested, the authoritative DNS provides information regarding the IP address for that domain name.
3. DNS Caching
DNS caching refers to a type of DNS that temporarily stores information about domain names and their corresponding IP addresses.
When a domain name is requested, the DNS cache first checks its own cache for information regarding that domain name. I
f the information is already available in the cache, DNS caching will provide that information without needing to search for it again on other DNS servers.
4. Forward DNS
Forward DNS, often referred to as regular DNS, is a type of DNS that maps a domain name to an IP address. This process occurs when a user attempts to access a website or internet service by entering a domain name into a browser.
5. Reverse DNS
Reverse DNS is a type of DNS that maps an IP address to a domain name. This process is useful for identifying the domain name associated with an IP address—for example, to verify whether an IP address originated from a legitimate server.
How DNS Works

- When a user types a domain name into a browser, their computer sends a request to a DNS resolver or DNS cache to find the IP address associated with that domain name.
- The DNS resolver or DNS cache first searches its own cache for information regarding that domain name. If the information is not found in its cache, the DNS resolver will perform a search on other DNS servers.
- The DNS resolver will send a search request to a root DNS server, which provides information about the DNS server that holds the data for the requested domain.
- Next, the DNS resolver will send a request to that specific DNS server—the one that holds the information for the requested domain. If that DNS server does not have the information for the requested domain, it will forward the request to other DNS servers until the information for the requested domain is found.
- Once the IP address information for a domain name has been found, the DNS resolver sends this information to the user’s computer. The user’s computer then uses that IP address to connect to the intended website or internet service.
- In addition, the DNS resolver also stores information regarding the domain name and its corresponding IP address in its cache for a certain period of time. This is useful for speeding up the lookup process for subsequent requests.
Advantages and Disadvantages of DNS
DNS (Domain Name System) is a network protocol used to map domain names to IP addresses, allowing users to access websites and internet applications more easily. The following are the advantages and disadvantages of DNS:
Advantages of DNS:
- Facilitating internet access: DNS allows users to easily access websites and internet applications without needing to memorize the IP address of every website.
- Improving internet access speed: DNS caching can speed up access times to websites, as DNS servers can store IP address information for frequently visited websites.
- Enabling internet access control: By using DNS, network administrators can restrict or block access to specific websites.
- Enhancing internet security: DNS It can also be used to prevent phishing and malware attacks by blocking access to websites deemed unsafe.
Drawbacks of DNS:
- Dependence on DNS servers: When a DNS server experiences disruptions or downtime, user access to the internet will be hindered.
- Potential for DNS cache poisoning attacks: Such attacks can manipulate cached DNS information, causing users to be redirected to incorrect or even malicious websites.
- Vulnerability to DDoS attacks: DDoS attacks can overload DNS servers, which may disrupt user access to the internet.
- Limited capability for controlling internet access: Although DNS can be used to restrict or block access to certain websites; however, users can still employ other methods, such as proxies or VPNs, to access the blocked websites.
In conclusion, DNS technology makes using the internet easier and more efficient. You do not need to memorize strings of IP numbers to access a website. Furthermore, DNS is also more secure to use. Eranyacloud provides a fast and secure DNS service, backed by a Global Anycast DNS Network. Contact us today to access our services.