Retrieving one or all existing PTR 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.

See RFC 1035 for more information about PTR records.

REST Syntax

Click to view all REST Resources
/REST/PTRRecord/ GET — Retrieve one or all existing PTR Records on the zone/node indicated.

HTTP Action — GET

URIs:

Get one PTR record — https://api.dynect.net/REST/PTRRecord/<zone>/<fqdn>/<record_id>/

Get all PTR records — https://api.dynect.net/REST/PTRRecord/<zone>/<fqdn>/

Arguments:

No Arguments.

Response:

Get one PTR record — Click for More Info

Get all PTR records — array — Individual PTR records.

Dyn Logo

SOAP Syntax

Click to view all SOAP Commands
GETOnePTRRecord — Retrieve one existing PTR Record on the zone/node indicated.

GETPTRRecords — Retrieve all existing PTR Records on the zone/node indicated.

Arguments:

GetOnePTRRecord — Click for More Info

GetPTRRecords — Click for More Info

Response:

GetOnePTRRecord — Click for More Info

GetPTRRecords — Click for More Info

Example Request (GetOnePTRRecord) — Click for More Info

Example Request (GetPTRRecords) — Click for More Info