HP VPN Firewall Appliances Network Management Configuration Guide

240
DDNS configuration example 1
Network requirements
As shown in Figure 156, Firewall is a Web server with the domain name whatever.3322.org.
Firewall acquires the IP address through DHCP. Through DDNS service provided by www.3322.org,
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.3322.org into
the corresponding IP address.
Figure 156 Network diagram
Configuration procedure
Before configuring DDNS on Router, register with username steven and password nevets at
http://www.3322.org/, add Router'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 3322.org, and enter its view.
<Firewall> system-view
[Firewall] ddns policy 3322.org
# Specify for DDNS update requests the URL address with the login ID steven and password nevets.
[Firewall-ddns-policy-3322.org] url
http://steven:nevets@members.3322.org/dyndns/update?system=dyndns&hostname=<h>&myip=<
a>
# Set the interval for sending DDNS update requests to 15 minutes.
[Firewall-ddns-policy-3322.org] interval 0 0 15
[Firewall-ddns-policy-3322.org] quit
# Enable dynamic domain name resolution on Router.
[Firewall] dns resolve
# Specify the IP address of the DNS server as 1.1.1.1.
[Firewall] dns server 1.1.1.1
# Apply DDNS policy 3322.org to interface Ethernet 1/1 to enable DDNS update and dynamically
update the mapping between domain name whatever.3322.org and the primary IP address of
GigabitEthernet 0/1.
Firewall
DDNS client
www.3322.org
DDNS server
DNS server
IP network
GE0/1
1.1.1.1