Dit IP2WHOIS-opdrachtregelprogramma biedt een snelle en efficiënte manier om WHOIS-domeininformatie voor een specifieke domeinnaam te verkrijgen, en voldoet aan de behoeften van gebruikers, netwerkbeheerders en ontwikkelaars. Je registreert je voor een gratis API-sleutel om te beginnen met het gebruik ervan.
Begin GRATISIP2WHOIS ondersteunt verschillende installatiemethoden voor verschillende besturingssystemen. Hieronder staat de installatiegids met de "Go Install" methode.
go install github.com/ip2whois/ip2whois-cli/ip2whois@latest
Voor alternatieve installatie, bezoek de IP2WHOIS GitHub of klik op de knop hieronder.
Windows Debian GitU heeft een API-sleutel nodig om te beginnen. Als u er geen heeft, registreer dan voor een gratis IP2WHOIS API-sleutel en volg de instructies op de documentatiepagina hieronder om de API-sleutel te configureren.
ip2whois config <API KEY>
U kunt een domein WHOIS specificeren om handmatig de domeininformatie van dat specifieke domein op te zoeken. Het resultaat wordt geretourneerd in JSON-formaat.
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"]}
Om de zichtbaarheid te verbeteren, kunt u de optie "-o pretty" toevoegen om de resultaatoutput in een meer georganiseerde indeling weer te geven in plaats van in één lijn.
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"
]
}
In plaats van de complete set informatie weer te geven, heeft u de optie om de weergave aan te passen en specifieke velden uit te voeren. Bijvoorbeeld, de onderstaande code geeft de domeinnaam, domein-ID, status, aanmaakdatum en registratienaam weer.
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"
U kunt een normale domeinnaam omzetten naar Punycode. Het voorbeeld hieronder gebruikt täst.de als domeinnaam, u kunt het vervangen door uw eigen domein.
ip2whois normal2puny täst.de
Output
xn--tst-qla.de
Je kunt Punycode omzetten naar een normale domeinnaam. Het onderstaande voorbeeld gebruikt xn--tst-qla.de als domeinnaam, je kunt het vervangen door je eigen domein.
ip2whois puny2normal xn--tst-qla.de
Output
täst.de
De bovenstaande voorbeelden tonen verschillende gebruiksscenario's. Om meer te leren over de ondersteunde parameters, kun je "ip2whois -h" aanroepen.
Ben je op zoek naar IP Geolocatie Command Line Tool?
De IP geolocatie CLI stelt je in staat om IP geolocatie-informatie van een IP-adres op te halen, zoals land, regio, stad, domein, gebruikstype, proxy en meer.