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

REST Syntax

Click to view all REST Resources

/REST/NSRecord/ GET — Retrieve one or all existing NS Records on the zone/node indicated.

HTTP Action — GET

URIs:

Get one NS Record — https://api.dynect.net/REST/NSRecord/<zone>/<fqdn>/<record_id>/

Get all NS Records — https://api.dynect.net/REST/NSRecord/<zone>/<fqdn>/

Arguments:

No Arguments.

Response:

Get one NS Record — Click for More Info

Get all NS Records — array — Individual NS records.

Dyn Logo

SOAP Syntax

Click to view all SOAP Commands

GETOneNSRecord — Retrieve one existing NS Record on the zone/node indicated.

GETNSRecords — Retrieve all existing NS Records on the zone/node indicated.

Arguments:

GetOneNSRecord — Click for More Info

GetNSRecords — Click for More Info

Response:

GetOneNSRecord — Click for More Info

GetNSRecords — Click for More Info

Example Request (GetOneNSRecord) — Click for More Info

Example Request (GetNSRecords) — Click for More Info