Dieses IP2WHOIS-Eingabeaufforderungstool bietet eine schnelle und effiziente Möglichkeit, WHOIS-Domaininformationen für einen bestimmten Domainnamen abzurufen, und richtet sich an die Bedürfnisse von Benutzern, Netzwerkadministratoren und Entwicklern. Sie registrieren sich für einen kostenlosen API-Schlüssel, um ihn zu nutzen.

Kostenlos startenGet Started for FREE

So installieren Sie die IP2WHOIS CLI

IP2WHOIS unterstützt verschiedene Installationsmethoden für unterschiedliche Betriebssysteme. Unten finden Sie die Installationsanleitung mit der Methode "Go Install".

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

Für alternative Installationen besuchen Sie bitte die IP2WHOIS GitHub-Seite oder klicken Sie auf die Schaltfläche unten.

 Windows  Debian  Git

So konfigurieren Sie den IP2WHOIS API-Schlüssel

Sie benötigen einen API-Schlüssel, um zu beginnen. Wenn Sie noch keinen haben, registrieren Sie sich für einen kostenlosen IP2WHOIS API-Schlüssel und folgen Sie den Anweisungen auf der Dokumentationsseite unten, um den API-Schlüssel zu konfigurieren.

ip2whois config <API KEY>

Beispiel für WHOIS-Abfrage einer Domain

WHOIS für eine bestimmte Domain abfragen

Sie können eine WHOIS-Abfrage für eine Domain angeben, um die Informationen dieser bestimmten Domain manuell abzurufen. Das Ergebnis wird im JSON-Format zurückgegeben.

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"]}

Ergebnis schön formatieren

Um die Sichtbarkeit zu verbessern, können Sie die Option "-o pretty" hinzufügen, um die Ergebnisausgabe in einem besser organisierten Format anzuzeigen, anstatt in einer einzigen Zeile.

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-Abfrage für eine bestimmte Domain und Anzeige nur bestimmter Ergebnisfelder

Anstelle der Anzeige des vollständigen Informationssatzes haben Sie die Möglichkeit, die Anzeige anzupassen und spezifische Felder auszugeben. Zum Beispiel wird der folgende Code den Domänennamen, die Domain-ID, den Status, das Erstellungsdatum und den Namen des Registrars anzeigen.

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"

Normalen Domainnamen in Punycode umwandeln

Sie können einen normalen Domainnamen in Punycode umwandeln. Das folgende Beispiel verwendet täst.de als Domainnamen, Sie können ihn durch Ihre eigene Domain ersetzen.

ip2whois normal2puny täst.de

Output

xn--tst-qla.de

Punycode in normalen Domainnamen umwandeln

Sie können Punycode in einen normalen Domainnamen umwandeln. Das folgende Beispiel verwendet xn--tst-qla.de als Domainnamen; Sie können es durch Ihre eigene Domain ersetzen.

ip2whois puny2normal xn--tst-qla.de

Output

täst.de

Die obigen Beispiele zeigen mehrere Nutzungsszenarien. Um mehr über die unterstützten Parameter zu erfahren, können Sie "ip2whois -h" aufrufen.

IP-Geolokalisierung-CLI

Suchen Sie nach IP-Geolokalisierung-Befehlszeilentool?
Die IP-Geolokalisierung-CLI ermöglicht es Ihnen, IP-Geolokalisierungsinformationen einer IP-Adresse abzurufen, wie z.B. Land, Region, Stadt, Domain, Nutzungstyp, Proxy und mehr.


Entdecken Sie Domaininformationen sofort mit der WHOIS Domain REST API

Jetzt kostenlos ausprobieren