이 IP2WHOIS 명령줄 도구는 특정 도메인 이름에 대한 WHOIS 도메인 정보를 신속하고 효율적으로 접근할 수 있는 수단을 제공합니다. 사용자는 무료 API 키를 등록하여 사용을 시작할 수 있습니다.

무료로 시작하기Get Started for FREE

IP2WHOIS CLI 설치 방법

IP2WHOIS는 다양한 운영 체제에 대한 여러 설치 방법을 지원합니다. 아래는 "Go Install" 방법을 사용한 설치 가이드입니다.

go install github.com/ip2whois/ip2whois-cli/ip2whois@latest

대체 설치 방법은 IP2WHOIS GitHub를 방문하시거나 아래 버튼을 클릭하세요.

 Windows  Debian  Git

IP2WHOIS API 키 구성 방법

시작하려면 API 키가 필요합니다. API 키가 없다면 무료 IP2WHOIS API 키를 등록하고 아래 문서 페이지의 지침에 따라 API 키를 구성하세요.

ip2whois config <API KEY>

도메인 WHOIS 조회 예제

특정 도메인에 대한 WHOIS 조회

특정 도메인 정보를 수동으로 조회하기 위해 도메인 WHOIS를 지정할 수 있습니다. 결과는 JSON 형식으로 반환됩니다.

ip2whois locaproxy.com

Output

{"domain":"locaproxy.com","domain_id":"1710914405_DOMAIN_COM-VRSN","status":"clientTransferProhibited https://icann.org/epp#clientTransferProhibited","create_date":"2012-04-03T02:34:32Z","update_date":"2021-12-03T02:54:57Z","expire_date":"2024-04-03T02:34:32Z","domain_age":4301,"whois_server":"whois.godaddy.com","registrar":{"iana_id":"146","name":"GoDaddy.com, LLC","url":"https://www.godaddy.com"},"registrant":{"name":"Registration Private","organization":"Domains By Proxy, LLC","street_address":"DomainsByProxy.com","city":"Tempe","region":"Arizona","zip_code":"85284","country":"US","phone":"+1.4806242599","fax":"","email":"Select Contact Domain Holder link at https://www.godaddy.com/whois/results.aspx?domain=LOCAPROXY.COM"},"admin":{"name":"Registration Private","organization":"Domains By Proxy, LLC","street_address":"DomainsByProxy.com","city":"Tempe","region":"Arizona","zip_code":"85284","country":"US","phone":"+1.4806242599","fax":"","email":"Select Contact Domain Holder link at https://www.godaddy.com/whois/results.aspx?domain=LOCAPROXY.COM"},"tech":{"name":"Registration Private","organization":"Domains By Proxy, LLC","street_address":"DomainsByProxy.com","city":"Tempe","region":"Arizona","zip_code":"85284","country":"US","phone":"+1.4806242599","fax":"","email":"Select Contact Domain Holder link at https://www.godaddy.com/whois/results.aspx?domain=LOCAPROXY.COM"},"billing":{"name":"","organization":"","street_address":"","city":"","region":"","zip_code":"","country":"","phone":"","fax":"","email":""},"nameservers":["vera.ns.cloudflare.com","walt.ns.cloudflare.com"]}

결과를 예쁘게 출력하기

가독성을 높이기 위해 "-o pretty" 옵션을 추가하여 결과 출력을 한 줄이 아닌 더 정리된 형식으로 표시할 수 있습니다.

ip2whois -o pretty locaproxy.com

Output

