DNS allows users to reference computer names via symbolic names like domain names instead of IP addresses. It works by translating these symbolic names to their associated IP addresses. DNS uses a hierarchical and distributed database across interconnected name servers to provide a global directory service for name resolution on the internet.