Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

Is it possible to issue WHOIS requests via my local machine over a port other than 43 to a remote box to execute? Ideally, I'm using Jsch and I'd like to be able to round-robin these requests. I've looked in /etc/services, didn't learn much. Anytime I specify a port other than 43, the whois request hangs (whois -p 4999 74.125.224.72).

I know about the RIR's and their various limits, and I realize that I could pay somewhere like DomainTools. But let's be honest, that wouldn't as much fun, would it?

share|improve this question
    
Probably don't understand the question correctly - why not use ssh remote.host "whois xx.xx.xx.xx"? –  peterph Jan 25 '13 at 21:21
add comment

1 Answer

$ proxychains whois example.org
ProxyChains-3.1 (http://proxychains.sf.net)
|R-chain|-<>-127.0.0.1:1080-<><>-199.15.84.131:43-<><>-OK
Access to .ORG WHOIS information is provided to assist persons in 
determining the contents of a domain name registration record in the 
....
...
....
DS Key Tag 2:31589
Algorithm 2:8
Digest Type 2:2
Digest 2:3fdc4c11fa3ad3535ea8c1ce3eaf7bfa5ca9ae8a834d98fee10085cfaeb625aa
DS Maximum Signature Life 2:1814400 seconds

Config of proxychains /etc/proxychains.conf contain this:

socks5          127.0.0.1       1080

Socks5 setup:

$ ssh -D 1080 user@server
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.