Configuring dhcp snooping, Overview, Application of trusted and untrusted ports – H3C Technologies H3C S12500 Series Switches User Manual
Page 98: Ddns configuration example 2

85
[Switch-ddns-policy-3322.org] url
http://steven:[email protected]/dyndns/update?system=dyndns&hostname=
a>
# 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
# Apply DDNS policy 3322.org to VLAN-interface 2 to enable DDNS update and dynamically update
the mapping between domain name whatever.3322.org and the primary IP address of VLAN-interface
2.
[Switch] interface vlan-interface 2
[Switch-Vlan-interface2] ddns apply policy 3322.org fqdn whatever.3322.org
After the preceding configuration is completed, Switch notifies the DNS server of its new domain
name-to-IP address mapping through the DDNS server provided by www.3322.org, whenever the IP
address of Switch changes. Therefore, Switch can always provide Web service at whatever.3322.org.
242B
DDNS configuration example 2
366B
Network requirements
As shown in
747H
Figure 38
, Switch is a Web server with domain name whatever.gicp.cn.
Switch acquires the IP address through DHCP. Through the PeanutHull server, Switch informs the DNS
server of the latest mapping between its domain name and IP address. The IP address of the DNS server
is 1.1.1.1. Switch uses the DNS server to translate www.oray.cn into the corresponding IP address.
Figure 38 Network diagram
367B
Configuration procedure
Before configuring DDNS on Switch, register with username steven and password nevets at
http://www.oray.cn/, add Switch's host name-to-IP address mapping to the DNS server, and make sure
the devices can reach each other.
# Create a DDNS policy named oray.cn and enter its view.
- H3C SR8800 H3C SR6600-X H3C SR6600 H3C WX6000 Series Access Controllers H3C WX5000 Series Access Controllers H3C WX3000 Series Unified Switches H3C LSWM1WCM10 Access Controller Module H3C LSWM1WCM20 Access Controller Module H3C LSQM1WCMB0 Access Controller Module H3C LSRM1WCM2A1 Access Controller Module H3C LSBM1WCM2A0 Access Controller Module H3C S6800 Series Switches H3C S3100V2 Series Switches H3C S12500-X Series Switches H3C S9800 Series Switches