S e n d c o m m e n t s t o n e x u s 3 k - d o c f e e d b a c k @ c i s c o . c o m
-SM-210
Cisco Nexus 3000 Series NX-OS System Management Command Reference
OL-29557-04
Chapter System Management Commands
show hosts
show hosts
To display the Domain Name Server (DNS) name servers and domain names, use the
show hosts
command.
show hosts
Syntax Description
This command has no arguments or keywords.
Command Default
None
Command Modes
EXEC mode
Command History
Examples
This example shows how to display the IP addresses of the DNS servers that are used to resolve
hostnames:
switch#
show hosts
Related Commands
Release
Modification
5.0(3)U1(1)
This command was introduced.
Command
Description
ip domain-list
Defines a list of domains.
ip domain lookup
Enables DNS-based hostname-to-address translation.
ip domain-name
Configures a name server.