TN Online TestSamacheer Kalvi practice

Class 12 - Domain Name System (DNS) Study Guide

This chapter explains the Domain Name System, which acts as the directory of the internet by translating human-friendly domain names into machine-readable IP addresses. It covers the structures of IPv4 and IPv6 addresses, components of Uniform Resource Locators, and the collaborative roles of namespaces, zones, name servers, and resolvers.

Study this chapter

Book Back Questions10 textbook MCQs · solved Additional MCQs15 extra MCQs · solved Practice TestInteractive · instant score Book Back TestTest yourself on the textbook set Additional MCQ TestTest yourself on the extra set Study NotesConcepts & methods Formula SheetAll key formulas

About Domain Name System (DNS)

Medium ~90 min study

The internet connects billions of devices globally, but computers can only locate each other using complex numerical identifiers known as IP addresses. Because remembering strings of digits for every website is practically impossible for humans, the Domain Name System was invented as a mapping mechanism. This system acts like an automated directory, linking easily remembered text-based names to their exact numerical locations on the network.

To understand how this directory works, students explore the architecture of both IPv4 and IPv6 addressing schemes, followed by the structure of Uniform Resource Locators. These concepts tie directly into the core components of the system: the hierarchical namespace, specialized name servers that store directory files, and the zones that divide administrative duties. Finally, the resolver program on the user's computer ties everything together by initiating the translation process through recursive network queries.

In high-school board evaluations, this chapter serves as a vital foundation for computer networking concepts. Examination questions frequently focus on distinguishing between absolute and relative web addresses, calculating address space capacities using exponents such as \(2^{32}\) or \(2^{128}\), and detailing the step-by-step workflow of a translation query. Mastering these mechanics allows students to secure high marks in both structured theoretical questions and practical networking exercises.

What you'll learn

Before you start

Topics covered in this chapter

Domain Name Mapping The systematic translation of easily remembered alphabetical domain names into machine-readable numerical network coordinates to facilitate convenient internet navigation across the globe.
IPv4 Addressing Protocols A thirty-two-bit numerical addressing standard that uniquely identifies host devices on a local or global network using dotted-decimal or binary representation formats.
IPv6 Addressing Protocols A one-hundred-and-twenty-eight-bit logical addressing scheme developed to replace older formats and provide a massive address space using colon-separated hexadecimal blocks.
URL Structural Components The standardized four-part address of web documents consisting of the protocol, host domain name, folders, and specific file name.
Hierarchical Namespace Tree A decentralized directory structure organized like an inverted tree with a root element and multiple levels of nodes.
Specialized Name Servers The distributed database hosts that store directory information, organized into root, primary, and secondary servers to process domain lookup requests.
Resolver Resolution Queries The translation process initiated by client software to lookup numerical addresses from local, root, and top-level domain servers.

Domain Name System (DNS) explained

Comprehensive Analysis of the Domain Name System

Introduction to Domain Name Mapping

The internet relies on name translation services to bridge the fundamental gap between human cognitive preferences and machine-level network routing. In the earliest days of computer communication, users were forced to enter raw numeric coordinates to reach host machines. The creation of alphabetical domains mapped directly to these coordinates resolved this severe usability bottleneck, allowing modern web applications to operate smoothly at the application layer through a structured, globally distributed database.

Understanding IP Addressing Schemes

Core internet routing relies entirely on Internet Protocol addressing to distinguish and locate individual hardware nodes across the globe. The legacy IPv4 standard establishes a thirty-two-bit space offering exactly \(2^{32}\) unique addresses represented as dotted-decimal values. Because of rapid device proliferation, the newer IPv6 standard was developed using a one-hundred-and-twenty-eight-bit layout, providing \(2^{128}\) total options formatted as colon-separated hexadecimal blocks to secure long-term network growth.

Anatomy of a Uniform Resource Locator

