versiTech - Untuk mengecek informasi dari domain dan alamat ip kita bisa menggunakan berbagai tools online yang sudah banyak bertebaran di internet, seperti contoh whois.net who.is dan masih banyak lagi. nah pada kesempatan kali ini kita akan belajar cara whois domain dengan menggunakan terminal. tools yang akan digunakan adalah whois.
In Linux, the whois command line utility
is a WHOIS client for communicating with the WHOIS server (or database
host) which listen to requests on the well-known port number 43, which
stores and delivers database content in a human-readable format. (tecmint)
sebelumnya kita harus install terlebih dahulu dengan perintah sudo apt-get update && sudo apt-get install whois (debian dan ubuntu, karena whois sudah ada dalam repository official sehingga tinggal install melalui apt).
lutfi@lutfi-X451CAP:~$ sudo apt-get install whois Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: whois 0 upgraded, 1 newly installed, 0 to remove and 333 not upgraded. Need to get 44,7 kB of archives. After this operation, 279 kB of additional disk space will be used. Get:1 http://archive.ubuntu.com/ubuntu focal/main amd64 whois amd64 5.5.6 [44,7 kB] Fetched 44,7 kB in 2s (28,9 kB/s) Selecting previously unselected package whois. (Sedang membaca basis data ... 437698 berkas atau direktori telah terpasang.) Preparing to unpack .../archives/whois_5.5.6_amd64.deb ... Unpacking whois (5.5.6) ... Sedang menata whois (5.5.6) ... Processing triggers for man-db (2.9.1-1) ... lutfi@lutfi-X451CAP:~$
Cara menggunakan
lutfi@lutfi-X451CAP:~$ whois versi.top Domain Name: versi.top Registry Domain ID: D20211006G10001G_69883492-top Registrar WHOIS Server: whois.webnic.cc Registrar URL: http://www.webnic.cc Updated Date: 2021-11-27T07:16:45Z Creation Date: 2021-10-05T17:18:18Z Registry Expiry Date: 2022-10-05T17:18:18Z Registrar: Web Commerce Communications Ltd Registrar IANA ID: 460 Registrar Abuse Contact Email: compliance_abuse@webnic.cc Registrar Abuse Contact Phone: +60.89966799 Domain Status: ok https://icann.org/epp#OK Registry Registrant ID: REDACTED FOR PRIVACY Registrant Name: REDACTED FOR PRIVACY Registrant Organization: n/a Registrant Street: REDACTED FOR PRIVACY Registrant City: REDACTED FOR PRIVACY Registrant State/Province: Jawa Tengah Registrant Postal Code: REDACTED FOR PRIVACY Registrant Country: ID Registrant Phone: REDACTED FOR PRIVACY Registrant Phone Ext: REDACTED FOR PRIVACY Registrant Fax: REDACTED FOR PRIVACY Registrant Fax Ext: REDACTED FOR PRIVACY Registrant Email: Please query the RDDS service of the Registrar of Record identified in this output for information on how to contact the Registrant, Admin, or Tech contact of the queried domain name. Registry Admin ID: REDACTED FOR PRIVACY Admin Name: REDACTED FOR PRIVACY Admin Organization: REDACTED FOR PRIVACY Admin Street: REDACTED FOR PRIVACY Admin City: REDACTED FOR PRIVACY Admin State/Province: REDACTED FOR PRIVACY Admin Postal Code: REDACTED FOR PRIVACY Admin Country: REDACTED FOR PRIVACY Admin Phone: REDACTED FOR PRIVACY Admin Phone Ext: REDACTED FOR PRIVACY Admin Fax: REDACTED FOR PRIVACY Admin Fax Ext: REDACTED FOR PRIVACY Admin Email: Please query the RDDS service of the Registrar of Record identified in this output for information on how to contact the Registrant, Admin, or Tech contact of the queried domain name. Registry Tech ID: REDACTED FOR PRIVACY Tech Name: REDACTED FOR PRIVACY Tech Organization: REDACTED FOR PRIVACY Tech Street: REDACTED FOR PRIVACY Tech City: REDACTED FOR PRIVACY Tech State/Province: REDACTED FOR PRIVACY Tech Postal Code: REDACTED FOR PRIVACY Tech Country: REDACTED FOR PRIVACY Tech Phone: REDACTED FOR PRIVACY Tech Phone Ext: REDACTED FOR PRIVACY Tech Fax: REDACTED FOR PRIVACY Tech Fax Ext: REDACTED FOR PRIVACY Tech Email: Please query the RDDS service of the Registrar of Record identified in this output for information on how to contact the Registrant, Admin, or Tech contact of the queried domain name. Name Server: abby.ns.cloudflare.com Name Server: theo.ns.cloudflare.com DNSSEC: unsigned URL of the ICANN Whois Inaccuracy Complaint Form: https://www.icann.org/wicf/ >>> Last update of WHOIS database: 2022-03-29T18:50:09Z <<< For more information on Whois status codes, please visit https://icann.org/epp 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: The information in the Whois database is collected through ICANN-accredited registrars. Jiangsu bangning science & technology Co., Ltd(“BANGNING”) make this information available to you and do not guarantee its accuracy or completeness. 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) to allow, enable, or otherwise support the transmission of mass unsolicited, commercial advertising or solicitations via direct mail, electronic mail, or by telephone; (2) in contravention of any applicable data and privacy protection acts; or (3) to enable high volume, automated, electronic processes that apply to BANGNING (or its computer systems). Compilation, repackaging, dissemination, or other use of the WHOIS database in its entirety, or of a substantial portion thereof, is not allowed without BANGNING prior written permission. 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. BANGNING reserves the right to restrict your access to the whois database in its sole discretion to ensure operational stability. BANGNING may restrict or terminate your access to the whois database for failure to abide by these terms of use. BANGNING reserves the right to modify these terms at any time without prior or subsequent notification of any kind. lutfi@lutfi-X451CAP:~$
Maka akan muncul berbagai informasi dari domain atau ip, seperti nama domain, pemilik domain, kapan domain dibuat, kapan domain mati, bahkan terkadang ada yang memunculkan kontak yang dapat kita hubungi.
Menu bantuan
Untuk perintah lain dapat menggunakan whois --help
lutfi@lutfi-X451CAP:~$ whois --help
Usage: whois [OPTION]... OBJECT...
-h HOST, --host HOST connect to server HOST
-p PORT, --port PORT connect to PORT
-I query whois.iana.org and follow its referral
-H hide legal disclaimers
--verbose explain what is being done
--help display this help and exit
--version output version information and exit
These flags are supported by whois.ripe.net and some RIPE-like servers:
-l find the one level less specific match
-L find all levels less specific matches
-m find all one level more specific matches
-M find all levels of more specific matches
-c find the smallest match containing a mnt-irt attribute
-x exact match
-b return brief IP address ranges with abuse contact
-B turn off object filtering (show email addresses)
-G turn off grouping of associated objects
-d return DNS reverse delegation objects too
-i ATTR[,ATTR]... do an inverse look-up for specified ATTRibutes
-T TYPE[,TYPE]... only look for objects of TYPE
-K only primary keys are returned
-r turn off recursive look-ups for contact information
-R force to show local copy of the domain object even
if it contains referral
-a also search all the mirrored databases
-s SOURCE[,SOURCE]... search the database mirrored from SOURCE
-g SOURCE:FIRST-LAST find updates from SOURCE from serial FIRST to LAST
-t TYPE request template for object of TYPE
-v TYPE request verbose template for object of TYPE
-q [version|sources|types] query specified server info
lutfi@lutfi-X451CAP:~$
Sekian tutorial singkat ini saya buat, jika ada yang ingin ditanyakan silahkan isi dikolom komentar dan semoga bermanfaat.