Command Reference DNS Module Commands
show hosts
Use this command to display DNS configuration.
show hosts [ hostname ]
Parameter
Description
Parameter Description
N/A N/A
Defaults
N/A
Command
Mode
Privileged EXEC mode.
Usage Guide
Show the DNS related configuration information.
Configuration
Examples
Ruijie# show hosts
Name servers are:
192.168.5.134 static
Host type Address TTL(sec)
switch static 192.168.5.243 ---
www.ruijie.com dynamic 192.168.5.123 126
Related
Commands
Command Description
ip host
Configures the host name and IP address
mapping by manual.
ipv6 host
Configures the host name and IPv6 address
mapping by manual.
ip name-server
Configures the DNS server.
Platform
Description
N/A