The Domain Name System (DNS) was invented in 1983 to translate between hostnames that are easy for humans to remember and IP addresses that computers use, through a hierarchical system where each part of a domain name separates levels of delegation down to individual host machines, with top-level domains and country domains at the top level managed by centralized authoritative name servers. DNS uses a distributed database across multiple name servers that can query each other to lookup and cache hostname to IP mappings, using both UDP and TCP protocols to handle queries and full database replication respectively.