GSLB.me

FREE
By gslbme
Updated 4 months ago
Other
-/10
Popularity Score
-
Latency
-
Success Rate

GSLB.me API Documentation

GSLB.me is a cloud-based highly reliable DNS and Global Server Load Balancing solution that provides full authoritative DNS services and DNS-based geographical traffic balancing, failover, high availability and geographical routing.

GSLB.me brings you a complete REST-based Application Programming Interface to integrate your own applications and cloud-enabled infrastructures.

The REST API is available for free and allows you to:

  • manage dynamic DNS orchestration by creating new DNS records every time a new VPS or Amazon EC2 instance is run
  • automatically add, modify and delete DNS records directly from your code without using GSLB.me web GUI
  • transparently integrate GSLB.me into your own B2B and B2C services: integrate our services with your own front-end or backend application
  • update your dynamic DNS records in real-time

Read the documentation and get started with GSLB.me API for your customized provisioning and orchestration.

View API Details
Zones
POSTCommit zone
POSTCreate zone
DELETEDelete zone
GETGet zone configuration
PUTSet zone state
geohosts
POSTCommit geohost
GETGet geohost configuration
records
POSTAdd zone record
DELETEDelete zone record
GETGet zone records
PUTModify zone record
POSTCommit zone

This API method commits pending changing for an existing zone. Whenever one record (RRset) is added, modified or deleted the change is saved but not active until this “Commit Zone” method is called.

Authorization:

HTTP Basic Authentication (For details, please refer to http://docs.gslb.me/ )

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
AuthorizationBASIC
REQUIREDHTTP Basic Authentication (For details, please refer to http://docs.gslb.me/ )
Required Parameters
zone_nameSTRING
REQUIREDis the name of the zone you want to commit
Code Snippet
unirest.post("https://gslbme-gslbme.p.rapidapi.com/commit/zone/{zone_name}")
.header("X-RapidAPI-Host", "gslbme-gslbme.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
General
Request URL: https://gslbme-gslbme.p.rapidapi.com/commit/zone/{zone_name}
Request Method: POST
Response Headers
Response Body

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.post("https://gslbme-gslbme.p.rapidapi.com/commit/zone/{zone_name}")
.header("X-RapidAPI-Host", "gslbme-gslbme.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication