Blog

How DNS (Domain Name System) Works|IT Passport Exam Prep

April 27, 2026

A breakdown of DNS hierarchical structure, name resolution flow, record types (A, MX, CNAME), and DNS caching, organized for the IT Passport exam.

TagsIT PassportTechnologyNetworking

What is DNS?

DNS (Domain Name System) is a mechanism that converts domain names (e.g., example.com) into IP addresses (e.g., 192.0.2.1) and vice versa. Often called the phonebook of the internet, this communication uses port number 53.

Hierarchical Structure of Domain Names

www.example.com.
└─→ Root (.)
    └─→ TLD (com)
        └─→ Domain (example)
            └─→ Subdomain (www)

The hierarchy of a domain name is read from right to left. Top-level domains (TLDs) include .com, .jp, .net, .org, and so on, followed by the domain name and subdomains beneath them.

Name Resolution Flow

When www.example.com is entered into a browser, it first checks the local DNS cache. If a cache entry exists, that IP address is used. If not, it queries the ISP's DNS resolver. The resolver then queries the root DNS, TLD DNS, and authoritative DNS in order, finally obtaining the IP address and returning it to the browser.

Types of DNS Records

RecordPurposeExample
ADomain → IPv4 addressexample.com → 192.0.2.1
AAAADomain → IPv6 addressexample.com → 2001:db8::1
MXMail server specificationmail.example.com
CNAMEAlias (canonical name)www → example.com
NSAuthoritative DNS serverdns.example.com
TXTArbitrary textSPF, DKIM settings

DNS Caching

DNS caching is a mechanism that stores the results of past queries for a certain period of time (TTL). This reduces the load on DNS servers and speeds up name resolution. However, there is also a risk of returning outdated information.

DNS Security Issues

DNS cache poisoning is an attack that injects false responses to redirect users to malicious sites. DNSSEC is a countermeasure that uses digital signatures to verify authenticity.

Key Points for the IT Passport Exam

In the IT Passport exam, the role of DNS (converting domain names and IP addresses), hierarchical structure and TLDs, the name resolution flow, and record types (especially A, MX, and CNAME) are frequently tested. Be sure to master these points.

Typical Past Exam Question Patterns

  • "Which of the following correctly describes the role of DNS?" type
  • "Which DNS record specifies a mail server?" type → MX

Related Terms

Study Tips

When learning DNS, start with the single line "conversion between domain and IP." Drawing the name resolution flow with arrows will deepen your understanding. Remember records by their purpose: A records for IPv4, MX records for mail, and so on.

Summary

If you grasp the role of DNS, the name resolution flow, and the main record types, you can reliably score points on related questions. For comprehensive practice in the Technology domain, check out the Technology Summary; for full-length practice, head to the Practice Exam.

関連記事

Pro

Pro 会員になる

この機能は Pro 会員限定です。月額 ¥980 で、合格まで一気に走り抜ける機能がすべて使えます。

Pro に加入する