Understanding How The API Works
Creating a new Dynamic DNS service instance 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.
HTTP Action — POST
URIs — https://api.dynect.net/REST/DDNS/<zone>/<fqdn>/<record type>/
NOTE: <record_type> should be either A, for IPv4, or AAAA, for IPv6.
|
Arguments:
string address — Required. IPv4 or IPv6 address for the service.
|
Response — Click for More Info
- 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.
|
SOAP Syntax
Click to view all SOAP Commands |
CreateDDNS — Creates a new Dynamic DNS service.
|
Arguments — Click for More Info
- string
address — Required. IPv4 or IPv6 address for the service.
- string
fqdn — Required. Name of node where the service will exist.
- string
record_type — Required. The RRType of the service.
Valid values: A or AAAA
- string
token — Required. The session identifier.
- string
zone — Required. Name of zone where the service will exist.
|
Response — Click for More Info
- 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
{
'address' => '1.2.3.4',
'fqdn' => 'www.example.com',
'record_type' => 'A',
'token' => 'asdlkfjasl23j4879afa',
'zone' => 'example.com',
}
or
{
'address' => '::1',
'fqdn' => 'www.example.com',
'record_type' => 'AAAA',
'token' => 'asdlkfjasl23j4879afa',
'zone' => 'example.com',
}
|
<< DNS API Knowledge Base