A Uniform Resource Locator represents the precise digital coordinate of any file or resource hosted online. This locator breaks down into four essential blocks: the security or transfer protocol, the host machine's domain, the subfolder organization, and the final file extension. Web systems categorize these locators into absolute URLs, which outline the entire path starting from the protocol, and relative URLs, which provide a shortened path relative to the current directory.

The Hierarchical DNS Namespace

To guarantee that domain names remain completely unique without bottlenecking under a single controller, the system arranges names in a tree-like hierarchical namespace. This logical structure supports up to one hundred and twenty-eight levels, starting from a null root element at level zero. Every individual branch point or node is assigned a specific character string called a label, which is restricted to sixty-three characters to maintain clarity and system compatibility.

Types and Functions of Name Servers

The global database containing domain records is shared across three primary classes of name servers to ensure high availability. Thirteen root name servers sit at the top of the hierarchy, directing traffic to top-level domain systems. Authoritative primary name servers hold editable files with complete zone resource records, while secondary name servers act as read-only mirrors that alleviate server load and guarantee network service reliability.

Zones, Resolvers, and Query Workflows

Administrative boundaries within the global directory are managed through segmented territories known as zones, which keep track of localized resource files. When a user requests a web resource, a specialized software application on their computer called a resolver triggers the lookup. This resolver queries a local server, which systematically climbs the administrative tree to locate the correct coordinate and return it to the browser.

Common mistakes to avoid

Test yourself on these with the practice test, then check the worked reasoning in the solved MCQs.

Frequently asked questions

What is the main difference between IPv4 and IPv6?

IPv4 uses a thirty-two-bit address scheme represented as dotted decimals, providing up to four billion unique addresses. In contrast, IPv6 uses a one-hundred-and-twenty-eight-bit layout represented in hexadecimal blocks, offering a virtually unlimited supply of addresses to accommodate the massive growth of connected devices globally.

How does DNS convert a website name to an IP address?

When you type a URL, your system's resolver queries a local name server. If the address is not cached, the query ascends the DNS hierarchy through root, top-level domain, and authoritative name servers. Once the matching numeric IP address is located, it is sent back to the browser to establish a connection.

Why are there both primary and secondary name servers?

Primary name servers contain the master zone files which can be directly edited by domain administrators. Secondary name servers hold read-only copies of these files. They participate in answering queries to distribute the network load, prevent single-point failures, and ensure the website remains accessible if the primary server goes offline.

What characters are allowed in a domain name?

Domain names can only contain alphabetical letters from a to z, numeric digits from zero to nine, and hyphens. However, hyphens cannot be used as the starting character. Spaces, underscores, and other special symbols are strictly prohibited under standard naming rules, and the entire domain name is capped at two hundred and fifty-three characters.

Is a DNS zone different from a domain?

Yes, they are different. A domain is a subtree of the hierarchical namespace, while a zone is an administrative boundary representing a contiguous portion of that namespace. A single name server can manage multiple zones, and a single zone can contain multiple domains and subdomains as long as they are managed together.

What happens if a DNS server fails?

If a name server fails, computers cannot resolve domain names to IP addresses, meaning you cannot access websites using text addresses. However, because the system employs redundancy with secondary name servers and caches records at multiple network levels, alternative servers usually step in to resolve the queries seamlessly.

Last updated 13 August 2026

More chapters in Computer Applications

View all
1 Multimedia 2 An Introduction to Adobe PageMaker 3 Introduction to Database Management System 4 PHP: Hypertext Preprocessor 5 Functions and Arrays in PHP 6 Conditional Statements in PHP 7 Loops in PHP 8 Forms and Files 9 Connecting PHP and MYSQL 10 Introduction to Computer Networks 11 Network Examples and Protocols 13 Network Cabling 14 Open Source Concepts 15 E-Commerce 16 Electronic Payment Systems 17 E-Commerce Security Systems 18 Electronic Data Interchange- EDI