display dns dynamic-host

Function

The display dns dynamic-host command displays information about dynamic DNS entries in the domain name cache.

Format

display dns dynamic-host [ vpn-instance vpn-name ]

Parameters

Parameter Description Value
vpn-instance vpn-name

Specifies the VPN to be displayed.

The value is a string of 1 to 31 case-sensitive characters, spaces not supported. In addition, the VPN instance name must not be _public_. When double quotation marks are used around the string, spaces are allowed in the string.

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
dns read

Usage Guidelines

Usage Scenario

After configuring dynamic DNS, you can run the display dns dynamic-host command to view information about dynamic DNS entries stored in the domain name cache.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display information about dynamic DNS entries.
<HUAWEI> display dns dynamic-host
No  Domain Name         IpAddress      TTL    Alias
1   www.huawei.com      10.1.1.1       3521
2   www.huawei.com.cn   10.2.1.1       3000
Table 1 Description of the display dns dynamic-host command output
Item Description
No

Number of a dynamic entry.

Domain Name

Host name.

IpAddress

Host IP address.

TTL

Time to live of a DNS entry, in seconds.

Alias

Host alias.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >