웹사이트 검색

WHOIS 명령을 사용하여 도메인 및 IP 주소 정보를 얻는 방법


WHOIS는 인터넷 사용자에게 정보 서비스를 제공하는 데 일반적으로 사용되는 TCP 기반 쿼리 및 응답 프로토콜입니다. 등록된 도메인 이름, IP 주소 블록, 이름 서버 및 훨씬 더 광범위한 정보 서비스에 대한 정보를 반환합니다.

Linux에서 whois 명령줄 유틸리티는 잘 알려진 포트 번호에서 요청을 수신하는 WHOIS 서버(또는 데이터베이스 호스트)와 통신하기 위한 WHOIS 클라이언트입니다. >43은 사람이 읽을 수 있는 형식으로 데이터베이스 콘텐츠를 저장하고 전달합니다.

참고 사항: DNS 쿼리를 위한 10가지 Linux Dig(Domain Information Groper) 명령

whois 명령줄 유틸리티는 많은 Linux 배포판에 사전 설치되어 있지 않습니다. 배포판에 대해 아래의 적절한 명령을 실행하여 설치하세요.

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: [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
....

정보 형식은 사용된 WHOIS 서버에 따라 다릅니다. 또한 WHOIS의 한 가지 단점은 데이터에 대한 전체 액세스가 부족하다는 것입니다. 따라서 Linux에서 DNS 정보를 쿼리하는 데 유용한 다음 가이드를 확인하세요.

  1. DNS 조회 쿼리에 유용한 'host' 명령 예
  2. DNS(도메인 이름 서버) 문제를 해결하기 위한 8가지 Linux Nslookup 명령

우리와 공유하고 싶은 기사에 대한 질문이나 정보가 있으면 아래 의견 양식을 사용하십시오.