H3C Technologies H3C S12500 Series Switches User Manual

Page 99

Advertising
background image

86

[Switch] ddns policy oray.cn

# Specify for DDNS update requests the URL address with the login ID steven and password nevets.

[Switch-ddns-policy-oray.cn] url oray://steven:[email protected]

# Set the DDNS update request interval to 12 minutes.

[Switch-ddns-policy-oray.cn] interval 0 0 12

[Switch-ddns-policy-oray.cn] quit

# Specify the IP address of the DNS server as 1.1.1.1.

[Switch] dns server 1.1.1.1

# Apply the DDNS policy oray.cn to VLAN-interface 2 to enable DDNS update and to dynamically

update the mapping between whatever.gicp.cn and the primary IP address of VLAN-interface 2.

[Switch] interface vlan-interface 2

[Switch-Vlan-interface2] ddns apply policy oray.cn fqdn whatever.gicp.cn

After the preceding configuration is completed, Switch notifies the DNS server of its new domain
name-to-IP address mapping through the PeanutHull server, whenever the IP address of Switch changes.

Therefore, Switch can always provide Web service at whatever.gicp.cn.

Advertising