R3166-R3206-HP High-End Firewalls Network Management Configuration Guide-6PW101

182
# Apply DDNS policy 3322.org to interface GigabitEthernet0/1 to enable DDNS update and
dynamically update the mapping between domain name whatever.3322.org and the primary IP address
of GiagbitEthernet 0/1.
[Firewall] interface GigabitEthernet 0/1
[Firewall-GigabitEthernet0/1] ddns apply policy 3322.org fqdn whatever.3322.org
After the preceding configuration is completed, Firewall will notify 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 Firewall changes. Therefore, Firewall can always provide Web service at whatever.3322.org.
DDNS configuration example II
1. Network requirements
As shown in Figure 98, F
irewall is a Web server with domain name whatever.gicp.cn.
Firewall acquires the IP address through DHCP. Through the PeanutHull server, Firewall 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. Firewall uses the DNS server to translate www.oray.cn
into the corresponding IP address.
Figure 98 Network diagram for interconnecting with the PeanutHull server
2. Configuration procedure
NOTE:
Before configuring DDNS on Firewall, register with username steven and password nevets at
http://www.oray.cn/, add Firewall's host name-to-IP address mapping to the DNS server, and make sure
that the devices are reachable to each other.
# Create a DDNS policy named oray.cn and enter its view.
<Firewall> system-view
[Firewall] ddns policy oray.cn
# Specify for DDNS update requests the URL address with the login ID steven and password nevets.
[Firewall-ddns-policy-oray.cn] url oray://steven:nevets@phservice2.oray.net
# Set the DDNS update request interval to 12 minutes.
[Firewall-ddns-policy-oray.cn] interval 0 0 12
[Firewall-ddns-policy-oray.cn] quit