Giter VIP home page Giter VIP logo

whois-parser's People

Contributors

afoster avatar anacarolinacastro avatar calavera avatar davidcornu avatar dependabot-preview[bot] avatar fturmel avatar marcandre avatar mpchadwick avatar phcyso avatar sfumanal avatar sheldonh avatar talarini avatar thomas07vt avatar tom-lord avatar weppos avatar yastupin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

whois-parser's Issues

Property 'domain' not implemented to RegistroBR parser

The property 'domain' is not implemented on RegistroBR parser.

> record = Whois.whois("casarobertomarinho.org.br")
> parser = Whois::Parser.new(record)
> parser.domain
Whois::AttributeNotImplemented: Unable to find a parser for property `domain'

`Whois::ParserError: Unexpected token` on AU domains parsing

Hi!
I've faced with .au domain parsing issue.

[6] pry(main)> parser = Whois.lookup('business.gov.au').parser
=> #<Whois::Parser:0x00007f9a94e38150
 @record=
  "Domain Name: BUSINESS.GOV.AU\r\nRegistry Domain ID: D407400000002894368-AU\r\nRegistrar WHOIS Server:\r\nRegistrar URL:\r\nLast Modified:\r\nRegistrar Name: Digital Transformation Agency\r\nRegistrar Abuse Contact Email:\r\nRegistrar Abuse Contact Phone:\r\nReseller Name:\r\nStatus: serverDeleteProhibited\r\nStatus: serverRenewProhibited\r\nStatus: serverTransferProhibited\r\nStatus: serverUpdateProhibited\r\nRegistrant Contact ID: C6380238-AU\r\nRegistrant Contact Name: Manager Web Services ICT Systems Branch\r\nTech Contact ID: C6218873-AU\r\nTech Contact Name: Manager Web Services ICT Systems Branch\r\nName Server: NS1.INTELLICENTRE.NET.AU\r\nName Server IP: 203.110.136.160\r\nName Server: NS3.INTELLICENTRE.NET.AU\r\nName Server IP: 124.47.142.2\r\nName Server: NS2.INTELLICENTRE.NET.AU\r\nName Server IP: 124.47.130.30\r\nDNSSEC: unsigned\r\nRegistrant: Department of Industry, Innovation and Science\r\nEligibility Type: Other\r\nURL of the auDA Complaint Form: https://www.auda.org.au/about-auda/our-services/submit-a-domain-complaint-/\r\n>>> Last update of WHOIS database: 2018-07-01T03:44:03Z <<<\r\n\r\n\r\n\r\nAccess to AU WHOIS information is provided to assist persons in determining the contents of a domain name registration record in the AU registry database. The data in this record is provided by AU for informational purposes only, and AU does not guarantee its accuracy.  This service is intended only for query-based access. You agree that you will use this data only for lawful purposes and that, under no circumstances will you use this data to(a) allow, enable, or otherwise support the transmission by e-mail, telephone, or facsimile of mass unsolicited, commercial advertising or solicitations to entities other than the data recipient's own existing customers; or (b) enable high volume, automated, electronic processes that send queries or data to the systems of Registry Operator, a Registrar, or AU except as reasonably necessary to register domain names or modify existing registrations. All rights reserved. AU reserves the right to modify these terms at any time. By submitting this query, you agree to abide by this policy.\r\n">
[7] pry(main)> parser.available?
Whois::ParserError: Unexpected token: Access to AU WHOIS information is provided to assist persons in determining the contents of a domain name registration record in the AU registry database. The data in this record is provided by AU for informational purposes only, and AU does not guarantee its accuracy.  This service is intended only for query-based access. You agree that you will use this data only for lawful purposes and that, under no circumstances will you use this data to(a) allow, enable, or otherwise support the transmission by e-mail, telephone, or facsimile of mass unsolicited, commercial advertising or solicitations to entities other than the data recipient's own existing customers; or (b) enable high volume, automated, electronic processes that send queries or data to the systems of Registry Operator, a Registrar, or AU except as reasonably necessary to register domain names or modify existing registrations. All rights reserved. AU reserves the right to modify these terms at any time. By submitting this query, you agree to abide by this policy.
from /Users/sk/projects/trafficrunners/leadnet/vendor/bundle/ruby/2.5.0/gems/whois-parser-1.1.0/lib/whois/scanners/base.rb:110:in `error!'

