By fcambus
Updated 5 months ago
Popularity Score
Success Rate
Development3 years ago
Dns slow to updateHello I am trying to use your API to query a client domain when they have made a change for us. To do this I am calling the url and querying the cname record. However sometimes it will report there is no record found when (if i use MXToolBox) there is a record there. Is there some kind of caching I can lower or something so that it reports correctly on each call? Eventually the problem resolves itself but there is a significant delay. I've got a sceen shot of MXToolbox and your API on mashape to show the issue.
fcambus3 years ago
Hello, It might be related to negative caching. If you query a non existing record, the negative answer is cached for the duration specified in the SOA (the value is the minimum of the SOA record’s TTL and the SOA minimum field). If this value exceeds one hour, the duration will be truncated to one hour by our DNS resolver. Regards.
Hi Developer, feel free to post your answer:

Install SDK for NodeJS


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

.header("X-RapidAPI-Host", "")
.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