beautypg.com

Ddns configuration examples, Ddns configuration example with www.3322.org, Network requirements – H3C Technologies H3C S5560 Series Switches User Manual

Page 126: Configuration procedure

background image

111

DDNS configuration examples

DDNS configuration example with www.3322.org

Network requirements

As shown in

Figure 47

, Switch uses the domain name whatever.3322.org.

Switch acquires the IP address through DHCP. Through DDNS service provided by www.3322.org,
Switch informs the DNS server of the latest mapping between its domain name and IP address. Switch

uses the DNS server to translate www.3322.org into the corresponding IP address.

Figure 47 Network diagram

Configuration procedure

Before configuring DDNS on Switch, perform the following tasks:

Register with username steven and password nevets at http://www.3322.org/.

Add Switch's host name-to-IP address mapping to the DNS server.

Make sure the devices can reach each other.

# Create a DDNS policy named 3322.org, and enter its view.

system-view

[Switch] ddns policy 3322.org

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

[Switch-ddns-policy-3322.org] url http://

members.3322.org/dyndns/update?system=dyndns&hostname=&myip=

[Switch-ddns-policy-3322.org] username steven

[Switch-ddns-policy-3322.org] password simple nevets

# Set the interval for sending DDNS update requests to 15 minutes.

[Switch-ddns-policy-3322.org] interval 0 0 15

[Switch-ddns-policy-3322.org] quit

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

[Switch] dns server 1.1.1.1

This manual is related to the following products: