< Home

ddns policy

Function

The ddns policy command creates a DDNS policy and enters the DDNS policy view.

The undo ddns policy command deletes a DDNS policy.

By default, no DDNS policy is created in the system.

Format

ddns policy policy-name

undo ddns policy policy-name

Parameters

Parameter Description Value

policy-name

Specifies the name of the DDNS policy.

The value is a string of 1 to 32 bytes, Chinese or English characters without spaces. English characters are case-sensitive.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

DNS provides static mappings between domain names and IP addresses. When IP addresses of nodes change, DNS cannot dynamically update mappings. If a DNS client uses the original domain name to access the node, the DNS client will fail to access the node because the IP address mapping the domain name is incorrect. The DDNS updates the mappings between the domain name and the IP address on the DNS server to ensure that the IP address can be resolved correctly. The device can function as a DDNS client. When the IP address of the interface that provides services changes, the device sends a request of updating the domain name entry to the DDNS server. After receiving the request, the DDNS server updates the domain name entry.

Example

# Create a DDNS policy "test".

<sysname> system-view
[sysname] ddns policy test
[sysname-ddns-policy-test]  
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >