Perintah WHOIS tidak mengembalikan informasi yang berguna?

9

Setiap kali Anda menggunakan perintah WHOIS tidak mengembalikan informasi yang berguna. Saya biasanya harus pergi ke Godaddy, Dnsstuff atau layanan lain untuk mendapatkan data. Saya mengerti alasannya sebagian besar karena spamming.

Saya hanya ingin tahu bagaimana layanan lain mendapatkan data ini. Apakah mereka menggunakan berbagai jenis perintah WHOIS? Juga bingung tentang beberapa data yang dihasilkan data dari perintah WHOIS hanyalah spam. Contoh melakukan whois google.comgenate situs web spam seperti GOOGLE.COM.ZZZZZZ.THE.BEST.WEBHOSTING.AT.WWW.FATUCH.COM. Dari mana data ini berasal?

Exmaple:

Whois Server Version 2.0

Domain names in the .com and .net domains can now be registered
with many different competing registrars. Go to http://www.internic.net
for detailed information.

GOOGLE.COM.ZZZZZZ.THE.BEST.WEBHOSTING.AT.WWW.FATUCH.COM
GOOGLE.COM.WORDT.DOOR.VEEL.WHTERS.GEBRUIKT.SERVERTJE.NET
GOOGLE.COM.UY
GOOGLE.COM.UA
GOOGLE.COM.TW
GOOGLE.COM.TR
GOOGLE.COM.SA
GOOGLE.COM.PE
GOOGLE.COM.MX
GOOGLE.COM.DO
GOOGLE.COM.CO
GOOGLE.COM.CN
GOOGLE.COM.BR
GOOGLE.COM.AU
GOOGLE.COM.AR
GOOGLE.COM.AFRICANBATS.ORG
GOOGLE.COM

To single out one record, look it up with "xxx", where xxx is one of the
of the records displayed above. If the records are the same, look them up
with "=xxx" to receive a full display for each record.

>>> Last update of whois database: Wed, 30 Mar 2011 03:07:59 UTC <<<

NOTICE: The expiration date displayed in this record is the date the
registrar's sponsorship of the domain name registration in the registry is
currently set to expire. This date does not necessarily reflect the expiration
date of the domain name registrant's agreement with the sponsoring
registrar.  Users may consult the sponsoring registrar's Whois database to
view the registrar's reported date of expiration for this registration.

TERMS OF USE: You are not authorized to access or query our Whois
database through the use of electronic processes that are high-volume and
automated except as reasonably necessary to register domain names or
modify existing registrations; the Data in VeriSign Global Registry
Services' ("VeriSign") Whois database is provided by VeriSign for
information purposes only, and to assist persons in obtaining information
about or related to a domain name registration record. VeriSign does not
guarantee its accuracy. By submitting a Whois query, you agree to abide
by the following terms of use: You agree that you may use this Data only
for lawful purposes and that under no circumstances will you use this Data
to: (1) allow, enable, or otherwise support the transmission of mass
unsolicited, commercial advertising or solicitations via e-mail, telephone,
or facsimile; or (2) enable high volume, automated, electronic processes
that apply to VeriSign (or its computer systems). The compilation,
repackaging, dissemination or other use of this Data is expressly
prohibited without the prior written consent of VeriSign. You agree not to
use electronic processes that are automated and high-volume to access or
query the Whois database except as reasonably necessary to register
domain names or modify existing registrations. VeriSign reserves the right
to restrict your access to the Whois database in its sole discretion to ensure
operational stability.  VeriSign may restrict or terminate your access to the
Whois database for failure to abide by these terms of use. VeriSign
reserves the right to modify these terms at any time.

The Registry database contains ONLY .COM, .NET, .EDU domains and
Registrars.
Max Thomson
sumber

Jawaban:

10

Jawaban singkat untuk pertanyaan Anda, dengan asumsi Anda menggunakan perpustakaan whois debian / ubuntu, adalah menggunakan

$ whois -h whois.crsnic.net "domain google.com"

Inilah jawaban panjangnya.

.COM TLD adalah WHOIS yang Tipis . Saat Anda mengajukan kueri WHOIS, alat WHOIS pertama mengirimkan kueri WHOIS ke Verisign (hostname whois.crsnic.net) dan ekstrak rujukan dari respons.

Secara default, ketika Anda meminta Verisign dari domain example.com, Whois melakukan pencarian string "example.com" yang sangat luas di beberapa objek berbeda termasuk nama domain, nama pendaftar, dan server nama.

Anda dapat memperbaiki kueri dengan menentukan kata kunci, seperti yang dijelaskan dalam dokumentasi Verisign. http://registrar.verisign-grs.com/whois/iframe/help.html?ppath=www.verisigninc.com/products-and-services/domain-name-services/whois&

Perintah di atas melakukan apa yang saya jelaskan. Alih-alih google.com ia mengirim ke Verisign kueri lengkap "domain google.com". Anda harus secara eksplisit melewatkan flag -h karena Whois mencoba menebak nama host untuk query dari query, tetapi akan gagal karena ia tidak akan mengenali query "domain google.com" sebagai domain yang valid.

Inilah hasil dari perintah.

$ whois -h whois.crsnic.net "domain google.com"

Whois Server Version 2.0

