An intranet is a private network within an organization that uses internet technologies like TCP/IP for communication, while an extranet extends an intranet to external partners and suppliers. The Domain Name System (DNS) translates human-friendly domain names to IP addresses, allowing computers and services to be accessed globally using names instead of numeric addresses. DNS uses a hierarchical and distributed system of servers to resolve names into addresses quickly and reliably.