Whois Bulk Query Usage guide

Source: Internet
Author: User
Tags dbase ftp icann

The IP address and as number assignments for the Internet are hierarchical. ICANN (The Internet Corporation for Assigned Names and Numbers), which is responsible for numbering the IP addresses on the global Internet (originally owned by the IANA). According to ICANN, ICANN assigns some IP addresses to regional Internet registries (regional internet Registry), which are then responsible for registration services in the region.
Now, there are a total of 5 rir:arin in the world, Ripe,apnic,lacnic,afrinic. ARIN is primarily responsible for North American operations, ripe is primarily responsible for European operations, LACNIC is primarily responsible for Latin America, AfriNIC is responsible for the African region, and the IP address and as number distribution in Asia Pacific countries is managed by APNIC. Under-Rir can also exist some registration institutions, such as: state-level registration institutions (NIR), the general district-level registration authority (LIR). These registries can receive Internet addresses and numbers from APNIC, and can be assigned to their respective subordinates. China's national Registration Authority is the Internet Information Center (CNNIC).
Whois (read "Who is", not an abbreviation) is a transport protocol used to query the IP of a domain name and the owner of such information. In short, WHOIS is a database (such as the domain owner, domain name registrar) that is used to inquire about whether a domain name has been registered and the details of registering a domain name. The use of Whois to realize the domain name information query. The early Whois query was more of a command-line interface, but now there are some web interface-Simplified online query tools that can be queried at once to different databases. Web interface query tools still rely on the WHOIS protocol to send query requests to the server, command-line interface tools are still widely used by system administrators. Whois typically uses TCP protocol 43 ports. WHOIS information for each domain/IP is maintained by the appropriate regulatory authority.


1, Superscan and other tools with Whois query function, APNIC, ARIN and other official website can also visit the Address www.apnic.net query.


2. Install the WHOIS Retrieval tool (Linux has been skipped with Whois)

wget ftp://ftp.apnic.net/apnic/dbase/tools/ripe-dbase-client-v3.tar.gz

Tar xzvf ripe-dbase-client-v3.tar.gz

CD whois-3.1

./configure

Make


3, obtain the IP address, for bulk retrieval (you can modify the Etc/hosts file to increase the 202.12.29.220 whois.apnic.net, you can also use the IP address directly below)

Gets the telco IP address segment and writes the/var/ct file.

./whois3-h 202.12.29.220-l-i mb maint-chinanet >/var/ct

Get the Beijing Telecom IP address segment and write to the/VAR/CT-BJ file.

./whois3-h 202.12.29.220-l-i mb MAINT-CHINANET-BJ >/VAR/CT-BJ

Obtain the original Netcom IP address segment and write to the/VAR/CNC file.

./whois3-h 202.12.29.220-l-i mb maint-cncgroup >/VAR/CNC

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.