StatDNS

PAID
By fcambus
Updated 5 months ago
Tools
7.9/10
Popularity Score
277ms
Latency
93%
Success Rate
haroldo89a year ago
Getting a lot of errorsHi, im getting a lot of errors with the API for some domains when trying to get MX records. The if I check the MX records with mxtoolbox.com it works. Im copying the response here: HTTP/1.1 500 Internal Server Error Connection: keep-alive Content-Length: 57 Content-Type: application/json Date: Mon, 16 Apr 2018 19:19:21 GMT Server: Mashape/5.0.6 X-Ratelimit-Requests-Limit: 1000 X-Ratelimit-Requests-Remaining: 971 { "code": 501, "message": "DNS server could not be reached" }
fcambusa year ago
The API is now temporary setup to use a different resolver, this should solve your issue for now.
fcambusa year ago
Hi, I checked the logs and indeed the latest queries for MX records return an error. It seems all the names returning errors are all served by the same authoritative name servers, so it is likely that some kind of rate limiting mechanism has been triggered. As a result, our resolver cannot reach those name servers anymore at the moment.
Hi Developer, feel free to post your answer:

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.get("https://statdns-v1.p.rapidapi.com/{domain}/{querytype}")
.header("X-RapidAPI-Host", "statdns-v1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication