The function of the Domain Name System (DNS) is:
- To translate domain names into IP addresses.
This is the primary function of DNS, allowing users to access websites using easily memorable domain names instead of numeric IP addresses. The other options listed do not accurately describe the core function of DNS.