weppos / whois
- Source
- Commits
- Network (17)
- Issues (16)
- Downloads (35)
- Wiki (2)
- Graphs
-
Branch:
master
click here to add a description
click here to add a homepage
-
3 comments Created 7 months ago by wepposAdd "reserved" and "unavailable" statusesnice-to-haveMigrated from http://code.simonecarletti.com/issues/321
Right now the library supports
availableandregisteredstatuses.
However, a domain can bereservedbut notregistered.Consider to support the following statuses:
available- domain not registered and available for registrationregistered- domain registered/reserved and not available for registrationregistered- domain registered and not available for registrationreserved- domain not registered but reserved and not available for registration
Comments
-
Migrated from http://code.simonecarletti.com/issues/430
Some domain names applies some specific rules to domain names.
It means, the domain can be formally valid but effectively not compliant to authority requirements.u34jedzcq.uk
Error for "u34jedzcq.uk". This domain cannot be registered because it contravenes the Nominet UK naming rules. The reason is: the domain name contains too few parts. WHOIS lookup made at 20:30:27 08-Jan-2010It would be nice to be able to detect whether the domain is valid or not.
Comments
-
0 comments Created 7 months ago by wepposbugStatus property behaves differently depending on the current parserparserMigrated from http://code.simonecarletti.com/issues/343
The status property currently return mixed values. Some parsers return a string, others a symbol ad others an array.
Also, the value is not normalized and current implementation makes the property pointless.>> Whois.query("google.it").status => :"grace-period" >> Whois.query("google.com").status => ["clientDeleteProhibited", "clientTransferProhibited", "clientUpdateProhibited", "serverDeleteProhibited", "serverTransferProhibited", "serverUpdateProhibited"] >> Whois.query("google.de").status => "connect"Comments
Please log in to comment. -
Doesn't answer within 60 seconds.
weppos:whois weppos$ ruby-whois google.bj /Users/weppos/.rvm/ruby-1.8.7-p174/lib/ruby/1.8/timeout.rb:60:in `open': execution expired (Timeout::Error) from /Users/weppos/.rvm/gems/ruby/1.8.7/gems/whois-0.8.1/lib/whois/server/adapters/base.rb:83:in `ask_the_socket' from /Users/weppos/.rvm/gems/ruby/1.8.7/gems/whois-0.8.1/lib/whois/server/adapters/base.rb:77:in `query_the_socket' from /Users/weppos/.rvm/gems/ruby/1.8.7/gems/whois-0.8.1/lib/whois/server/adapters/standard.rb:34:in `request' from /Users/weppos/.rvm/gems/ruby/1.8.7/gems/whois-0.8.1/lib/whois/server/adapters/base.rb:52:in `query' from /Users/weppos/.rvm/gems/ruby/1.8.7/gems/whois-0.8.1/lib/whois/server/adapters/base.rb:66:in `with_buffer' from /Users/weppos/.rvm/gems/ruby/1.8.7/gems/whois-0.8.1/lib/whois/server/adapters/base.rb:51:in `query' from /Users/weppos/.rvm/gems/ruby/1.8.7/gems/whois-0.8.1/lib/whois/client.rb:72:in `query' from /Users/weppos/.rvm/gems/ruby/1.8.7/gems/whois-0.8.1/lib/whois/client.rb:70:in `query' from /Users/weppos/.rvm/gems/ruby/1.8.7/gems/whois-0.8.1/bin/ruby-whois:37 from /Users/weppos/.rvm/gems/ruby/1.8.7/bin/ruby-whois:19:in `load' from /Users/weppos/.rvm/gems/ruby/1.8.7/bin/ruby-whois:19Comments
whois.nic.bjdoesn't resolve.; <<>> DiG 9.6.0-APPLE-P2 <<>> whois.nic.bj ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 11006 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;whois.nic.bj. IN A ;; AUTHORITY SECTION: nic.bj. 10755 IN SOA web01.kanakoo.bj. admin.nic.bj. 2009031501 28800 7200 604800 86400 ;; Query time: 16 msec ;; SERVER: 192.168.0.1#53(192.168.0.1) ;; WHEN: Wed Jun 16 12:15:23 2010 ;; MSG SIZE rcvd: 86Please log in to comment.Sent an email to the www.nic.bj technical department.
-
0 comments Created 7 months ago by wepposbugNicWhoisIt parser can't handle multiple tech contactsparserMigrated from http://code.simonecarletti.com/issues/330
********************************************************************* * Please note that the following result could be a subgroup of * * the data contained in the database. * * * * Additional information can be visualized at: * * http://www.nic.it/cgi-bin/Whois/whois.cgi * ********************************************************************* Domain: innovazionepa.it Status: ACTIVE Created: 2006-07-14 00:00:00 Last Update: 2009-07-30 00:06:53 Expire Date: 2010-07-14 Registrant Name: Presidenza del Consiglio dei Ministri Organization: Presidenza del Consiglio dei Ministri ContactID: PRES2-ITNIC Address: P.zza Colonna, 370 Roma 00187 RM IT Created: 2007-03-01 10:26:04 Last Update: 2008-01-21 11:10:53 Admin Contact Name: Salvatore Tucci ContactID: ST1136-ITNIC Address: Presidenza del Consiglio dei Ministri P.zza Colonna, 370 Roma 00187 RM IT Created: 2005-09-29 00:00:00 Last Update: 2008-01-21 11:10:53 Technical Contacts Name: Francesco Proietti ContactID: FP43-ITNIC Address: Consorzio CASPUR Via dei Tizii, 6b Roma 00185 RM IT Created: 2003-05-05 00:00:00 Last Update: 2009-11-03 13:28:46 Name: Marco Lusini ContactID: ML3648-ITNIC Address: Presidenza del Consiglio dei Ministri Via della Mercede, 96 Roma 00187 RM IT Created: 2005-02-18 00:00:00 Last Update: 2007-03-01 07:37:08 Name: Sergio Patrucco ContactID: SP5403-ITNIC Address: Presidenza del Consiglio dei Ministri Via della Mercede, 96 Roma 00187 RM IT Created: 2005-04-28 00:00:00 Last Update: 2007-03-01 07:37:08 Name: Ezio gandini ContactID: EG4997-ITNIC Address: Presidenza del Consiglio dei Ministri Via della Mercede, 96 Roma 00187 RM IT Created: 2007-03-28 14:59:18 Last Update: 2008-01-21 12:09:27 Registrar Organization: Caspur Name: INROMA-MNT Nameservers ns.palazzochigi.it ns2.palazzochigi.it decsrv.caspur.itComments
Please log in to comment. -
Migrated from http://code.simonecarletti.com/issues/279
ARIN returns only a stripped version of the whois entry if no additional parameter (+) is given.
Modified
search_whois:/var/lib/gems/1.8/gems/whois-0.4.2/lib/whois.rb def search_whois s = TCPsocket.open(@server.server, 43) if @server.class.name.eql?("Whois::Server::Arin") s.write("+#{self.ip.to_s}\n") else s.write("#{self.ip.to_s}\n") end ret = '' while s.gets do ret += $_ end s.close @all = ret endComments
Please log in to comment. -
3 comments Created 6 months ago by wepposForce answer content to be always UTF-8 encodedfeatureInternally WHOIS should always prefer UTF-8 encoding regardless server encoding.
Comments
You might want to check this: http://github.com/axic/whois/commit/955d5157c3b92679e62cca57d469713dedcbe5d1
It implements this feature.
I checked the commit, but it doesn't really close this issue. Instead, it only provides a limited solution for two specific TLDs.
I know there are many other TLDs that would benefit from this feature. Instead, I would prefer to apply a single patch/commit instead of a separate list of per-TLD fixes.Also, this feature definitely need an extensive test suite.
Please log in to comment.If you want to work on this feature, I suggest you to move to a dedicated branch.
Let me know if you have any update, I'll be more than happy to integrate your changes into the mainstream repository.Thanks for your contribution.
-
0 comments Created 5 months ago by wepposfeatureSupport for informative queriesnice-to-have$ whois -h whois.internic.net help Whois Server Version 2.0 Domain names in the .com and .net domains can now be registered with many different competing registrars. Go to http://www.internic.net for detailed information. <WHOIS help> Select a sub-topic for help; '?' (with no RETURN) for a list of options; RETURN key to return to WHOIS. <OVERVIEW> WHOIS is used to look up records in the registry database. Whois can provide information about domains, nameservers, and registrars. ...Comments
Please log in to comment. -
Posted on behalf of Stan Wiechers.
http://groups.google.com/group/ruby-whois/browse_thread/thread/de2df45efda4ee78?hl=en_USWe have had trouble getting results for certain Korean and Japanese
addresses. Take the addresses below as example, when I run a query on
it a get a lot of garbled characters.Korea: 222.96.17.158
Japan: 218.43.43.43What can I do to get readable whois answer for those address types?
They work perfectly fine with my OS X whois command line tool.Comments
Please log in to comment.The issue is a combination of two elements:
the whois.nic.ad.jp server responds with a non-utf8 string unless the /e argument is supplied. The library doesn't seem to force that option, and this is a bug.
the library currently doesn't fully support non-utf8 responses. This is a feature already in our roadmap (#11)
-
1 comment Created 4 months ago by postmodernparserwhois 1.0.12 fails to parse answers from ARIN.bugI tested Whois 1.0.12 on Ruby 1.8.7 and 1.9.1, but I could not get it to parse the results returned for common IP Addresses such as for
www.example.com(192.0.32.10).require 'whois' w = Whois::Client.new answer = w.query('192.0.32.10') # => "\nOrgName: ICANN \nOrgID: ICANN\nAddress: 4676 Admiralty Way\nAddress: Suite 330\nCity: Marina del Rey\nStateProv: CA\nPostalCode: 90292\nCountry: US\n\nNetRange: 192.0.32.0 - 192.0.47.255 \nCIDR: 192.0.32.0/20 \nOriginAS: AS26711\nNetName: ICANN-MDR\nNetHandle: NET-192-0-32-0-1\nParent: NET-192-0-0-0-0\nNetType: Direct Assignment\nNameServer: A.IANA-SERVERS.NET\nNameServer: B.IANA-SERVERS.ORG\nNameServer: C.IANA-SERVERS.NET\nNameServer: D.IANA-SERVERS.NET\nNameServer: NS.ICANN.ORG\nComment: \nRegDate: 2009-06-29\nUpdated: 2010-02-09\n\nOrgTechHandle: JAB349-ARIN\nOrgTechName: Abley, Joe \nOrgTechPhone: +1-310-578-8673\nOrgTechEmail: joe.abley@icann.org\n\nOrgTechHandle: MAK93-ARIN\nOrgTechName: AKCIN, Mehmet \nOrgTechPhone: +1-310-823-9358\nOrgTechEmail: mehmet@icann.org\n\nOrgTechHandle: DCL131-ARIN\nOrgTechName: Closson, David \nOrgTechPhone: +1-310-578-8670\nOrgTechEmail: david.closson@icann.org\n\nOrgTechHandle: DSO63-ARIN\nOrgTechName: Soltero, David \nOrgTechPhone: +1-310-301-3890\nOrgTechEmail: david.soltero@icann.org\n\n# ARIN WHOIS database, last updated 2010-04-27 20:00\n# Enter ? for additional hints on searching ARIN's WHOIS database.\n#\n# ARIN WHOIS data and services are subject to the Terms of Use\n# available at https://www.arin.net/whois_tou.html\n" answer.properties # => {:status=>nil, :referral_url=>nil, :admin=>nil, :domain=>nil, :created_on=>nil, :technical=>nil, :updated_on=>nil, :nameservers=>nil, :disclaimer=>nil, :expires_on=>nil, :domain_id=>nil, :registrar=>nil, :referral_whois=>nil, :registrant=>nil, :registered?=>nil, :available?=>nil}Comments
Please log in to comment.The reason is that no parser is currently available to handle ARIN responses.
w = Whois::Client.new answer = w.query('192.0.32.10') answer.parser.parsers.first.class # => Whois::Answer::Parser::BlankThe Blank parser means no parser is currently available.
http://www.ruby-whois.org/manual/parser.htmlAs soon as a parser will be available, the properties will be correctly extracted from the response. New parsers are added almost every week.
-
0 comments Created 3 months ago by wepposbugRuntimeError: Unexpected token: % Error: 55000000002 Connection refused; access control limit reached.parserThe error message trying to parse the following response for denic.de Whois
RuntimeError: Unexpected token: % Error: 55000000002 Connection refused; access control limit reached.Response
% Error: 55000000002 Connection refused; access control limit reached.Comments
Please log in to comment. -
An interface to this functionality would be nice
$ whois 77.67.19.144 | grep netname
netname: AKAMAI-TINET
$ whois 85.25.0.24 | grep netname
netname: INTERGENIA-1Comments
Please log in to comment. -
0 comments Created 2 months ago by wepposdefinitionv1.3Update whois.centralnic.net server to whois.centralnic.comparserhttps://www.centralnic.com/names/domains/whois
CentralNic operates a standard whois server that you can use to check the details of any domain name registered with us. You can use any standard whois client (including the UNIX terminal client) to query our whois server at whois.centralnic.com.
Comments
Please log in to comment. -
Create a page in the "manual":http://www.ruby-whois.org/manual/ to document how to use the library to query IDN TLDs.
See also "this comment":http://www.simonecarletti.com/blog/2010/06/public-suffix-list-library-for-ruby/#comment-11952 about the
Public Suffix Serviceproject.Comments
Please log in to comment. -
Some registries imposes a N-days quarantine status to protect registrants from invalid cancellations.
Quarantine is a system under which, for forty days, a cancelled .nl domain name is not available for re-registration by anyone except the original registrant. This is the period recommended by RIPE as sufficient to ensure that the domain is no longer listed anywhere in the DNS network. The purpose of quarantine is to protect registrants against disproportionate consequences in the event of mistaken cancellation. Quarantine is a sort of after-care, which is of benefit mainly to the registrant, but also to the registrar. https://www.sidn.nl/en/faq/nl-domain-names/
The same applies for
.EUdomains.A .eu domain name spends 40 days in quarantine once it has been deleted. This means that while the domain name is not available to the general public to register, it is also no longer in the possession of its former owner. The new “quarantined” status of the name is reflected in the WHOIS database and the date of its release is also published so that other parties having an interest in the name know when they can attempt to register it again. http://faq.domainmonster.com/domains/eu/quarantine/
More information:
Comments
Please log in to comment.
- bug▾
- definition▾
- docs▾
- duplicate▾
- feature▾
- nice-to-have▾
- parser▾
- v1.2▾
- v1.3▾
- wontfix▾
- worksforme▾
- Apply to Selection
-
Change Color…
Previewpreview
- Rename…
- Delete



.it reserved domains
http://www.nic.it/documenti/regolamenti-e-linee-guida/regolamento-assegnazione-versione-6.0.pdf/at_download/file
.it geographic domains
The following
grepcommand reveals all the parsers where:registered?doesn't mean!available?.All these parsers are good candidates for refactoring once this feature will be available.
See also #33 (Quarantine Status)