I suppose expected behavior is returning bool value or unsupported property error.

OS: macOS 10.13.5
Ruby version: 2.5.1
Gems versions:
    whois (4.0.6)
    whois-parser (1.1.0)
Context: RoR application

Add whois.nic.net.bw parser

See whois/ianawhois@b702827

diff --git a/BW b/BW
index de235bc..dd90ca6 100644
--- a/BW
+++ b/BW
@@ -38,7 +38,10 @@ nserver:      NS-BW.AFRINIC.NET 196.216.168.72 2001:43f8:120:0:0:0:0:72
 nserver:      NS1.BTC.BW 168.167.168.34
 nserver:      PCH.NIC.NET.BW 204.61.216.70

+whois:        whois.nic.net.bw
+
 status:       ACTIVE
+remarks:      Registration information: https://registry.nic.net.bw

 created:      1993-03-19
 changed:      2013-09-06

All .io domains don't seem to parse

I'm using the latest version of whois-parser and whois, the raw record is returned but the parser data seems to empty for everything.

Before I look into it further I wanted to see if this is the case for others as well or if it's just a local issue.

Add whois.nic.zm parser

See whois/ianawhois@210ec6a

diff --git a/ZM b/ZM
index 3810e33..399694f 100644
--- a/ZM
+++ b/ZM
@@ -4,33 +4,33 @@

 domain:       ZM

-organisation: ZAMNET Communication Systems Ltd.
-address:      COMESA Centre
-address:      Ben Bella Road
-address:      Lusaka  10101
+organisation: Zambia Information and Communications Technology Authority (ZICTA)
+address:      Stand 4909, Corner of Independence and United Nations Avenue
+address:      Lusaka 10101
+address:      Lusaka
 address:      Zambia

 contact:      administrative
-name:         Annabel Kangombe
-organisation: ZAMNET Communication Systems Ltd.
-address:      COMESA Centre
-address:      Ben Bella Road
+name:         Manager - Numbering and Naming
+organisation: Zambia Information and Communications Technology Authority (ZICTA)
+address:      Stand 4909, Corner of Independence and United Nations Avenue
 address:      Lusaka  10101
+address:      Lusaka
 address:      Zambia
-phone:        +260 211224149
-fax-no:       +260 211224775
-e-mail:       [email protected]
+phone:        +260 (021) 1 378219
+fax-no:       +260 (021) 1 246 701
+e-mail:       [email protected]

 contact:      technical
-name:         Hostmaster
-organisation: ZAMNET Communication Systems Ltd.
-address:      COMESA Centre
-address:      Ben Bella Road
+name:         Manager - Numbering and Naming
+organisation: Zambia Information and Communications Technology Authority (ZICTA)
+address:      Stand 4909, Corner of Independence and United Nations Avenue
 address:      Lusaka  10101
+address:      Lusaka
 address:      Zambia
-phone:        +260 211224149
-fax-no:       +260 211224775
-e-mail:       [email protected]
+phone:        +260 (021) 1 378219
+fax-no:       +260 (021) 1 246 701
+e-mail:       [email protected]

 nserver:      HIPPO.RU.AC.ZA 146.231.128.1 2001:4200:1010:0:0:0:0:1
 nserver:      NS-ZM.AFRINIC.NET 196.216.168.44 2001:43f8:120:0:0:0:0:44
@@ -38,9 +38,12 @@ nserver:      NS1.COPPERNET.ZM 41.222.240.15
 nserver:      NS1.ZAMNET.ZM 196.46.192.26
 nserver:      NS2.ZAMNET.ZM 196.46.192.21

+whois:        whois.nic.zm
+
 status:       ACTIVE
+remarks:      Registration information: https://registry.zicta.zm

 created:      1994-03-25
