A SERVICE OF

logo

767
display dns server
Syntax display dns server [ dynamic ]
View Any view
Parameter dynamic: Displays the DNS server information dynamically obtained through
DHCP or other protocols
Description Use the
display dns server command to display the DNS server information.
Related command: dns server.
Example # Display the DNS server information.
<Sysname> display dns server
Type:
D:Dynamic S:Static
DNS Server Type IP Address
1 S 169.254.65.125
display ip host
Syntax display ip host
View Any view
Parameter None
Description Use the
display ip host command to display the host names and corresponding
IP addresses in the static DNS database.
Example # Display the host names and corresponding IP addresses in the static DNS
database.
<Sysname> display ip host
Host Age Flags Address
My 0 static 1.1.1.1
Aa 0 static 2.2.2.4
Table 150 Description on fields of the display dns server command
Field Description
DNS Server Sequence number of the DNS server. Configured automatically by the
device, starting from 1.
Type Type of domain name server: S represents a statically configured DNS
server, and D represents a DNS server obtained dynamically through
DHCP.
IP Address IP address of the DNS server