If you’re wanting to scale whois queries you’ll quickly find out that some of the servers hosting these databases impose limits on the amount of times you can query them per day or even per hour.
Countries like Australia & New Zealand impose much heavier limitations on performing queries and using a SOCKS proxy we are able to bypass these limits and continue mining data.
NodeJS installed (we’re using 8.9.3 in this example)
npm install -g whois
/usr/bin/whois -> /usr/lib/node_modules/whois/index.js
+ whois@2.5.9
added 8 packages in 1.165s
Using your favourite text editor such as vim, nano or emacs:
var whois = require('whois')
whois.lookup('proxyrack.com', {"proxy": {"ipaddress": "162.210.198.8", "port": 1200, "type": 5}}, function(err, data) {
console.log(data)
})
The parts you will want to edit:
‘proxyrack.com’ <— This is the domain you want to lookup
“ipaddress” <— Your proxy IP or hostname
“port” <— Port of your proxy
“type” <— 5 for SOCKS5 protocol or 4 for SOCKS4
If your proxy requires authentication you will need to whitelist it with your provider (this can be done in our panel).
node example.js
Proxyrack - December 14, 2023
VPNs: What are the Pros and Cons?
Proxyrack - December 11, 2023
What is a Firewall? The Complete Guide for Users
Proxyrack - December 5, 2023
What is geo-blocking?
Proxyrack - July 11, 2023
SOCKS5 Vs. SOCKS4 - What’s the difference?