Hi Zarzuelo,
You can use whoiscl. a utility for command line in windows. ( There are an utility for windows too )
http://www.nirsoft.net/utils/whoiscl.htmlOnly you have to do is to parse the result with the grep command.
-------------------------------------------------------------------------------------
C:\Temp\whoiscl>WhoisCL.exe -r google.com
WHOIS Server: whois.markmonitor.com
Registrant:
Dns Admin
Google Inc.
Please contact
contact-admin@google.com 1600 Amphitheatre Parkway
Mountain View CA 94043
US
dns-admin@google.com +1.6502530000 Fax: +1.6506188571
Domain Name: google.com
Registrar Name: Markmonitor.com
Registrar Whois: whois.markmonitor.com
Registrar Homepage:
http://www.markmonitor.com Administrative Contact:
DNS Admin
Google Inc.
1600 Amphitheatre Parkway
Mountain View CA 94043
US
dns-admin@google.com +1.6506234000 Fax: +1.6506188571
Technical Contact, Zone Contact:
DNS Admin
Google Inc.
2400 E. Bayshore Pkwy
Mountain View CA 94043
US
dns-admin@google.com +1.6503300100 Fax: +1.6506181499
Created on..............: 1997-09-15.
Expires on..............: 2020-09-13.
Record last updated on..: 2011-07-20.
Domain servers in listed order:
ns4.google.com
ns3.google.com
ns2.google.com
ns1.google.com