The Domain Name System (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.
Relevant Configuration
Configure the switch to resolve queries via a DNS server
switch(config)# ip name-server <IPv4/IPv6 address>
Configure a domain name
switch(config)# ip domain-list mydomain2.com
Show Commands to Validate Functionality
show hosts
Expected Results