Questions tagged [whois-ruby]

An intelligent — pure Ruby — WHOIS client and parser.

Ruby Whois is an intelligent — pure Ruby — WHOIS client and parser.

It provides a flexible and programmable API to query WHOIS servers and look up IP, TLD, and domain WHOIS information. It also offers command-line interface to run WHOIS queries from the console.

20 questions
0
votes
2 answers

cannot load such file -- whois/server/adapters/verisign

I am trying to create a simple ruby on rails app to output the whois info. I'm brand spankin' new to ruby so bear w/ me. require 'whois' require 'whois-parser' My controller: class WhoisController < ApplicationController def index whois =…
user_78361084
  • 3,538
  • 22
  • 85
  • 147
0
votes
1 answer

Ruby WHOIS gem registry doesn't capture Registrar info. Any alternatives?

This code returns a payload of limited value 2.4.0 :001 > require 'whois'; require 'whois-parser' => true 2.4.0 :002 > client = Whois::Client.new(timeout: 10) => # 2.4.0 :003 > results =…
Sam
  • 1,205
  • 1
  • 21
  • 39
0
votes
0 answers

Whois lookup response gives error when calling its properties method

Using this gem: whois (3.6.5) Doing this: Whois::Client.new(timeout: 2).lookup('miaz.ca') And then trying to call .properties on the result of the call (pasted below) "Domain name: miaz.ca\nDomain status: registered\nCreation…
MiaZ
  • 61
  • 4
0
votes
1 answer

Whois gem not working in rails

class DomaincheckerController < ApplicationController def index end def store r =Whois.whois(secure_params['domain']) render :text => "#{r}" end private def secure_params params.require(:whois).permit(:domain) …
Raaz
  • 1,669
  • 2
  • 24
  • 48
0
votes
1 answer

Remove disclaimer and other properties from plain-text Whois

I am using the ruby whois gem and i would like to know if there is a way to return the plain-text format without the disclaimer. Here's an example of a .eu domain : % The WHOIS service offered by EURid and the access to the records % in the EURid…
Exos
  • 75
  • 6
1
2