Хабр Курсы для всех
РЕКЛАМА
Практикум, Хекслет, SkyPro, авторские курсы — собрали всех и попросили скидки. Осталось выбрать!
$ ./pwhois 8.8.8.8
[whois.arin.net]
Level 3 Communications, Inc. LVLT-ORG-8-8 (NET-8-0-0-0-1) 8.0.0.0 - 8.255.255.255
Google Incorporated LVLT-GOOGL-1-8-8-8 (NET-8-8-8-0-1) 8.8.8.0 - 8.8.8.255
$ ./pwhois russia.edu.ru
[whois.ripn.net]
No entries found for the selected source(s).
Last updated on 2013.01.15 18:21:31 MSK
our %exceed = (
'whois.eu' => '(?:Excessive querying, grace period of|Still in grace period, wait)',
'whois.dns.lu' => 'Excessive querying, grace period of',
'whois.mynic.net.my' => 'Query limitation is',
'whois.ripn.net' => 'exceeded allowed connection rate',
'whois.domain-registry.nl' => 'too many requests',
'whois.nic.uk' => 'and will be replenished',
'whois.networksolutions.com' => 'contained within a list of IP addresses that may have failed',
'whois.worldsite.ws' => 'You exceeded the maximum',
'whois.tucows.com' => '(?:Maximum Daily connection limit reached|exceeded maximum connection limit)',
'whois.centralnic.com' => 'Query rate of \\d+',
'whois.pir.org' => 'WHOIS LIMIT EXCEEDED',
'whois.nic.ms' => 'Look up quota exceeded',
'whois.nic.gs' => 'look up quota exceeded',
'whois.nic.tl' => 'Lookup quota exceeded',
'whois.nic.mg' => 'Lookup quota exceeded',
'whois.nic.li' => 'You have exceeded this limit',
'whois.nic.ch' => 'You have exceeded this limit',
);
$ telnet whois.ripe.net 43
Trying 193.0.6.135...
Connected to whois.ripe.net.
Escape character is '^]'.
% This is the RIPE Database query service.
% The objects are in RPSL format.
%
% The RIPE Database is subject to Terms and Conditions.
% See http://www.ripe.net/db/support/db-terms-conditions.pdf
-B 213.180.204.0 <<<<< обратите внимание на "-B"
% Information related to '213.180.204.0 - 213.180.204.255'
inetnum: 213.180.204.0 - 213.180.204.255
netname: YANDEX-213-180-204
descr: Yandex enterprise network
country: RU
admin-c: YNDX1-RIPE
tech-c: YNDX1-RIPE
remarks: INFRA-AW
status: ASSIGNED PA
mnt-by: YANDEX-MNT
changed: artem@yandex-team.ru 20091116 <<<<< дополнительное поле
source: RIPE
...
$ whois -h whois.iana.org 213.154.64.0
refer: whois.ripe.net
inetnum: 213.0.0.0 - 213.255.255.255
organisation: RIPE NCC
status: ALLOCATED
whois: whois.ripe.net
changed: 1993-10
source: IANA
$ whois -h whois.nic.name 'domain = d-n-s.name'
Whois: практическое руководство пользователя