Language / Technology

Why is DNS needed?

The short answer

DNS looks up the relationship between a domain name and an IP address so a browser can find where to connect.

How it works

Users do not need to type numbers because DNS queries a hierarchy of servers and returns a result. The result may be cached for a while.

A familiar example

Even if DNS works, a page cannot load if the web server itself is unavailable.

Sources