dynamic-dns

This command defines Dynamic DNS (DDNS) service providers (IPv4 and IPv6). You can choose fixed providers (dtc.com, dyndns.org, and no-ip.com) or a user-defined provider. When the interface changes its state to or from connected, the DDNS checks if the address was changed, and sends an update if so.

Syntax

# dynamic-dns 
(conf-dyndns)# service {custom <Name>|dtc.com|dyndns.org|no-ip.com}
(conf-dyndns)# service custom <Name>
(conf-<Name>) // see table below

Command

Description

hostname

Name registered in the DNS service.

interface

The interface to send the IP address.

post-auth

DNS service credentials.

success-response

Server success response strings

update-interval

Period to wait after each DNS update (in days).

url

Changes the URL of the message (after the "https://"). The URL to update the DDNS server when an IP changes must be specified using the following format in the HTTP request:

[https/http]://[username]:[password]@[provider_url]?[post-auth]&[hostname=]&[ip=]&[ipv6=]

use-ipvx

In the URL, use ipvx instead of myipvx.

use_ssl_mode

Enables SSL.

username

DNS service credentials.

Command Mode

Privileged User

Note

The URL to update the DDNS server when an IP changes must be specified using the following format in the HTTP request:

[https/http]://[username]:[password]@[provider_url]?[post-auth]&[hostname=]&[ip=]&[ipv6=]

Example

This example defines a custom DDNS and the URL to update the DDNS in HTTP request is "https://www.exampledns.org/update?domains=mik&token=b77b7a89-68d8-4204-a29f-f9445583c81a&ip=172.17.119.13&ipv6=2000:3333::3:":

(config-data)# dynamic-dns 
(conf-dyndns)# service custom MyDDNS
(conf-MyDDNS)# interface Cellular 0/0/1 (conf-MyDDNS)# update-interval 10 (conf-MyDDNS)# use_ssl_mode (conf-MyDDNS)# no username (conf-MyDDNS)# post-auth domains=mik&token=b77b7a89-68d8-4204-a29f-f9445583c81a (conf-MyDDNS)# success-response ok OK (conf-MyDDNS)# no shutdown (conf-MyDDNS)# url www.exampledns.org/update