Visit complete Cyber Security roadmap

← Back to Topics List


The Domain Name System, or DNS, is a core component of the internet infrastructure. It is often described as the phonebook of the internet, as it translates human-readable domain names (such as into IP addresses (such as that computers use to identify each other on the network.

Here are the key concepts and functions of DNS:

  • Domain Name Resolution: DNS servers, also known as name servers, are responsible for resolving domain names into IP addresses. When you enter a URL in your browser or click on a link, a DNS query is sent to a DNS resolver, which contacts a series of DNS servers to get the correct IP address for the requested domain. Once the IP address is obtained, your browser can then establish a connection with the web server hosting the domain.

  • Hierarchical Structure: DNS follows a hierarchical structure, with the Root DNS servers at the top. Below the root servers are Top-Level Domain (TLD) servers, which are responsible for managing domain names with specific TLDs (such as .com, .org, .net). After that, there are Second-Level Domain (SLD) servers that manage domain names under specific TLDs (for example,

  • Caching: To speed up the domain name resolution process and reduce the load on DNS servers, resolvers and servers often store the results of previous DNS queries in a cache. Cached results have a Time to Live (TTL) value determined by the domain’s owner, and once that TTL expires, the resolver will re-query the DNS servers to obtain the updated information.

  • DNS Records: Domain owners configure various types of DNS records to provide specific information about their domains. Some common DNS record types include:

    • A Record: Address record that maps a domain name to an IPv4 address
    • AAAA Record: Address record for mapping a domain name to an IPv6 address
    • CNAME Record: Canonical name record that maps one domain name (alias) to another domain name (canonical)
    • MX Record: Mail exchange record that specifies the mail server responsible for handling email for the domain
    • TXT Record: Text records providing additional information about the domain, often used for verification or security purposes
  • DNS Security: Cyber threats such as DNS hijacking, cache poisoning, and Distributed Denial of Service (DDoS) attacks have highlighted the importance of DNS security. Several security measures and protocols, including DNSSEC (Domain Name System Security Extensions), help protect DNS servers and their records from these threats.

In summary, DNS is a critical component of the internet, enabling users to connect to websites and online services using easily memorable domain names instead of numerical IP addresses. DNS servers, hierarchically organized and employing caching mechanisms, efficiently manage and resolve domain name queries while implementing security measures to maintain the integrity and safety of the internet infrastructure.

Community is the 6th most starred project on GitHub and is visited by hundreds of thousands of developers every month.

Roadmaps Best Practices Guides Videos Store YouTube by Kamran Ahmed

Community created roadmaps, articles, resources and journeys to help you choose your path and grow in your career.

© · FAQs · Terms · Privacy


The leading DevOps resource for Kubernetes, cloud-native computing, and the latest in at-scale development, deployment, and management.