DNS (Domain Name System)

DNS, the Domain Name System, translates names such as example.com into the IP addresses that computers use to connect.

DNS is the system that turns human-readable names into network addresses. When a program connects to a name, it first asks a DNS resolver for the address. The resolver looks the name up in a chain of servers, from the root down to the server that owns the name. It then caches the answer for a set time, so later lookups are fast.

Nearly every connection on the internet starts with a DNS lookup. When DNS is slow, every request is slow, and when it fails, services that are running can seem down. Names can point to different addresses over time, which lets a service move without its clients changing anything. Many services use this to send users to the nearest region or to a healthy copy.

Each sandbox needs a resolver to reach anything by name, and the platform usually provides one. DNS matters for egress control too, because rules often name domains rather than addresses. A filter that allows a domain has to follow its addresses as they change. DNS lookups can also carry data out of a network, so strict sandboxes limit which resolvers they can reach.