What Is DNS? Definition, Function, and How It Works

November 26, 2026, 8:54 pm

Table of Contents

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 Eranya cloud website without needing to know its IP address.

Before the existence of DNS, computer networks relied on "HOSTS" files, which contained information mapping computer names to their respective IP addresses.

On the Internet, this file was managed centrally, and the latest version had to be copied to every location. One can easily imagine how cumbersome this process was; adding even a single computer to the network meant that the updated file had to be distributed to every location.

As the Internet expanded, a solution was developed: DNS (Domain Name System) was designed to replace the function of HOSTS files, offering advantages such as an unlimited database size and superior performance. Below are the functions and benefits of DNS.

What is DNS?

Understanding what DNS is is quite straightforward; 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 needing 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 for every website they wish to visit—a task that would be extremely difficult and inefficient.

Functions of DNS

In general, the Domain Name System serves the purpose implied by its very definition. However, here are some additional functions of DNS:

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 the requested IP address is found; this is the first type of DNS.

  1. 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 the information regarding the IP address for that domain name.

  1. Caching DNS

Caching DNS is a type of DNS that stores information about domain names and their IP addresses for a temporary period.

When a domain name is requested, the caching DNS first checks its own cache for information regarding that domain name.

If the information is already available in the cache, the caching DNS provides it without needing to search through other DNS servers.

  1. Forward DNS

Forward DNS, often referred to as regular DNS, is a type of DNS that maps domain names to IP addresses. This process occurs when a user attempts to access a website or internet service by entering a domain name into their browser.

  1. Reverse DNS

Reverse DNS is a type of DNS that maps IP addresses to domain names. This process is useful for identifying the domain name associated with an IP address—for instance, to verify whether an IP address originates from a legitimate server.

How DNS Works

Advantages and Disadvantages of DNS

DNS (Domain Name System) is a network protocol used to link domain names with IP addresses, making it easier for users to access websites and internet applications. Below are the advantages and disadvantages of DNS:

Advantages of DNS:

Disadvantages of DNS:

In conclusion, DNS technology makes using the internet easier and more efficient. You no longer need to memorize strings of IP addresses to access a website. Furthermore, DNS also offers enhanced security. Eranyacloud provides a fast and secure DNS service, backed by a Global Anycast DNS Network. Contact us today to access our services.

Jl. Cikini Raya No.72 RT.14/RW.5, Cikini, Menteng, Jakarta 10330, Indonesia

© 2023 PT Era Awan Digital All rights reserved. is a part of PT Era Digital Media .Tbk

Links on this page