-changed:      2012-09-06
+changed:      2014-04-04
 source:       IANA

Parsing on .fi domains fails

It seems that parsing whois format for .fi tld fails with following error:

require('whois')
require('whois-parser')
Whois.whois('ficora.fi').parser.nameservers
Whois::ParserError: Unexpected token: Nameservers

nserver............: dns2.ficora.fi [OK]
nserver............: dns1.ficora.fi [OK]
nserver............: ns-secondary.funet.fi [OK]
dnssec.............: signed delegation

Holder

name...............: Viestint�virasto
register number....: 0709019-2
address............: Tietotekniikka
address............: PL 313
address............: 00181
address............: Helsinki
country............: Finland
phone..............: +358969661
holder email.......:

Registrar

registrar..........: Viestint�virasto

>>> Last update of WHOIS database: 27.11.2016 21:30:14 (EET) <<<


Copyright (c) Finnish Communications Regulatory Authority

from <path/to/ruby.../versions/2.3.0/lib/ruby/gems/2.3.0/gems/whois-parser-1.0.0/lib/whois/scanners/base.rb:110:in `error!'

Add whois.nic.aw parser

See whois/ianawhois@03e2e89

diff --git a/AW b/AW
index 70bcade..0fcf084 100644
--- a/AW
+++ b/AW
@@ -11,15 +11,15 @@ address:      Oranjestad
 address:      Aruba

 contact:      administrative
-name:         Indra Lampe
+name:         Legal Advisor
 organisation: SETAR
 address:      P.O. Box 13
-address:      Seroe Blanco
+address:      Seroe Blanco 29A
 address:      Oranjestad
 address:      Aruba
-phone:        +297 5251742
-fax-no:       +297 582 5505
-e-mail:       [email protected]
+phone:        +297 5251000
+fax-no:       +297 5251001
+e-mail:       [email protected]

 contact:      technical
 name:         SetarNet Operations
@@ -39,9 +39,11 @@ nserver:      NS2.DNS.AW 2001:7b8:606:0:0:0:0:88 213.154.241.88
 nserver:      NS3.DNS.AW 194.171.17.13 2001:610:0:800d:0:0:0:13
 nserver:      NS5.DNS.AW 194.0.28.2 2001:678:2c:0:194:0:28:2

+whois:        whois.nic.aw
+
 status:       ACTIVE

 created:      1996-02-20
-changed:      2014-03-03
+changed:      2014-03-14
 source:       IANA

Add whois.marnet.mk parser

See whois/ianawhois@b197ff2

diff --git a/MK b/MK
index 1c88f55..9036048 100644
--- a/MK
+++ b/MK
@@ -34,6 +34,8 @@ nserver:      NS2.ARNES.SI 193.2.1.91 2001:1470:8000:0:0:0:0:91
 nserver:      NS5.UNIVIE.AC.AT 193.171.255.77 2001:628:453:4305:0:0:0:53
 nserver:      RIP.PSG.COM 147.28.0.39 2001:418:1:0:0:0:0:39

+whois:        whois.marnet.mk
+
 status:       ACTIVE
 remarks:      Registration information: http://www.marnet.mk

Parser whois.kg Unable to find a parser for property `expires_on'

Hi guys! Thanks for your work! I apologize for English in advance, Google helped me.
I have such a script to view the term of domain delegation

#!/usr/bin/env ruby
require 'whois-parser'
record = Whois.whois(ARGV[0])
parser = record.parser
expire = parser.expires_on.strftime("%Y-%m-%d")
today = Time.now.strftime("%Y-%m-%d")
expire_date = DateTime.parse(expire)
today_date = DateTime.parse(today)
left = (expire_date - today_date).to_i
puts left

But he gives such an error

