128
Field Description
• For a type AAAA query, the replied IP address is an IPv6 address.
Related commands
ip host
ipv6 host
reset dns host
display dns server
Use display dns server to display IPv4 DNS server information.
Syntax
display dns server [ dynamic ] [ vpn-instance vpn-instance-name ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
dynamic: Displays IPv4 DNS server information dynamically obtained through DHCP or other
protocols. If you do not specify this keyword, the command displays statically configured and
dynamically obtained IPv4 DNS server information.
vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a
case-sensitive string of 1 to 31 characters. If you do not specify a VPN instance, this command
displays IPv4 DNS server information for the public network.
Examples
# Display IPv4 DNS server information for the public network.
<Sysname> display dns server
Type:
D: Dynamic S: Static
No. Type IP address
1 S 202.114.0.124
2 S 169.254.65.125
Table 25 Command output
Field Description
No. Sequence number.
Type
DNS server type:
• S—A manually configured DNS server.
• D—DNS server information dynamically obtained through DHCP or other
protocols.
IP address IPv4 address of the DNS server.