Configuring a DDNS policy

About DDNS policy

A DDNS policy contains the DDNS server address, port number, login ID, password, time interval, associated SSL client policy, and update time interval. After creating a DDNS policy, you can apply it to multiple interfaces to simplify DDNS configuration.

Restrictions and guidelines

The URL address for update requests varies by DDNS server.

Table 6: Common URL addresses

DDNS server

URL address for DDNS update requests

www.3322.org

http://members.3322.org/dyndns/update?system=dyndns&hostname=<h>&myip=<a>

DYNDNS

http://members.dyndns.org/nic/update?system=dyndns&hostname=<h>&myip=<a>

DYNS

http://www.dyns.cx/postscript.php?host=<h>&ip=<a>

ZONEEDIT

http://dynamic.zoneedit.com/auth/dynamic.html?host=<h>&dnsto=<a>

TZO

http://cgi.tzo.com/webclient/signedon.html?TZOName=<h>IPAddress=<a>

EASYDNS

http://members.easydns.com/dyn/ez-ipupdate.php?action=edit&myip=<a>&host_id=<h>

HEIPV6TB

http://dyn.dns.he.net/nic/update?hostname=<h>&myip=<a>

CHANGE-IP

http://nic.changeip.com/nic/update?hostname=<h>&offline=1

NO-IP

http://dynupdate.no-ip.com/nic/update?hostname=<h>&myip=<a>

DHS

http://members.dhs.org/nic/hosts?domain=dyn.dhs.org&hostname=<h>&hostscmd=edit&hostscmdstage=2&type=1&ip=<a>

HP

https://server-name/nic/update?group=group-name&myip=<a>

ODS

ods://update.ods.org

GNUDIP

gnudip://server-name

PeanutHull

Select the URL according to your network situation:

  • oray://phservice2.oray.net

  • oray://phddns60.oray.net

  • oray://client.oray.net

  • oray://ph031.oray.net

Identify the DDNS server type in your network and following the following restrictions and guidelines to set an appropriate URL address:

Prerequisites

Visit the website of a DDNS service provider, register an account, and apply for a domain name for the DDNS client. When the DDNS client updates the mapping between the domain name and the IP address through the DDNS server, the DDNS server checks the following:

Procedure

  1. Enter system view.

    system-view

  2. Create a DDNS policy and enter its view.

    ddns policy policy-name

  3. Specify a URL address for DDNS update requests.

    url request-url

    By default, no URL address is specified for DDNS update requests.

    The URL address cannot contain a username or password. To configure them, use the username command and the password command.

  4. Specify the username for logging in to the DDNS server.

    username username

    By default, no username is specified.

  5. Specify the password for logging in to the DDNS server.

    password { cipher | simple } string

    By default, no password is specified.

  6. (Optional.) Specify the parameter transmission method for sending DDNS update requests to HTTP/HTTPS-based DDNS servers.

    method { http-get | http-post }

    By default, the http-get method is used.

    This step is effective for communicating with HTTP/HTTPS-based DDNS servers.

    Specify the http-post keyword for DDNS update with a DHS server.

  7. (Optional.) Associate an SSL client policy with the DDNS policy.

    ssl-client-policy policy-name

    By default, no SSL client policy is associated with the DDNS policy.

    This step is only effective and a must for HTTP-based DDNS update requests. For SSL client policy configuration, see Security Configuration Guide.

  8. (Optional.) Specify the interval for sending update requests.

    interval days [ hours [ minutes ] ]

    By default, the time interval is one hour.