{"id":12387,"date":"2019-03-26T22:06:19","date_gmt":"2019-03-26T22:06:19","guid":{"rendered":"http:\/\/www.appservgrid.com\/paw92\/?p=12387"},"modified":"2019-03-26T22:06:19","modified_gmt":"2019-03-26T22:06:19","slug":"how-to-get-domain-and-ip-address-information-using-whois-command","status":"publish","type":"post","link":"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/26\/how-to-get-domain-and-ip-address-information-using-whois-command\/","title":{"rendered":"How to Get Domain and IP Address Information Using WHOIS Command"},"content":{"rendered":"<p><strong>WHOIS<\/strong>\u00a0is a TCP-based query and response protocol that is commonly used to provide information services to Internet users. It returns information about the registered Domain Names, an IP address block, Name Servers and a much wider range of information services.<\/p>\n<p>In Linux, the\u00a0<strong>whois<\/strong>\u00a0command line utility is a\u00a0<strong>WHOIS<\/strong>\u00a0client for communicating with the WHOIS server (or database host) which listen to requests on the well-known port number\u00a0<strong>43<\/strong>, which stores and delivers database content in a human-readable format.<\/p>\n<p><strong>Read Also<\/strong>:\u00a0<a href=\"https:\/\/www.tecmint.com\/10-linux-dig-domain-information-groper-commands-to-query-dns\/\" target=\"_blank\" rel=\"noopener\">10 Linux Dig (Domain Information Groper) Commands to Query DNS<\/a><\/p>\n<p><strong>whois<\/strong>\u00a0command line utility does not come pre-installed on many Linux distributions, run the appropriate command below for your distribution to install it.<\/p>\n<pre># yum install whois\t\t#RHEL\/CentOS\r\n# dnf install whois\t\t#Fedora 22+\r\n$ sudo apt install whois\t#Debian\/Ubuntu\r\n<\/pre>\n<h3>How to Find IP Address Information<\/h3>\n<p>To get the information about specific IP Address issue the command as shown in the below example.<\/p>\n<pre><strong>$ whois 216.58.206.46<\/strong>\r\n\r\n#\r\n# ARIN WHOIS data and services are subject to the Terms of Use\r\n# available at: https:\/\/www.arin.net\/whois_tou.html\r\n#\r\n# If you see inaccuracies in the results, please report at\r\n# https:\/\/www.arin.net\/public\/whoisinaccuracy\/index.xhtml\r\n#\r\n\r\n\r\n#\r\n# The following results may also be obtained via:\r\n# https:\/\/whois.arin.net\/rest\/nets;q=216.58.206.46?showDetails=true&amp;showARIN=false&amp;showNonArinTopLevelNet=false&amp;ext=netref2\r\n#\r\n\r\nNetRange:       216.58.192.0 - 216.58.223.255\r\nCIDR:           216.58.192.0\/19\r\nNetName:        GOOGLE\r\nNetHandle:      NET-216-58-192-0-1\r\nParent:         NET216 (NET-216-0-0-0-0)\r\nNetType:        Direct Allocation\r\nOriginAS:       AS15169\r\nOrganization:   Google LLC (GOGL)\r\nRegDate:        2012-01-27\r\nUpdated:        2012-01-27\r\nRef:            https:\/\/whois.arin.net\/rest\/net\/NET-216-58-192-0-1\r\n\r\n\r\n\r\nOrgName:        Google LLC\r\nOrgId:          GOGL\r\nAddress:        1600 Amphitheatre Parkway\r\nCity:           Mountain View\r\nStateProv:      CA\r\nPostalCode:     94043\r\nCountry:        US\r\nRegDate:        2000-03-30\r\nUpdated:        2017-12-21\r\nRef:            https:\/\/whois.arin.net\/rest\/org\/GOGL\r\n...\r\n<\/pre>\n<h3>How to Find Domain Information<\/h3>\n<p>To get the information about the registered domain, simply issue the following command with the domain name. It will retrieve domain data including availability, ownership, creation, expiration details, name servers, etc.<\/p>\n<pre><strong>$ whois google.com<\/strong>\r\n\r\nDomain Name: GOOGLE.COM\r\n   Registry Domain ID: 2138514_DOMAIN_COM-VRSN\r\n   Registrar WHOIS Server: whois.markmonitor.com\r\n   Registrar URL: http:\/\/www.markmonitor.com\r\n   Updated Date: 2011-07-20T16:55:31Z\r\n   Creation Date: 1997-09-15T04:00:00Z\r\n   Registry Expiry Date: 2020-09-14T04:00:00Z\r\n   Registrar: MarkMonitor Inc.\r\n   Registrar IANA ID: 292\r\n   Registrar Abuse Contact Email: abusecomplaints@markmonitor.com\r\n   Registrar Abuse Contact Phone: +1.2083895740\r\n   Domain Status: clientDeleteProhibited https:\/\/icann.org\/epp#clientDeleteProhibited\r\n   Domain Status: clientTransferProhibited https:\/\/icann.org\/epp#clientTransferProhibited\r\n   Domain Status: clientUpdateProhibited https:\/\/icann.org\/epp#clientUpdateProhibited\r\n   Domain Status: serverDeleteProhibited https:\/\/icann.org\/epp#serverDeleteProhibited\r\n   Domain Status: serverTransferProhibited https:\/\/icann.org\/epp#serverTransferProhibited\r\n   Domain Status: serverUpdateProhibited https:\/\/icann.org\/epp#serverUpdateProhibited\r\n   Name Server: NS1.GOOGLE.COM\r\n   Name Server: NS2.GOOGLE.COM\r\n   Name Server: NS3.GOOGLE.COM\r\n   Name Server: NS4.GOOGLE.COM\r\n....\r\n<\/pre>\n<p>The formatting of information will differ based on the\u00a0<strong>WHOIS<\/strong>\u00a0server used. In addition, one downside of WHOIS is the lack of full access to the data, therefore check out these useful guides for querying DNS information in Linux:<\/p>\n<ol>\n<li><a href=\"https:\/\/www.tecmint.com\/linux-host-command-examples-for-querying-dns-lookups\/\" target=\"_blank\" rel=\"noopener\">Useful \u2018host\u2019 Command Examples for Querying DNS Lookups<\/a><\/li>\n<li><a href=\"https:\/\/www.tecmint.com\/8-linux-nslookup-commands-to-troubleshoot-dns-domain-name-server\/\" target=\"_blank\" rel=\"noopener\">8 Linux Nslookup Commands to Troubleshoot DNS (Domain Name Server)<\/a><\/li>\n<\/ol>\n<p>If you have any queries or information about the article that you want to share with us, use the comment form below.<\/p>\n<p><a href=\"https:\/\/www.tecmint.com\/whois-command-get-domain-and-ip-address-information\/\" target=\"_blank\" rel=\"noopener\">Source<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>WHOIS\u00a0is a TCP-based query and response protocol that is commonly used to provide information services to Internet users. It returns information about the registered Domain Names, an IP address block, Name Servers and a much wider range of information services. In Linux, the\u00a0whois\u00a0command line utility is a\u00a0WHOIS\u00a0client for communicating with the WHOIS server (or database &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/26\/how-to-get-domain-and-ip-address-information-using-whois-command\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;How to Get Domain and IP Address Information Using WHOIS Command&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-12387","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/12387","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/comments?post=12387"}],"version-history":[{"count":1,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/12387\/revisions"}],"predecessor-version":[{"id":12388,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/12387\/revisions\/12388"}],"wp:attachment":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/media?parent=12387"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/categories?post=12387"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/tags?post=12387"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}