{
    "domain": "locaproxy.com",
    "domain_id": "1710914405_DOMAIN_COM-VRSN",
    "status": "clientTransferProhibited https://icann.org/epp#clientTransferProhibited",
    "create_date": "2012-04-03T02:34:32Z",
    "update_date": "2021-12-03T02:54:57Z",
    "expire_date": "2024-04-03T02:34:32Z",
    "domain_age": 4301,
    "whois_server": "whois.godaddy.com",
    "registrar": {
        "iana_id": "146",
        "name": "GoDaddy.com, LLC",
        "url": "https://www.godaddy.com"
    },
    "registrant": {
        "name": "Registration Private",
        "organization": "Domains By Proxy, LLC",
        "street_address": "DomainsByProxy.com",
        "city": "Tempe",
        "region": "Arizona",
        "zip_code": "85284",
        "country": "US",
        "phone": "+1.4806242599",
        "fax": "",
        "email": "Select Contact Domain Holder link at https://www.godaddy.com/whois/results.aspx?domain=LOCAPROXY.COM"
    },
    "admin": {
        "name": "Registration Private",
        "organization": "Domains By Proxy, LLC",
        "street_address": "DomainsByProxy.com",
        "city": "Tempe",
        "region": "Arizona",
        "zip_code": "85284",
        "country": "US",
        "phone": "+1.4806242599",
        "fax": "",
        "email": "Select Contact Domain Holder link at https://www.godaddy.com/whois/results.aspx?domain=LOCAPROXY.COM"
    },
    "tech": {
        "name": "Registration Private",
        "organization": "Domains By Proxy, LLC",
        "street_address": "DomainsByProxy.com",
        "city": "Tempe",
        "region": "Arizona",
        "zip_code": "85284",
        "country": "US",
        "phone": "+1.4806242599",
        "fax": "",
        "email": "Select Contact Domain Holder link at https://www.godaddy.com/whois/results.aspx?domain=LOCAPROXY.COM"
    },
    "billing": {
        "name": "",
        "organization": "",
        "street_address": "",
        "city": "",
        "region": "",
        "zip_code": "",
        "country": "",
        "phone": "",
        "fax": "",
        "email": ""
    },
    "nameservers": [
        "vera.ns.cloudflare.com",
        "walt.ns.cloudflare.com"
    ]
}

WHOIS에 특정 도메인을 쿼리하고 특정 결과 필드만 표시합니다

전체 정보 세트를 표시하는 대신, 표시를 사용자 정의하고 특정 필드를 출력할 수 있는 옵션이 있습니다. 예를 들어, 아래 코드는 도메인 이름, 도메인 ID, 상태, 생성 날짜 및 등록자 이름을 표시합니다.

ip2whois -f domain,domain_id,status,create_date,registrar.name locaproxy.com

Output

domain,domain_id,status,create_date,registrar.name
"locaproxy.com","1710914405_DOMAIN_COM-VRSN","clientTransferProhibited https://icann.org/epp#clientTransferProhibited","2012-04-03T02:34:32Z","GoDaddy.com, LLC"

일반 도메인 이름을 퍼니코드로 변환합니다

일반 도메인 이름을 퍼니코드로 변환할 수 있습니다. 아래 예제는 täst.de를 도메인 이름으로 사용하고 있으며, 이를 귀하의 도메인으로 교체할 수 있습니다.

ip2whois normal2puny täst.de

Output

xn--tst-qla.de

퍼니코드를 일반 도메인 이름으로 변환합니다

정상 도메인 이름으로 Punycode를 변환할 수 있습니다. 아래의 예시는 xn--tst-qla.de를 도메인 이름으로 사용하고 있으며, 귀하의 도메인으로 교체할 수 있습니다.

ip2whois puny2normal xn--tst-qla.de

Output

täst.de

위의 예시는 여러 사용 시나리오를 보여줍니다. 지원되는 매개변수에 대해 더 알고 싶다면 "ip2whois -h"를 호출할 수 있습니다.

IP 지리 정보 CLI

IP 지리 정보 커맨드 라인 도구를 찾고 계신가요?
IP 지리 정보 CLI를 사용하면 IP 주소의 국가, 지역, 도시, 도메인, 사용 유형, 프록시 등과 같은 IP 지리 정보 정보를 가져올 수 있습니다.


WHOIS 도메인 REST API로 도메인 정보를 즉시 확인하세요

지금 무료로 사용해 보세요