Troubleshooting dhcp relay agent configuration, Symptom, Analysis – H3C Technologies H3C S12500 Series Switches User Manual

Page 96: Solution, Applying the ddns policy to an interface

Advertising
background image

83

Step Command

Remarks

4.

(Optional.) Specify the parameter

transmission method for sending
DDNS update requests to

HTTP/HTTPS-based DDNS

servers.

method { http-get |
http-post }

By default, http-get is used.
Use the method http-post command to

specify the POST method for DDNS update
with a DHS server.

5.

(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.

6.

(Optional.) Specify the interval for

sending update requests.

interval days [ hours
[ minutes ] ]

By default, the time interval is one hour.

92B

Applying the DDNS policy to an interface

After you apply the DDNS policy to an interface and specify the FQDN for update, the DDNS client

sends requests to the DDNS server to update the mapping between the domain name and the primary

IP address of the interface at the specified interval.
Before you apply a DDNS policy to an interface, complete the following tasks:

Specify the primary IP address of the interface and make sure that the DDNS server and the

interface can reach each other.

Configure static or dynamic domain name resolution to translate the domain name of the DDNS
server into the IPv4 address. For more information, see "

745H

Configuring the IPv4 DNS client

."

To apply the DDNS policy to an interface:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter interface view.

interface interface-type
interface-number

N/A

3.

Apply the DDNS policy to the
interface to update the mapping

between the specified FQDN and
the primary IP address of the

interface, and enable DDNS

update.

ddns apply policy policy-name
[ fqdn domain-name ]

By default, no DDNS policy is
applied to the interface, no

FQDN is specified for update,
and DDNS update is disabled.
The fqdn domain-name option
must be specified for all DDNS

servers except the PeanutHull
DDNS server.

NOTE:

If no FQDN is specified for the PeanutHull DDNS server, the DDNS server updates all domain names of the
DDNS client account. If an FQDN is specified, the DDNS server updates only the mapping between the

specified FQDN and the primary IP address.

Advertising