Retrieving one or more AAAA records from a zone/node using the API requires specific syntax depending on whether you are using REST or SOAP. Use this table to find the syntax for your command.
Understanding How The API Works »
REST Syntax
Click to view all REST Resources |
/REST/AAAARecord/ GET — Retrieves one or all AAAA Records from a specified zone/node.
HTTP Action — GET
URI(s):
Retrieve the identified record — https://api.dynect.net/REST/AAAARecord/<zone>/<fqdn>/<record_id>/
Retrieve all AAAA records — https://api.dynect.net/REST/AAAARecord/<zone>/<fqdn>/
|
Arguments:
No Arguments.
|
Response:
No Record_ID Specified:
- array — Individual AAAA record resources.
Record_ID Specified — Click for More Info
- string
fqdn — Fully qualified domain name of a node in the zone.
- hash
rdata — RData defining the record.
- string
address — IPv6 Address.
- string
record_type — The RRType of the record.
- string
ttl — TTL for the record.
- string
zone — Name of the zone.
|
SOAP Syntax
Click to view all SOAP Commands |
GetOneAAAARecord — Retrieves the specific existing AAAA Record at the zone/node.
GetAAAARecords — Retrieves all existing AAAA Records at the zone/node.
|
Arguments:
GetOneAAAARecord — Click for More Info
- string
fqdn — Required. Name of node where the record exists.
- string
record_id — If specified, the ID of the record to find.
- hash
rdata — If specified, the RData defining the record data to match against.
- string
address — Required. IPv6 Address.
- string
token — Required. The session identifier.
- string
zone — Required. Name of zone where the record exists.
GetAAAARecords — Click for More Info
- string
fqdn — Required. Name of node where the records exist.
- string
token — Required. The session identifier.
- string
zone — Required. Name of zone where the records exist.
|
Response:
GetOneAAAARecord — Click for More Info
- hash data
- string
fqdn — Fully qualified domain name of a node in the zone.
- hash
rdata — RData defining the record.
- string
address — IPv6 Address.
- string
record_id — A numeric identifier for the record.
- string
record_type — The RRType of the record.
- string
ttl — TTL for the record.
- string
zone — Name of the zone.
GetAAAARecords — Click for More Info
- array
data
- string
fqdn — Fully qualified domain name of a node in the zone.
- hash
rdata — RData defining the record.
- string
address — IPv6 Address.
- string
record_id — A numeric identifier for the record.
- string
record_type — The RRType of the record.
- string
ttl — TTL for the record.
- string
zone — Name of the zone.
|
Example Request (GetOneAAAARecord) — Click for More Info
{
'fqdn' => 'www.example.com',
'rdata' => {
'address' => '::1',
},
'token' => 'asdlkfjasl23j4879afa',
'zone' => 'example.com',
}
or
{
'fqdn' => 'www.example.com',
'record_id' => '32',
'token' => 'asdlkfjasl23j4879afa',
'zone' => 'example.com',
}
|
Example Request (GetAAAARecords) — Click for More Info
{
'fqdn' => 'www.example.com',
'token' => 'asdlkfjasl23j4879afa',
'zone' => 'example.com',
}
|
DNS API Knowledge Base