The DNS provides a mapping from domain names to IP addresses to locate resources on the internet. A domain name consists of two or more components separated by periods, with top-level domains classified as organizational, geographical, or reverse. The DNS works by distributing authoritative name servers across the global internet, allowing it to be scalable, dynamic, reliable, and loosely coherent while providing name resolution from human-friendly domain names to computer-friendly IP addresses.