Retrieving one or more existing CNAME Records 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.

REST Syntax

Click to view all REST Resources

/REST/CNAMERecord/ GET — Retrieve one or more existing CNAME Record on the zone/node indicated.

HTTP Action — GET

URIs:

Retrieve One Record — https://api.dynect.net/REST/CNAMERecord/<zone>/<fqdn>/<record_id>/

Retrieve All Records — https://api.dynect.net/REST/CNAMERecord/<zone>/<fqdn>/

Arguments:

No Arguments.

Response:

Retrieve One CNAME Record — Click for More Info

Retrieve All CNAME Records: array — Individual CNAME record resources.

Dyn Logo

SOAP Syntax

Click to view all SOAP Commands

GetOneCNAMERecord — Retrieve an existing CNAME Record on the zone/node indicated.

GetCNAMERecords — Retrieve all existing CNAME Records on the zone/node indicated.

Arguments:

GetOneCNAMERecord — Click for More Info

GetCNAMERecords — Click for More Info

Response:

GetOneCNAMERecord — Click for More Info

GetCNAMERecords — Click for More Info

Example Request(GetOneCNAMERecord) — Click for More Info

Example Request(GetCNAMERecords) — Click for More Info