< Home

display dns dynamic-host

Function

The display dns dynamic-host command displays dynamic DNS entries.

Format

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

Parameters

Parameter Description Value
vpn-instance vpn-instance-name

Displays dynamic DNS entries of a specified VPN instance.

The value must be an existing VPN instance name.

all

Displays all dynamic DNS entries, including both public and private DNS entries.

NOTE:

If neither vpn-instance vpn-instance-name nor all is specified, only public dynamic DNS entries are displayed.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

You can run the display dns dynamic-host command to view dynamic DNS entries and check whether domain names match the mapping entries.

Example

# Display dynamic DNS entries.

<HUAWEI> display dns dynamic-host
No  Domain-name         IpAddress      TTL    Alias
1   www.hw.com          10.1.1.1       3521
2   www.hw.com.cn       10.1.2.1       3000

# Display dynamic DNS entries of the VPN instance vpn1.

<HUAWEI> display dns dynamic-host vpn-instance vpn1
No  Domain-name                              Alias                   IpAddress            TTL      VPN-Instance
1   www.huawei.com                                                   10.1.3.1             3521     vpn1
2   www.huawei.com.cn                                                10.1.4.1             3000     vpn1
Table 1 Description of the display dns dynamic-host command output

Item

Description

No

Number of a dynamic DNS entry.

Domain-name

Domain name.

IpAddress

IP addresses of the host.

TTL

Remaining lifetime of DNS entries (in seconds).

Alias

Alias of a host.

VPN-Instance

VPN instance name.

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