7-3 
display dns server 
Syntax 
display dns server [ dynamic ] 
View 
Any view 
Default Level 
1: Monitor level 
Parameters 
dynamic: Displays the DNS server information dynamically obtained through DHCP or other protocols 
Description 
Use the display dns server command to display the IPv4 DNS server information. 
Related commands: dns server. 
Examples 
# Display the IPv4 DNS server information. 
<Sysname> display dns server 
Type: 
  D:Dynamic    S:Static 
 
DNS Server  Type  IP Address 
    1       S     169.254.65.125 
 
Table 7-3 display dns server command output description 
Field  Description 
DNS Server  Sequence number of the DNS server, configured automatically by the AP, 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  IPv4 address of the DNS server 
 
display ip host 
Syntax 
display ip host 
View 
Any view 
Default Level 
1: Monitor level 
Parameters 
None