weppos / whois

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

No match IPv4 address block of 43.0.0.0/8 #615

Closed taketo1113 closed 3 years ago

taketo1113 commented 4 years ago

It coudn't lookup IPv4 address of 43.0.0.0/8 to answers "No match". The cause is that the ipv4 address block of 43.0.0.0/8 ransfered from JPNIC to APNIC at March 2020.

By Changing whois host of 43.0.0.0/8 from JPNIC(whois.nic.ad.jp) to APNIC(whois.apnic.net), it fixed this lookup answer.

Actual behavior

Whois.whois("43.0.0.1")


[ JPNIC database provides information regarding IP address and ASN. Its use   ]
[ is restricted to network administration purposes. For further information,  ]
[ use 'whois -h whois.nic.ad.jp help'. To only display English output,        ]
[ add '/e' at the end of command, e.g. 'whois -h whois.nic.ad.jp xxx/e'.      ]

No match!!

Reference: WHOIS servers of RIRs APNIC WHOIS(whois.apnic.net) ARIN WHOIS(whois.arin.net) RIPE WHOIS(whois.ripe.net) LACNIC WHOIS(whois.lacnic.net) AfriNIC WHOIS(whois.afrinic.net)


### Expected behavior
> Whois.whois("43.0.0.1")

% [whois.apnic.net] % Whois data copyright terms http://www.apnic.net/db/dbcopyright.html

% Information related to '43.0.0.0 - 43.63.255.255'

% Abuse contact for '43.0.0.0 - 43.63.255.255' is 'anti-spam@list.alibaba-inc.com'

inetnum: 43.0.0.0 - 43.63.255.255 netname: ALIBABA_CLOUD descr: Aliyun Computing Co.LTD country: CN admin-c: ASEP1-AP tech-c: ASEP1-AP status: ALLOCATED NON-PORTABLE mnt-by: MAINT-ASEPL-SG mnt-irt: IRT-ASEPL-SG last-modified: 2020-08-04T01:57:32Z source: APNIC

irt: IRT-ASEPL-SG address: 1 Raffles Place # 59-00 One Raffles Place, Tower One Singapore, Singapore e-mail: anti-spam@list.alibaba-inc.com abuse-mailbox: anti-spam@list.alibaba-inc.com admin-c: ASEP1-AP tech-c: ASEP1-AP auth: # Filtered remarks: anti-spam@list.alibaba-inc.com was validated on 2020-10-12 mnt-by: MAINT-ASEPL-SG last-modified: 2020-10-12T07:53:58Z source: APNIC

role: Alibabacom Singapore E-Commerce Private Limited a address: 1 Raffles Place #59-00 One Raffles Place, Tower One Singapore, Singapore country: SG phone: +86-571-85022088 fax-no: +86-571-85022088 e-mail: anti-spam@list.alibaba-inc.com admin-c: ASEP1-AP tech-c: ASEP1-AP nic-hdl: ASEP1-AP mnt-by: MAINT-ASEPL-SG last-modified: 2015-12-10T01:04:19Z source: APNIC

% This query was served by the APNIC Whois Service version 1.88.15-SNAPSHOT (WHOIS-JP3)



### Related links
- WIDE - 2020.03.25 Announcement regarding IPv4 Address Block 43/8 -
  - http://www.wide.ad.jp/News/2020/20200325_e.html
weppos commented 3 years ago

Thanks!