Understanding DNS - Domain Name System Explained

May 15, 2024

The domain name system was not always the default for accessing information of the web. In the early days of internet usage, a small group of individual networks managed their own naming conventions. It wasn’t until 1983 that the concept of a centralized DNS was created. When the Internet Engineering Task Force was created in 1986 to apply standard and best practices to the burgeoning platform, DNS was among its initial group of adopted guidelines.

However, the web is designed for a simple user experience with domain names we can remember, such as www.oracle.com. DNS is the system that links domain names with their proper IP addresses. When web users enter a domain name in their browser, the local internet service provider (ISP) uses DNS to identify the correct IP for the domain name, thus allowing the web user to download the desired page or asset. Further specific steps occur behind the scenes, but for the typical user, that is their experience.

What is a Domain Name System (DNS)?

DNS is the main index of the internet that directs traffic for queries across the web. The simplest analogy is that of a contact list on your phone: contacts are sorted by name, but then they contain specific phone numbers or addresses. At its simplest, DNS is like that for the internet. All internet servers work on Internet Protocol (IP) addresses, which mostly look like several sets of numbers separated by periods (e.g. 123.456.789.100) though other variations exist.

Domain name system vs. domain name server

For the casual user, it can be very easy to confuse domain name system and domain name server with the acronym DNS. What is the difference? DNS properly stands for domain name system; domain name server technically is not a true term. Instead, people tend to mean nameservers, which are the local DNS servers used to resolve queries about local names. The domain name system refers to a larger, more-encompassing system for translating domain names and IP addresses as part of a multi-step process. Both the DNS process and the roles of various domain name servers are described below.

How DNS works

While the user experience of DNS was covered above, many further steps occur outside of the user’s view. Users typically only see the steps in their web browser’s status bar, such as “contacting host” and “waiting for response.” The initial activity of the web page loading process is centered around DNS lookup and translation.

Specifically, the uses the following steps, though a local cache on a browser or operating system can bypass some of these steps.

Initiate query by user: The web browser’s user initiates the query by typing a domain name, clicking on a hyperlink or loading a bookmark. The query is set into the internet to a recursive DNS resolver.

Resolve TLD: The resolver queries an authoritative nameserver, which generates a Top-Level Domain (TLD) response that identifies the domain’s suffix (.com, .org, etc.) and forwards the request.

Resolve nameserver: The TLD server responds with appropriate IP address of the domain’s nameserver.

Resolve IP address: With the nameserver identified, the recursive DNS resolver queries the domain’s nameserver. The nameserver responds with the proper IP address.

Data transfer: With the IP address identified, the browser can request data to be transferred for the target page and/or assets using hypertext transfer protocol (HTTP).

DNS Benefits

  • Speed
  • Scalability
  • Global Reach

DNS Challenges

  • Security Threats
  • Complexity in Management
  • Propagation Delays

Enterprise DNS use cases

To get a better perspective of how enterprise DNS is used, the following situations offer a closer look.

Intelligent traffic routing

Internet traffic comes with an overwhelming amount of variables from users. Location, frequency, heavy volume due to unexpected events or publicity, and many more items can cause a swell of traffic. DNS traffic management helps to balance this with intelligent systems designed to steer traffic based on location, steer traffic based on IP prefix, load balancing among hardware, and other such tools balance resources and ensure end-users have a fast and responsive experience. Learn more about intelligent traffic routing

High availability

Every business and organization wants to maximize their uptime for their site, but some circumstances (such as an app that constantly queries a database) prioritize high availability. DNS is part of the equation that ensures high availability, and this is achieved by using a network of hardware that is balanced against failure caused by natural disasters, power outages, weather, and other uncontrollable factors. This geographically diverse network creates a strong level of redundancy to ensure services remain uninterrupted. Learn more about high availability

DNS cache management

DNS caching is an effective tool in creating faster load/response times for end users. However, effective management of a DNS cache is necessary to ensure accuracy and protect from DNS poisoning so that private data isn’t at risk of benign exposed. Fine-tuning the DNS cache to meet an organization’s requirements is part of the greater DNS management spectrum. Learn more about DNS cache management

DNS Security Practices

  1. DNSSEC Write about ensuring the authenticity of DNS responses to prevent attacks.
  2. DDoS Mitigation Write about protecting DNS from DDoS attacks to ensure service availability.
  3. DNS Over HTTPS (DoH) and DNS Over TLS (DoT) Write about encrypting DNS queries to enhance privacy and prevent eavesdropping.

Discover Advanced DNS Solutions

Oracle’s globally distributed DNS service is part of Oracle Cloud Infrastructure and delivers enterprise DNS capabilities. The result is enhanced DNS performance, resiliency, and scalability, connecting users to customers’ application as quickly as possible, from anywhere in the world.

Learn more about Oracle DNS

Oracle Cloud Free Tier

Build, test, and deploy applications on Oracle Cloud—for free.