Retrieving one or all Global Server Load Balancing service instances 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/GSLB/ GET — Retrieves one or all GSLB services from the zone or node indicated.

HTTP Action — GET

URIs:

Get One GSLB Service — https://api.dynect.net/REST/GSLB/<zone>/<fqdn>/

Get all GSLB Services — https://api.dynect.net/REST/GSLB/<zone>/

Arguments:

Get One GSLB Service: No Arguments.

Get all GSLB Services:

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 Service — Click for More Info

Get all GSLB Services: array — Individual GSLB Service resources.

Dyn Logo

SOAP Syntax

Click to view all SOAP Commands
GetOneGSLB — Retrieve information about one existing Global Server Load Balancing service.

GetGSLBs — Retrieve information about all existing GSLB services in the zone.

Arguments:

GetOneGSLB:

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

GetGSLBs:

  • string tokenRequired. The session identifier.
  • string zoneRequired. Name of the zone where the services exist.
Response:

GetOneGSLB — Click for More Info

GetGSLBs — Click for More Info

Example Request (GetOneGSLB) — Click for More Info

Example Request (GetGSLBs) — Click for More Info