root@mypc:/etc/scripts# ./domain_left.rb elcat.kg
/var/lib/gems/2.3.0/gems/whois-parser-1.1.0/lib/whois/parser.rb:365:in `delegate_property_to_parsers': Unable to find a parser for property `expires_on' (Whois::AttributeNotImplemented)
        from /var/lib/gems/2.3.0/gems/whois-parser-1.1.0/lib/whois/parser.rb:327:in `expires_on'
        from /var/lib/gems/2.3.0/gems/whois-parser-1.1.0/lib/whois/parser.rb:348:in `method_missing'
        from ./domain_left.rb:7:in `<main>'

Please tell me what is the problem? After all, whois.kg support is enabled on 28 Mar 2017

Registrar ID field for .au domains

Hi

It appears that, for .au domains, the "Registrar ID" field once made available by whois.audns.net.au is no longer returned, although a "Registrar Name" is.

I have submitted a support request with AusRegistry to ask if they can clarify, however it appears as though the field disappeared from auDA's WHOIS policy somewhere inbetween http://www.auda.org.au/policies/index-of-published-policies/2010/2010-06/ and the latest policy, http://www.auda.org.au/policies/index-of-published-policies/2014/2014-07/.

Currently the parser for whois.audns.net.au returns nil instead of a Whois::Record::Registar because it relies on an ID being present. However I think it's still useful to surface the registrar name somehow.

I would like to submit a pull request to fix however I'd appreciate your guidance on whether it's acceptable to have either a nil or made-up string value in a Whois::Record::Registar object.

Cheers

Register.it and OVH whois not parsed

Hello,

I'm having trouble getting contacts info from parser for domains with whois data available from the following servers:

  • whois.ovh.com
  • whois.register.it

Am I missing something?
I can only get parsed info from part 1 (thin)...

Add whois.dot.ml parser

See whois/ianawhois@f5cac07

diff --git a/ML b/ML
index 31452bf..6d9816c 100644
--- a/ML
+++ b/ML
@@ -34,10 +34,12 @@ nserver:      B.NS.ML 185.21.169.1 2a04:1b00:1:0:0:0:0:1
 nserver:      C.NS.ML 185.21.170.1 2a04:1b00:2:0:0:0:0:1
 nserver:      D.NS.ML 185.21.171.1 2a04:1b00:3:0:0:0:0:1

+whois:        whois.dot.ml
+
 status:       ACTIVE
-remarks:      Registration information: http://www.sotelma.ml
+remarks:      Registration information: http://www.dot.ml

 created:      1993-09-29
-changed:      2013-04-04
+changed:      2013-04-09
 source:       IANA

Expires_on in GoDaddy and Network Solutions parsers

I'm having a problem getting back the expiration date for GoDaddy and Network Solutions domains, they just return nil. It was working several months ago, I'm not sure exactly when they stopped returning.

whois (4.0.1, 4.0.0, 3.6.5)
whois-parser (1.0.0)
ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-linux]

irb(main):001:0> require 'whois'
=> true
irb(main):002:0> require 'whois-parser'
=> true
irb(main):007:0> record = Whois.whois("pipsmd.com")
irb(main):008:0> parser = record.parser
=> #<Whois::Parser:0x007f86e8f03ba8 @record="\nWhois Server Version 2.0\n\nDomain names in the .com and .net domains can now be registered\nwith many different competing registrars. Go to http://www.internic.net\nfor detailed information.\n\n Domain Name: PIPSMD.COM\n Registrar: GODADDY.COM, LLC\n Sponsoring Registrar IANA ID: 146\n Whois Server: whois.godaddy.com\n Referral URL: http://www.godaddy.com\n Name Server: NS1.ETNAINTERACTIVE.COM\n Name Server: NS2.ETNAINTERACTIVE.COM\n Status: clientDeleteProhibited https://icann.org/epp#clientDeleteProhibited\n Status: clientRenewProhibited https://icann.org/epp#clientRenewProhibited\n Status: clientTransferProhibited https://icann.org/epp#clientTransferProhibited\n Status: clientUpdateProhibited https://icann.org/epp#clientUpdateProhibited\n Updated Date: 10-nov-2015\n Creation Date: 09-nov-2010\n Expiration Date: 09-nov-2017\n\n>>> Last update of whois database: Tue, 07 Mar 2017 20:37:55 GMT <<<\n\nFor more information on Whois status codes, please visit https://icann.org/epp\n\nNOTICE: The expiration date displayed in this record is the date the\nregistrar's sponsorship of the domain name registration in the registry is\ncurrently set to expire. This date does not necessarily reflect the expiration\ndate of the domain name registrant's agreement with the sponsoring\nregistrar. Users may consult the sponsoring registrar's Whois database to\nview the registrar's reported date of expiration for this registration.\n\nTERMS OF USE: You are not authorized to access or query our Whois\ndatabase through the use of electronic processes that are high-volume and\nautomated except as reasonably necessary to register domain names or\nmodify existing registrations; the Data in VeriSign Global Registry\nServices' ("VeriSign") Whois database is provided by VeriSign for\ninformation purposes only, and to assist persons in obtaining information\nabout or related to a domain name registration record. VeriSign does not\nguarantee its accuracy. By submitting a Whois query, you agree to abide\nby the following terms of use: You agree that you may use this Data only\nfor lawful purposes and that under no circumstances will you use this Data\nto: (1) allow, enable, or otherwise support the transmission of mass\nunsolicited, commercial advertising or solicitations via e-mail, telephone,\nor facsimile; or (2) enable high volume, automated, electronic processes\nthat apply to VeriSign (or its computer systems). The compilation,\nrepackaging, dissemination or other use of this Data is expressly\nprohibited without the prior written consent of VeriSign. You agree not to\nuse electronic processes that are automated and high-volume to access or\nquery the Whois database except as reasonably necessary to register\ndomain names or modify existing registrations. VeriSign reserves the right\nto restrict your access to the Whois database in its sole discretion to ensure\noperational stability. VeriSign may restrict or terminate your access to the\nWhois database for failure to abide by these terms of use. VeriSign\nreserves the right to modify these terms at any time.\n\nThe Registry database contains ONLY .COM, .NET, .EDU domains and\nRegistrars.\n\nDomain Name: PIPSMD.COM\r\nRegistrar URL: http://www.godaddy.com\r\nRegistrant Name: \r\nRegistrant Organization: Partners in Plastic Surgery of West Michigan\r\nName Server: NS1.ETNAINTERACTIVE.COM\r\nName Server: NS2.ETNAINTERACTIVE.COM\r\nDNSSEC: unsigned\r\n\r\nFor complete domain details go to:\r\nhttp://who.godaddy.com/whoischeck.aspx?domain=PIPSMD.COM\r\n\r\nThe data contained in GoDaddy.com, LLC's WhoIs database,\r\nwhile believed by the company to be reliable, is provided "as is"\r\nwith no guarantee or warranties regarding its accuracy. This\r\ninformation is provided for the sole purpose of assisting you\r\nin obtaining information about domain name registration records.\r\nAny use of this data for any other purpose is expressly forbidden without the prior written\r\npermission of GoDaddy.com, LLC. By submitting an inquiry,\r\nyou agree to these terms of usage and limitations of warranty. In particular,\r\nyou agree not to use this data to allow, enable, or otherwise make possible,\r\ndissemination or collection of this data, in part or in its entirety, for any\r\npurpose, such as the transmission of unsolicited advertising and\r\nand solicitations of any kind, including spam. You further agree\r\nnot to use this data to enable high volume, automated or robotic electronic\r\nprocesses designed to collect or compile this data for any purpose,\r\nincluding mining this data for your own personal or commercial purposes. \r\n\r\nPlease note: the registrant of the domain name is specified\r\nin the "registrant" section. In most cases, GoDaddy.com, LLC \r\nis not the registrant of domain names listed in this database.\r\n">
irb(main):009:0> parser.created_on
=> nil
irb(main):010:0> parser.registered?
=> true
irb(main):011:0> parser.available?
=> false
irb(main):013:0> parser.expires_on
=> nil

Add .app parser

Google recently released the .app TLD

whois-parser doesn't do a great job handling the responses :(

GoDaddy domains fail

I believe this was supposed to be fixed in 1.0.1, but it's failing for me. I've reinstalled the gem multiple times with the same result.

$ gem list --local | grep whois-parser
whois-parser (1.0.1)

Example code:

require 'whois-parser'

record = Whois.whois('university.com')
parser = record.parser

puts parser.expires_on

The result is nil. It works fine for non-GoDaddy domains as far as I've tested.

Billing contacts not supported by framework

Billing contacts is a fairly common part of WHOIS responses, but the framework can only store registrant_contacts, admin_contacts, technical_contacts. Would be nice if it could also store billing_contacts so they can be parsed when they exist.

whois.verisign-grs.com.rb Changed output...

Our whois records are no longer getting parsed correctly, but when changing expires_on to the following it starts to work again.

node("Registry Expiry Date") { |value| parse_time(value) }

Our example record is here.

Domain Name: MANTA.COM
Registry Domain ID: 109571704_DOMAIN_COM-VRSN
Registrar WHOIS Server: whois.advancedregistrar.com
Registrar URL: http://www.netearthone.com
Updated Date: 2017-01-03T13:06:38Z
Creation Date: 2004-01-08T19:49:14Z
Registry Expiry Date: 2018-01-08T19:49:14Z
Registrar: NetEarth One Inc. d/b/a NetEarth
Registrar IANA ID: 1005
Registrar Abuse Contact Email: [email protected]
Registrar Abuse Contact Phone: +440.2030269987
Domain Status: clientTransferProhibited https://icann.org/epp#clientTransferProhibited
Name Server: NS-101.AWSDNS-12.COM
Name Server: NS-1389.AWSDNS-45.ORG
Name Server: NS-1950.AWSDNS-51.CO.UK
Name Server: NS-759.AWSDNS-30.NET
DNSSEC: unsigned
URL of the ICANN Whois Inaccuracy Complaint Form: https://www.icann.org/wicf/

Question on a few methods

Hi,
@weppos do you happen to know whats up with the :referral_whois and :referral_url methods? Also, the status method doesn't return a list of the domain statuses such as clientDeleteProhibited, perhaps another method for getting those could work? Also, is there any way to show the raw whois using the parser?

Add .рус (.xn--p1acf) parser: whois server whois.nic.рус (whois.nic.xn--p1acf)

Domain Name: xxx.xn--p1acf
Unicode Name: ???.???
Domain ID: xxx
WHOIS Server: whois.nic.xn--p1acf
Updated Date: 2017-07-01T21:02:01.453Z
Creation Date: 2016-08-01T20:02:01.335Z
Registry Expiry Date: 2018-08-01T20:02:01.524Z
Domain Status: ok https://icann.org/epp#ok
Registrar: xxx
Registrar IANA ID: xxx
Registrar Abuse Phone: xxx
Registrar Abuse Email: xxx
Registrar URL: xxx
Registrant ID: xxx
Registrant Name: xxx
Registrant Organization: xxx
Registrant Street: xxx
Registrant City: xxx
Registrant State/Province: xxx
Registrant Postal Code: xxx
Registrant Country: XX
Registrant Phone: xxx
Registrant Email: xxx
Admin ID: xxx
Admin Name: xxx
Admin Organization: xxx
Admin Street: xxx
Admin City: xxx
Admin State/Province: xxx
Admin Postal Code: xxx
Admin Country: XX
Admin Phone: xxx
Admin Email: xxx
Billing ID: xxx
Billing Name: xxx
Billing Organization: xxx
Billing Street: xxx
Billing City: xxx
Billing State/Province: xxx
Billing Postal Code: xxx
Billing Country: XX
Billing Phone: xxx
Billing Email: xxx
Tech ID: xxx
Tech Name: xxx
Tech Organization: xxx
Tech Street: xxx
Tech City: xxx
Tech State/Province: xxx
Tech Postal Code: xxx
Tech Country: XX
Tech Phone: xxx
Tech Email: xxx
Name Server: xxx
Name Server: xxx
DNSSEC: unsigned
>>> Last update of WHOIS database: 2018-05-27T22:07:09.790Z <<<

TERMS OF USE: You are not authorized to access or query our WHOIS database through the use of electronic processes that are high-volume and automated.  THis WHOIS database is provided by as a service to the internet community.

The data is for information purposes only. We do not guarantee its accuracy. By submitting a WHOIS query, you agree to abide by the following terms of use: You agree that you may use this Data only for lawful purposes and that under no circumstances will you use this Data to: (1) allow, enable, or otherwise support the transmission of mass unsolicited, commercial advertising or solicitations via e-mail, telephone, or facsimile; or (2) enable high volume, automated, electronic processes that apply to CoCCA it's members (or CoCCA or member computer systems). The compilation, repackaging, dissemination or other use of this Data is expressly prohibited.

Parsing .blog domains fails

Getting the record with whois works ok but parser can't parse it.

irb(main):001:0> require 'whois-parser'
=> true
irb(main):002:0> record = Whois.whois("get.blog")
irb(main):003:0> parser = record.parser

irb(main):004:0> parser.nameservers
Whois::AttributeNotImplemented: Unable to find a parser for property `nameservers'
        from /usr/local/bundle/gems/whois-parser-1.0.0/lib/whois/parser.rb:350:in `delegate_property_o_parsers'
        from /usr/local/bundle/gems/whois-parser-1.0.0/lib/whois/parser.rb:312:in `nameservers'
        from /usr/local/bundle/gems/whois-parser-1.0.0/lib/whois/parser.rb:333:in `method_missing'
        from (irb):4
        from /usr/local/bin/irb:11:in `<main>'

