R3166-R3206-HP High-End Firewalls Network Management Command Reference-6PW101

Table Of Contents
158
Parameters
request-url: URL address for DDNS update requests, a case-sensitive string of 1 to 240 characters
containing the login ID, password, and other information.
Description
Use the url command to specify the URL address for DDNS update requests.
Use the undo url command to delete the URL address.
By default, no URL address is specified for DDNS update requests.
The format of the URL address to be specified for DDNS update requests depends on the DDNS server.
Specify the URL address for contacting the HTTP-based DDNS server at www.3322.org as follows:
http://username:password@members.3322.org/dyndns/update?system=dyndns&hostname=<h>&my
ip=<a>
Specify the URL address for contacting the TCP-based PeanutHull server as follows:
oray://username:password@phservice2.oray.net
Note the following:
Replace the parameters username and password in the URL with your actual login ID and password
for the DDNS server, respectively.
members.3322.org and phservice2.oray.net are the domain names of DDNS servers. The domain
names of PeanutHull DDNS servers can be phservice2.oray.net, phddns60.oray.net, client.oray.net,
ph031.oray.net, and so on. Determine the domain name in the URL according to the actual
situation.
The port number in the URL address is optional. If no port number is specified, the default port
number is used. HTTP uses port 80, HTTPS uses port 443, and the PeanutHull server uses port
6060.
The system automatically fills <h> with the FQDN that is specified when the DDNS policy is applied
to the interface and automatically fills <a> with the primary IP address of the interface to which the
DDNS policy is applied. You may also manually specify an FQDN and an IP address in <h> and
<a>, respectively. After that, the FQDN that is specified when the DDNS policy is applied becomes
ineffective. However, manual configuration of <h> and <a> is not recommended.
You cannot specify an FQDN and IP address in the URL address for contacting the PeanutHull server.
Instead, you can specify an FQDN when applying the DDNS policy to an interface. The system will
automatically use the primary IP address of the interface to which the DDNS policy is applied as the
IP address for DDNS update.
To avoid ambiguity, it is better that your login ID and password not include colons (:), at signs (@),
or question marks (?).
If you repeatedly execute the url command with different URL addresses specified, the latest
configuration will overwrite the previous one.
Related commands: display ddns policy.
Examples
# Specify the URL address for DDNS policy steven_policy with login ID steven and password nevets. The
device contacts www.3322.org for DDNS update.
<Sysname> system-view
[Sysname] ddns policy steven_policy
[Sysname-ddns-policy-steven_policy] url http://steven:nevets@members.3322.org/dyndns/u
pdate?system=dyndns&hostname=<h>&myip=<a>