|
|
ICT-Hotlist Topic
Using dig and whois on Windows 10
Published : 2016-12-08.
Last updated : 2017-05-02.
Another two reasons to run Ubuntu Bash on Windows 10 as a corporate webmaster are the availability of the commands dig and whois.
DNS queries using dig
Open your BASH Ubuntu prompt in Windows 10 and use the command dig.
Example:
johan@NLAALPC03:~$ dig any vansoest.it
; <<>> DiG 9.9.5-3ubuntu0.10-Ubuntu <<>> any vansoest.it
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 65225
;; flags: qr rd ra; QUERY: 1, ANSWER: 6, AUTHORITY: 0, ADDITIONAL: 2
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4000
;; QUESTION SECTION:
;vansoest.it. IN ANY
;; ANSWER SECTION:
vansoest.it. 11547 IN A 217.73.229.100
vansoest.it. 11552 IN NS ns2.tuonome.it.
vansoest.it. 11552 IN NS ns3.tuonome.it.
vansoest.it. 11552 IN NS ns.tuonome.it.
vansoest.it. 14400 IN SOA ns.tuonome.it. postmaster.vansoest.it. 2016091401 86400 7200 2000000 14400
vansoest.it. 14400 IN MX 10 mail.email-pro.eu.
;; ADDITIONAL SECTION:
ns3.tuonome.it. 4302 IN A 81.2.199.68
;; Query time: 87 msec
;; SERVER: 10.1.20.252#53(10.1.20.252)
;; WHEN: Wed Dec 07 14:51:45 STD 2016
;; MSG SIZE rcvd: 213
Retrieve domain information using whois.
Just open your BASH Ubuntu prompt and use the command whois.
Example:
johan@NLAALPC03:~$ whois vansoest.it
*********************************************************************
* Please note that the following result could be a subgroup of *
* the data contained in the database. *
* *
* Additional information can be visualized at: *
* http://www.nic.it/cgi-bin/Whois/whois.cgi *
*********************************************************************
Domain: vansoest.it
Status: ok
Created: 2002-09-12 00:00:00
Last Update: 2016-09-28 00:41:58
Expire Date: 2017-09-12
Registrant
Organization: Van Soest Johan
Admin Contact
Name: Van Soest Johan
Organization: Van Soest Johan
Technical Contacts
Name: Alicom Domain Registration Staff
Organization: Tuonome.it srl
Address: Via Pietro Nenni 294
San Giovanni Teatino
66020
CH
IT
Created: 2012-06-28 11:02:06
Last Update: 2016-01-12 17:02:52
Registrar
Organization: Aruba Business s.r.l.
Name: WIDE-REG
Web: http://www.arubabusiness.it
Nameservers
ns.tuonome.it
ns2.tuonome.it
ns3.tuonome.it
Scripts and programming examples disclaimer
Unless stated otherwise, the script sources and programming examples provided are copyrighted freeware.
You may modify them, as long as a reference to the original code and hyperlink to the source page is included in the modified code and documentation.
However, it is not allowed to publish (copies of) scripts and programming examples on your own site, blog, vlog, or distribute them on paper or any other medium, without prior written consent.
Many of the techniques used in these scripts, including but not limited to modifying the registry or system files and settings, impose a risk of rendering the Operating System inoperable and loss of data.
Make sure you have verified full backups and the associated restore software available before running any script or programming example.
Use these scripts and programming examples entirely at your own risk. All liability claims against the author in relation to material or non-material losses caused by the use, misuse or non-use of the information provided, or the use of incorrect or incomplete information, are excluded. All content is subject to change and provided without obligation.
|