Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

querying a whois server via SOCKS proxy #585

Closed
deepika-maj opened this issue Nov 15, 2019 · 1 comment
Closed

querying a whois server via SOCKS proxy #585

deepika-maj opened this issue Nov 15, 2019 · 1 comment

Comments

@deepika-maj
Copy link

is it possible to send the request to a WHOIS server via SOCKS proxy

@weppos
Copy link
Owner

weppos commented Nov 25, 2019

The client accepts a bind address. If the proxy supports it, then you can use it.

# @example Binding the requests to a custom local IP
# client = Whois::Client.new(:bind_host => "127.0.0.1", :bind_port => 80)
# client.lookup("google.com")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants