OcNOS-SP : System Management Guide : System Management Command Reference : Interface Commands : show hosts
show hosts
Use this command to display the IP domain-name, lookup style and any name server.
Command Syntax
show hosts
Parameters
None
Command Mode
Exec mode and Privileged Exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#show hosts
 
VRF: management
 
DNS lookup is enabled
Default domain : .com
Additional Domain : .in .ac
Name Servers : 10.12.3.23
Host Address
---- -------
test 10.12.12.67
test 10::23
 
* - Values assigned by DHCP Client.
 
 
Table 21-69 explains the output fields.
 
Table 21-69: show hosts fields
Entry
Description
VRF: management
DNS configuration of specified VRF
DNS lookup is enabled
DNS feature enabled or disabled
Default domain
Default domain name used to complete unqualified host names (names without a dotted decimal domain name).
Additional Domain
A list of default domain names used to complete unqualified host names. Each domain in the list is to be tried in turn.
Name Servers
DNS server addresses that are used to translate hostnames to IP addresses.
Host Address
test 10.12.12.67
test 10::23
Static hostname-to-address mappings in DNS.
* - Values assigned by DHCP Client.
* in name-server indicates it has been learned dynamically.
 
 
 
Last modified date: 10/19/2023