posted by 귀염둥이채원 2018. 8. 3. 09:28

whois는 인터넷 사용자에게 정보 서비스를 제공하는데 일반적으로 사용되는 TCP 기반 쿼리 및 응답 프로토콜입니다. 

등록된 도메인 이름, IP 주소, 네임 서버 및 훨씬 광범위한 정보 서비스에 대한 정보를 반환합니다.

whois 명령어가  리눅스 배포판에 사전에 설치되어 있지 않은 경우 아래 명령을 실행하여 설치할수 있습니다.

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

# IP 주소 정보를 찾는 방법

특정 IP 주소에 대한 정보를 얻으려면 아래 예제와 같이 명령을 실행하십시오.

$ 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
...

# 도메인 정보를 찾는 방법

등록된 도메인에 대한 정보를 얻으려면 도메인 이름과 함께 다음 명령을 실행하면됩니다. 가용성, 소유권, 생성, 만료 세부 사항, 네임 서버 등을 포함한 도메인 데이터를 검색합니다.

$ 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: abusecomplaints@markmonitor.com
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
....