Bii o ṣe le Gba Ibugbe ati Alaye Adirẹsi IP Lilo WHOIS Command


WHOIS jẹ ibeere ti o da lori TCP ati ilana idahun ti o wọpọ lo lati pese awọn iṣẹ alaye si awọn olumulo Intanẹẹti. O da alaye pada nipa Awọn orukọ Aṣẹ ti a forukọsilẹ, bulọọki adirẹsi IP, Awọn olupin Orukọ ati ibiti o gbooro pupọ ti awọn iṣẹ alaye.

Ni Lainos, iwulo laini aṣẹ aṣẹ tani jẹ alabara WHOIS fun ibaraẹnisọrọ pẹlu olupin WHOIS (tabi oluṣakoso data) eyiti o tẹtisi awọn ibeere lori nọmba ibudo ti o gbajumọ daradara 43, eyiti o tọju ati fi akoonu akoonu data silẹ ni ọna kika ti eniyan ka.

Tani iwulo laini aṣẹ ko wa ni fifi sori ẹrọ tẹlẹ lori ọpọlọpọ awọn pinpin Lainos, ṣiṣe aṣẹ ti o yẹ ni isalẹ fun pinpin rẹ lati fi sii.

# yum install whois		#RHEL/CentOS
# dnf install whois		#Fedora 22+
$ sudo apt install whois	#Debian/Ubuntu

Bii o ṣe le Wa Alaye Adirẹsi IP

Lati gba alaye nipa Adirẹsi IP kan pato gbekalẹ aṣẹ bi o ṣe han ninu apẹẹrẹ isalẹ.

$ whois 216.58.206.46

#
# ARIN WHOIS data and services are subject to the Terms of Use
# available at: https://www.arin.net/whois_tou.html
#
# If you see inaccuracies in the results, please report at
# https://www.arin.net/public/whoisinaccuracy/index.xhtml
#


#
# The following results may also be obtained via:
# https://whois.arin.net/rest/nets;q=216.58.206.46?showDetails=true&showARIN=false&showNonArinTopLevelNet=false&ext=netref2
#

NetRange:       216.58.192.0 - 216.58.223.255
CIDR:           216.58.192.0/19
NetName:        GOOGLE
NetHandle:      NET-216-58-192-0-1
Parent:         NET216 (NET-216-0-0-0-0)
NetType:        Direct Allocation
OriginAS:       AS15169
Organization:   Google LLC (GOGL)
RegDate:        2012-01-27
Updated:        2012-01-27
Ref:            https://whois.arin.net/rest/net/NET-216-58-192-0-1



OrgName:        Google LLC
OrgId:          GOGL
Address:        1600 Amphitheatre Parkway
City:           Mountain View
StateProv:      CA
PostalCode:     94043
Country:        US
RegDate:        2000-03-30
Updated:        2017-12-21
Ref:            https://whois.arin.net/rest/org/GOGL
...

Bii o ṣe le Wa Alaye Agbegbe

Lati gba alaye nipa ibugbe ti a forukọsilẹ, sọ ọrọ aṣẹ atẹle pẹlu orukọ ìkápá naa. Yoo gba data ibugbe pẹlu wiwa, nini, ẹda, awọn alaye ipari, awọn olupin orukọ, ati bẹbẹ lọ.

$ whois google.com

Domain Name: GOOGLE.COM
   Registry Domain ID: 2138514_DOMAIN_COM-VRSN
   Registrar WHOIS Server: whois.markmonitor.com
   Registrar URL: http://www.markmonitor.com
   Updated Date: 2011-07-20T16:55:31Z
   Creation Date: 1997-09-15T04:00:00Z
   Registry Expiry Date: 2020-09-14T04:00:00Z
   Registrar: MarkMonitor Inc.
   Registrar IANA ID: 292
   Registrar Abuse Contact Email: [email 
   Registrar Abuse Contact Phone: +1.2083895740
   Domain Status: clientDeleteProhibited https://icann.org/epp#clientDeleteProhibited
   Domain Status: clientTransferProhibited https://icann.org/epp#clientTransferProhibited
   Domain Status: clientUpdateProhibited https://icann.org/epp#clientUpdateProhibited
   Domain Status: serverDeleteProhibited https://icann.org/epp#serverDeleteProhibited
   Domain Status: serverTransferProhibited https://icann.org/epp#serverTransferProhibited
   Domain Status: serverUpdateProhibited https://icann.org/epp#serverUpdateProhibited
   Name Server: NS1.GOOGLE.COM
   Name Server: NS2.GOOGLE.COM
   Name Server: NS3.GOOGLE.COM
   Name Server: NS4.GOOGLE.COM
....

Ọna kika ti alaye yoo yato si da lori olupin WHOIS ti o lo. Ni afikun, ọkan ni isalẹ ti WHOIS ni aini iraye si kikun si data, nitorinaa ṣayẹwo awọn itọsọna to wulo wọnyi fun wiwa alaye DNS ni Linux:

  1. Wulo ‘gbalejo’ Awọn apẹẹrẹ Aṣẹ fun wiwa Awọn Lookups DNS
  2. 8 Linux Nslookup Awọn pipaṣẹ si Laasigbotitusita DNS (Olupin Orukọ Orukọ)

Ti o ba ni awọn ibeere tabi alaye nipa nkan ti o fẹ pin pẹlu wa, lo fọọmu asọye ni isalẹ.