Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


#query should not be case-sensitive #151

weppos opened this Issue · 0 comments

1 participant


$ irb
irb(main):001:0> require 'whois'
=> true
irb(main):002:0> Whois.query('Google.Com') ; nil
Whois::ServerNotFound: Unable to find a WHOIS server for `Google.Com'
       from /usr/lib/ruby/gems/1.8/gems/whois-2.3.0/lib/whois/server.rb:
222:in `guess'
       from /usr/lib/ruby/gems/1.8/gems/whois-2.3.0/lib/whois/client.rb:
88:in `query'
       from /usr/lib/ruby/1.8/timeout.rb:67:in `timeout'
       from /usr/lib/ruby/gems/1.8/gems/whois-2.3.0/lib/whois/client.rb:
87:in `query'
       from /usr/lib/ruby/gems/1.8/gems/whois-2.3.0/lib/whois.rb:41:in
       from (irb):2
irb(main):003:0> Whois.query('') ; nil
=> nil

I can see how the advent of domain names involving characters outside
the original ASCII charset might complicate the upper/lowercase
thing.. but this seems downright wrong, since FQDNs and FQHNs are
defined as case-insensitive.

@weppos weppos was assigned
@weppos weppos closed this in e569a0c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.