Add whois.nic.kn parser

See whois/ianawhois@df0adb9

diff --git a/KN b/KN
index a7ce9f6..e98dce1 100644
--- a/KN
+++ b/KN
@@ -34,6 +34,8 @@ nserver:      A.DNS.TW 2001:cd8:800:0:0:0:0:8 203.73.24.8
 nserver:      B.DNS.TW 210.201.138.58 2404:0:10a0:0:0:0:0:58
 nserver:      C.DNS.TW 2001:b020:0:77:0:0:0:1 61.220.48.1

+whois:        whois.nic.kn
+
 status:       ACTIVE

 created:      1991-09-03

Unknown status: 'Deactivated' + 'Reserved'

Hi, first of all great API, thanks for your work!

I've been getting this error for certain domains which status is "deactivated" or "reserved".

Here's some domains you can use for checking:
"reserved": kreditkortonline.dk
"deactivated": netborder.dk

Thanks again.

Can't access response_throttled with new version

Hi,

I used to access the response_throttled method this way:

result = nil
result = server.lookup(domain)
result.response_throttled? ...

But since I've upgraded to the latest 4.0 version the response_throttled is not accessible anymore. I saw the commit history and this method was removed from Whois::Record.
The question is, how am I able to access that information in the new version?

Thank you!