Domain names in the .com and .net domains can now be registered
with many different competing registrars. Go to http://www.internic.net
for detailed information.

   Domain Name: GOOGLE.COM
   Registrar: MARKMONITOR INC.
   Whois Server: whois.markmonitor.com
   Referral URL: http://www.markmonitor.com
   Name Server: NS1.GOOGLE.COM
   Name Server: NS2.GOOGLE.COM
   Name Server: NS3.GOOGLE.COM
   Name Server: NS4.GOOGLE.COM
   Status: clientDeleteProhibited
   Status: clientTransferProhibited
   Status: clientUpdateProhibited
   Status: serverDeleteProhibited
   Status: serverTransferProhibited
   Status: serverUpdateProhibited
   Updated Date: 15-sep-2010
   Creation Date: 15-sep-1997
   Expiration Date: 14-sep-2011

>>> Last update of whois database: Wed, 30 Mar 2011 08:50:16 UTC <<<

NOTICE: The expiration date displayed in this record is the date the 
registrar's sponsorship of the domain name registration in the registry is 
currently set to expire. This date does not necessarily reflect the expiration 
date of the domain name registrant's agreement with the sponsoring 
registrar.  Users may consult the sponsoring registrar's Whois database to 
view the registrar's reported date of expiration for this registration.

TERMS OF USE: You are not authorized to access or query our Whois 
database through the use of electronic processes that are high-volume and 
automated except as reasonably necessary to register domain names or 
modify existing registrations; the Data in VeriSign Global Registry 
Services' ("VeriSign") Whois database is provided by VeriSign for 
information purposes only, and to assist persons in obtaining information 
about or related to a domain name registration record. VeriSign does not 
guarantee its accuracy. By submitting a Whois query, you agree to abide 
by the following terms of use: You agree that you may use this Data only 
for lawful purposes and that under no circumstances will you use this Data 
to: (1) allow, enable, or otherwise support the transmission of mass 
unsolicited, commercial advertising or solicitations via e-mail, telephone, 
or facsimile; or (2) enable high volume, automated, electronic processes 
that apply to VeriSign (or its computer systems). The compilation, 
repackaging, dissemination or other use of this Data is expressly 
prohibited without the prior written consent of VeriSign. You agree not to 
use electronic processes that are automated and high-volume to access or 
query the Whois database except as reasonably necessary to register 
domain names or modify existing registrations. VeriSign reserves the right 
to restrict your access to the Whois database in its sole discretion to ensure 
operational stability.  VeriSign may restrict or terminate your access to the 
Whois database for failure to abide by these terms of use. VeriSign 
reserves the right to modify these terms at any time. 

The Registry database contains ONLY .COM, .NET, .EDU domains and
Registrars.
Simone Carletti
sumber
1
Saat ini, server whois otoritatif untuk nama domain .COM adalah whois.verisign-grs.com . Jadi perintah harus diperbarui ke:whois -h whois.verisign-grs.com "domain google.com"
iglvzx
2

Anda meminta semua jenis rekaman, bukan hanya domaincatatan. Dariwhois help

Secara default, WHOIS melakukan pencarian yang sangat luas, mencari semua tipe rekaman untuk pencocokan dengan permintaan Anda di bidang ini: nama domain, nama server nama, alamat IP server nama, dan nama registrar. Gunakan kata kunci untuk mempersempit pencarian.

Kata kunci berikut membatasi pencarian ke bidang TYPE tertentu dalam database: domain Menemukan catatan domain. Cari tahu nama domain, nama pendaftar, server whois dan URL, nama server nama dan Alamat IP, dan tanggal yang diperbarui.

Ada dua kemungkinan perbaikan:

1. Tetapkan opsi domain secara eksplisit:

 whois "domain google.com"

2. Gunakan host whois yang hanya mengembalikan hasil "domain"

whois -h geektools.com google.com 

Lihat Mengapa ada sampah di hasil whois Anda, dan bagaimana Anda bisa menghilangkannya untuk info lebih lanjut.

mikemaccana
sumber
1

Saat Anda meminta info WHOIS untuk google.com, ia mencari "google.com" di semua catatan, bukan menjangkar pola sampai akhir seperti yang Anda harapkan.

Dan itu tergantung pada klien WHOIS dan server mana yang dikonfigurasikan untuk digunakan. Saya melakukan riset beberapa tahun yang lalu tentang pengaturan layanan WHOIS internal (saya bekerja di universitas, jadi kami memiliki banyak wilayah kecil dan banyak jaringan) dan dari apa yang saya tahu, ada sangat sedikit struktur yang konsisten dalam data format, sehingga klien harus menggunakan banyak heuristik untuk mengetahui referensi dan semacamnya. Dugaan saya adalah bahwa dnsstuff dan godaddy mungkin memiliki heuristik yang lebih sesuai. Jadi, Anda mungkin hanya mencoba klien yang berbeda.

Wil Cooley
sumber
0

Lakukan permintaan whois dengan tanda sama dengan di awal sebelum nama domain. Apa yang Anda lihat hanyalah nameserver kesombongan murni yang dibuat di registri, sebagai lelucon yang tidak berguna (tidak ada konsekuensi teknis).

Patrick Mevzek
sumber