weppos / whois

An intelligent — pure Ruby — WHOIS client and parser.
https://whoisrb.org
MIT License
1.14k stars 283 forks source link

how to lookup against one specific server? #565

Closed blysik closed 7 years ago

blysik commented 7 years ago

We have a custom whois server, which I use via:

whois -h customwhois.company.com 12.345.456

How can I make a whois request with this gem, and ONLY query that custom whois server, for the request?

Thanks!

blysik commented 7 years ago

Whoops, sorry, missed:

@option settings [String, nil] :host (nil)

#         The server host to query. Leave it blank for intelligent detection.
weppos commented 7 years ago

👍

Just keep in mind there is a small bug that may affect you: #440