The Domain Name Service (DNS) translates domain and host names to and from IP addresses. A DNS client resolves hostnames to IP addresses by querying assigned DNS servers for the appropriate IP address.
Configure the switch to resolve queries via a DNS server:
ip dns server-address IP-ADDR [vrf VRF]
Configure a domain name:
ip dns domain-name NAME
Show commands to validate functionality:
show ip dns