Check IP or domain in RKN blocking.
Installation
npm i check-rkn
Usage
const rkn = ; // Check list IPs;// [ { ip: '216.58.214.110', block: false },// { ip: '108.174.10.10', block: true } ] // Check one IP;// true // Check list domains;// [ { ip: 'google.com', block: false, ips: [ { ip: '216.58.214.110', block: false } ] },// { ip: 'linkedin.com', block: true, ips: [ { ip: '108.174.10.10', block: true } ] } ] // Check one domain (and IP);// true // Check error data;// [ { domain: 'hello.trololo', error: 'ENOTFOUND', ips: [] },// { domain: '127.0.0.hello', error: 'ENOTFOUND', ips: [] } ]
The first launch of each hour will last longer, since the new database is being downloaded.
© 2018 ExtensionsApp