Creation Date isn't being parsed

Hi,

I'm trying to get whois information for domains and in same cases the Creation Date field isn't being parsed. For example with this domain: loloscube dot com
The Creation Date is in the Verisign's response but the resulting json does not contain a separate creation_date field.

Since I'm new to Ruby I'm having a hard time debugging the code :)
Can you please help me out?

Thanks!

Add vunic.vu parser

See whois/ianawhois@ff19ec8

diff --git a/VU b/VU
index 3a29b0e..d1c554c 100644
--- a/VU
+++ b/VU
@@ -29,15 +29,17 @@ phone:        +678 7744333
 fax-no:       +678 24319
 e-mail:       [email protected]

+nserver:      CCTLD-VU.ORANGE.MU 196.192.110.15
 nserver:      EFATE.VANUATU.COM.VU 202.80.32.5
 nserver:      FUTUNA.VANUATU.COM.VU 202.80.32.3
-nserver:      MARINGO.VANUATU.COM.VU 125.255.96.208
 nserver:      SANTO.VANUATU.COM.VU 202.80.32.7

+whois:        vunic.vu
+
 status:       ACTIVE
 remarks:      Registration information: http://www.vunic.vu

 created:      1995-04-10
-changed:      2013-12-03
+changed:      2014-01-22
 source:       IANA

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.