- Rarely do applications deal directly with IP addresses
- a hierarchical system of domain names can be used instead
- top level domains: edu, com, gov, org, net, …
- commonly: hostname.subdomain.domain (possibly many sub-domains)
- e.g., in.news.yahoo.com
A domain name server (DNS) is a machine that keeps a table of names and corresponding IP addresses (i.e. this performs the “look up” to match domain names to their corresponding IP address). There are 13 root servers in the world.
While there are only 13 root servers, there are multiple physical servers (that mirror them) that operate in different geographic locations to provide reliable service in case of hardware failures.
- When an application specifies a host name,
- go to local domain name server and try lookup in its stored cache
- if not stored there, then local DNS requests address from a root server
- root server determines appropriate name server & forwards request
- yahoo domains and web hosting
- google domains