Creating a new Dynamic DNS service instance and add it to an existing record in the API requires specific syntax depending on whether you are using REST or SOAP. Use this table to find the syntax for your command.

REST Syntax

Click to view all REST Resources
/REST/DDNS/ POST — Creates a new Dynamic DNS service on the zone/node indicated and adds the service to the record indicated.

HTTP Action — POST

URIs — https://api.dynect.net/REST/DDNS/<zone>/<fqdn>/<record_id>/

NOTE: If the add_on flag is specified, the last argument is treated as the ID of an existing record and the new DDNS service will be added and assigned to that record.

Arguments:boolean add_onRequired.
Response:

  • string abuse_count — Total number of abusive updates since last good update.
  • string active — A boolean indicating whether or not the service is active.
    Y – The service is active.
    N – The service is inactive.
  • string last_updated — Timestamp of the last good update by an update client.
  • string address — IPv4 or IPv6 Address.
  • string fqdn — Fully qualified domain name of a node in the zone
  • string record_type — The RRType of the service.
    Valid values: A or AAAA
  • string zone — Name of the zone.

Dyn Logo

SOAP Syntax

Click to view all SOAP Commands
AddDDNS — Adds a new Dynamic DNS service to the specified record.
Arguments:string fqdnRequired. Name of node where the service will exist.

string record_idRequired. The ID of the A or AAAA record where the service will be added.

string tokenRequired. The session identifier.

string zoneRequired. Name of zone where the service will exist.

Response:

  • hash data
    • string abuse_count — Total number of abusive updates since last good update.
    • string active — A boolean indicating whether or not the service is active.
      Y – The service is active.
      N – The service is inactive.
    • string last_updated — Timestamp of the last good update by an update client.
    • string address — IPv4 or IPv6 Address.
    • string fqdn — Fully qualified domain name of a node in the zone
    • string record_type — The RRType of the service.
      Valid values: A or AAAA
    • string zone — Name of the zone.
Example Request: Click for More Info