liveBook · Manning

Domain name system

As explained in Grokking Web Application Security

The Domain Name System (DNS) is the hierarchical naming system that maps domain names to network addresses and other DNS records.

The Domain Name System (DNS) maps human-readable domain names to network addresses and other DNS records. It lets a browser resolve a URL such as https://www.example.com before initiating a web request. section 7.7

A typical lookup follows the hierarchy: a resolver asks a root server about .com, then asks the relevant domain server about example.com, and finally requests the address for www.example.com. Multiple servers and caches make this process scalable. section 7.7

Resolving a web address

When a browser visits https://www.example.com, the host operating system’s DNS resolver obtains the corresponding IP address, often from browser, operating-system, ISP, or corporate-network caches. section 7.7

DNS also creates a security boundary: attackers can target resolvers and caches with DNS poisoning to redirect users toward malicious sites. section 7.7

How Grokking Web Application Security covers it

How deep it goes
Traces root, top-level-domain, and authoritative lookups plus caching, but stops short of detailed poisoning mechanics.
Examples
Uses https://www.example.com and browser, operating-system, ISP, and corporate-network caches as concrete lookup examples.
What it assumes
Teaches domain-name resolution from zero while assuming only familiarity with browsers, URLs, and internet-connected devices.
What you can do after
Understand how hierarchical DNS resolution and caching support web requests and create opportunities for traffic diversion.
How it connects
Connects domain names with IP addresses, DNS resolvers, authoritative servers, DNS caching, and DNS poisoning.

Also explained in

Compare how 7 books explain domain name system →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Grokking Web Application Security. The section links point to the parts of the book it draws on.