HPE FlexFabric 5950 Series Command Reference Manual page 137

Hide thumbs Also See for FlexFabric 5950 Series:
Table of Contents

Advertisement

Syntax
display dns host [ ip | ipv6 ] [ vpn-instance vpn-instance-name ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
ip: Specifies type A queries. A type A query resolves a domain name to the mapped IPv4 address.
ipv6: Specifies type AAAA queries. A type AAAA query resolves a domain name to the mapped IPv6
address.
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 domain name-to-IP address mappings for the public network.
Usage guidelines
If you do not specify the ip or ipv6 keyword, this command displays domain name-to-IP address
mappings of all query types.
Examples
# Display domain name-to-IP address mappings of all query types.
<Sysname> display dns host
Type:
D: Dynamic
Total number: 3
No.
Host name
1
sample.com
2
zig.sample.com
3
sample.net
Table 24 Command output
Field
No.
Host name
Type
TTL
Query type
IP addresses
S: Static
Type
TTL
D
3132
S
-
S
-
Description
Sequence number.
Domain name.
Domain name-to-IP address mapping type:
S—A static mapping configured by the ip host or ipv6 host command.
D—A mapping dynamically obtained through dynamic domain name
resolution.
Time in seconds that a mapping can be stored in the cache.
For a static mapping, a hyphen (-) is displayed.
Query type: A or AAAA.
Replied IP address:
For a type A query, the replied IP address is an IPv4 address.
Query type
IP addresses
A
192.168.10.1
192.168.10.2
192.168.10.3
A
192.168.1.1
AAAA
FE80::4904:4448
127

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents