TN Online TestSamacheer Kalvi practice

Domain Name System (DNS) - Study Notes

Share this chapter: Telegram

Chapter Summary

The Domain Name System (DNS) serves as the directory for the Internet, mapping human-friendly alphabetical domain names to numerical IP addresses that computers use to identify each other on a network. By acting as a distributed database, DNS eliminates the need for users to memorize complex strings of numbers, allowing seamless access to global web resources. This chapter explores IP addressing structures (IPv4 and IPv6), URL components, the hierarchical structure of the Domain Name Space, and the step-by-step mechanism of DNS resolution.

Learning Objectives

Key Concepts and Definitions

Worked Methods

Converting Binary IPv4 to Dotted-Decimal Notation

To convert a 32-bit binary IPv4 address into dotted-decimal format, perform the following steps:

  1. Divide the 32 bits into four groups of 8 bits (octets). For example, the binary address: 10000000 10001111 10001001 10010000.
  2. Convert each binary octet to its base-10 decimal value:
    • 10000000 = 27 = 128
    • 10001111 = 128 + 8 + 4 + 2 + 1 = 143
    • 10001001 = 128 + 8 + 1 = 137
    • 10001000 = 128 + 16 = 144
  3. Join the four decimal numbers using dots as separators to get: 128.143.137.144.

Tracing the Path of a DNS Lookup Query

When a student enters a domain name like www.tnscert.org into their browser, the following lookup sequence occurs:

  1. The local computer first searches its internal cache memory. If found, the IP is retrieved instantly.
  2. If absent, the computer sends a query to the Resolver (typically provided by the Internet Service Provider).
  3. If the Resolver cannot answer from its own cache, it queries the Root Name Server.
  4. The Root Name Server reads the Top-Level Domain (TLD) suffix (e.g., .org) and redirects the Resolver to the appropriate TLD server.
  5. The TLD server directs the Resolver to the Authoritative Name Server responsible for tnscert.org.
  6. The Authoritative Server fetches the IP address from its zone file and returns it to the Resolver.
  7. The Resolver delivers the IP address back to the browser and caches it for future use. The browser then establishes an HTTP connection with the target web server.

Common Exam Traps

Exam Tips

Solved MCQs → Practice test →

More for 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 Formula SheetAll key formulas

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