Whois from the console? Why not!
Not every novice admin knows that he can do much to facilitate the work of verifying if a domain is valid and has not expired or that directs dns records.
Often you have to go to the page specially designed for such domains en, https://www.dns.pl/cgi-bin/whois.pl
But what if you can do it faster and easier from the server console, without rewriting CAPTCHA.
Below a very simple way to install on each server whois.
For Debian / Ubuntu are installing using the command console release:
1 | apt-get install whois |
CentOS system
1 | yum install whois |
The method of use is also very easy, We issue the following command in the console:
whois nazwadomeny.pl
For example:
1 | whois serwerweb.pl |
Below an example of the result:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | [root@node ~]# whois serwerweb.pl [Querying whois.dns.pl] [whois.dns.pl] DOMAIN NAME: serwerweb.pl registrant type: individual nameservers: ns1.serwerweb.pl. [94.130.246.172] ns2.serwerweb.pl. [94.130.246.172] created: 2017.11.08 17:34:20 last modified: 2018.02.08 09:39:20 renewal date: 2018.11.08 17:34:20 no option dnssec: Unsigned TECHNICAL CONTACT: company: H88 S.A. street: ul. Franklina Roosevelta 22 city: 60-829 Poznań location: PL phone: +48.587327194 fax: +48.587327196 last modified: 2017.05.23 REGISTRAR: Consulting Service Sp. z o.o. ul. Domaniewska 35A lok.1B 02-672 Warszawa Polska/Poland +48.221238080 domeny@ConsultingService.pl WHOIS database responses: http://www.dns.pl/english/opiskomunikatow_en.html WHOIS displays data with a delay not exceeding 15 minutes in relation to the .pl Registry system Registrant data available at http://dns.pl/cgi-bin/en_whois.pl |
So what can we learn?
virtually everything!
DOMAIN NAME: serwerweb.pl – OUR DOMAIN NAME
registrant type: individual – TYPE IN WHO HAS BEEN REGISTERED DOMAIN IS IT INDIVIDUAL OR COMPANY
nameservers: ns1.serwerweb.pl. [94.130.246.172] – DNS SERVER attributable TO THE DOMAIN
ns2.serwerweb.pl. [94.130.246.172] – DNS SERVER attributable TO THE DOMAIN
created: 2017.11.08 17:34:20 – WHEN BEEN REGISTERED DOMAIN
last modified: 2018.02.08 09:39:20 – LAST MODIFY ZONE DNS, Tumescent LAST CHANGE NP DNS.
renewal date: 2018.11.08 17:34:20 – DATE OF RENEWAL OF DOMAIN DOMAIN -When EXTINGUISHES.
As you can see, we can learn quite a lot of these are the basics that will help us to work.
I described the basic issues, as you can see the full list of what we will get is still about the company that registered the domain, and we will contact Technical recorder.