C613-50631-01 Rev A Command Reference for IE340 Series 945
AlliedWare Plus™ Operating System - Version 5.5.3-0.x
DOMAIN NAME SERVICE (DNS) COMMANDS
SHOW
HOSTS
show hosts
Overview This command shows the default domain, domain list, and name servers
configured on your device.
For information on filtering and saving command output, see the “Getting Started
with AlliedWare Plus” Feature Overview and Configuration Guide.
Syntax
show hosts
Mode User Exec and Privileged Exec
Example To display the default domain, use the command:
awplus# show hosts
Output Figure 23-2: Example output from the show hosts command when no ip
domain-lookup is configured
Figure 23-3: Example output from the show hosts command when ip
domain-lookup is configured
Figure 23-4: Example output from the show hosts command when ip
domain-lookup via-relay is configured
Related
commands
ip domain-list
ip domain-lookup
ip domain-name
ip name-server
awplus#show hostsď€
ď€
Default domain is not setď€
Name/address lookup is disabled
awplus#show hostsď€
ď€
Default domain is mycompany.comď€
Domain list: company.comď€
Name/address lookup uses domain serviceď€
Name servers are 10.10.0.2 10.10.0.88
awplus#show hostsď€
ď€
Default domain is mycompany.comď€
Domain list: company.comď€
Name/address lookup uses domain relay serviceď€
Name servers are 10.10.0.2 10.10.0.88