Retrieving one or all GSLB service regions 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.

In order for monitoring to occur on your account, please make sure the IP addresses included here (https://manage.dynect.net/help/agents.html) can reach all your network endpoints. The web page requires you to log-on to Dyn’s Managed DNS.

REST Syntax

Click to view all REST Resources
REST/GSLBRegion/ GET — Retrieves information for one or all GSLB regions from the zone or node indicated.

HTTP Action — GET

URIs:

Get one GSLB Region — https://api.dynect.net/REST/GSLBRegion/<zone>/<fqdn>/<region_code>/

Get all GSLB Regions — https://api.dynect.net/REST/GSLBRegion/<zone>/<fqdn>/

Arguments:

Get one GSLB Region — No Arguments.

Get all GSLB Regions —

string detail — A boolean indicating whether or not to return the full details or a list of service resources.
Valid values:
Y — The details of each service are specified.
N — (default) The list of service resources is returned.

Response:

Get one GSLB Region — Click for More Info

Get all GSLBs: array — Individual GSLB service region resources.

Dyn Logo

SOAP Syntax

Click to view all SOAP Commands
GetOneGSLBRegion — Retrieve information from a Global Server Load Balancing service for a single region.

GetGSLBRegions — Retrieve information from a GSLB service region pool.

Arguments:

GetOneGSLBRegion — Click for More Info

GetGSLBRegions:

  • string zoneRequired. Name of the zone where the service exists.
  • string fqdnRequired. Name of the node where the service exists.
  • string tokenRequired. The session identifier.
Response:

GetOneGSLBRegion — Click for More Info

GetGSLBRegions — Click for More Info

Example Request (GetOneGSLBRegion) — Click for More Info

Example Request (GetGSLBRegions) — Click for More Info