costas has asked for the wisdom of the Perl Monks concerning the following question:
I am writing a small script to perfrom a 'whois' on number of domains. i however have a slight query.
When i run 'use Net::ParseWhois;'on a particular domain I get the following
When i run use 'Net::Whois::Raw;' with the same domain i get all information above plus an expiry/created/ and updated date (as shown below).
thankyou
When i run 'use Net::ParseWhois;'on a particular domain I get the following
Note that the final line in this code puts record created and updated as 'n/a' and there is no expiry date!!!Registrar: NETWORK SOLUTIONS, INC. Domain: xxx Name: xxx Tag: xxx Address: xxx Country: xx Name Servers: xx Contacts: ADMINISTRATIVE: Cable and Wireless PLC UK Hostmaster (IH22-ORG) hostmaster@UK.CW.NET Cable and Wireless PLC 76 Hammersmith Road Hammersmith, London W14 8UD UK +44 (0) 20 7825 6000 Fax- +44 (0) 20 8243 1981 TECHNICAL: Cable and Wireless PLC UK Hostmaster (IH22-ORG) hostmaster@UK.CW.NET Cable and Wireless PLC 76 Hammersmith Road Hammersmith, London W14 8UD UK +44 (0) 20 7825 6000 Fax- +44 (0) 20 8243 1981 Record created:n/a Record updated:n/a
When i run use 'Net::Whois::Raw;' with the same domain i get all information above plus an expiry/created/ and updated date (as shown below).
Can anybody tell me how to get the date information using the use Net::ParseWhois; module since it fetches me the results in a more managable form. Or are there any other suggestions?...Record expires on 25-Oct-2002. Record created on 24-Oct-1995. Datab +ase last updated on 1-May-2002 04:51:03 EDT...
thankyou
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: whois module query
by tadman (Prior) on May 01, 2002 at 09:19 UTC | |
Re: whois module query
by hatter (Pilgrim) on May 01, 2002 at 12:07 UTC |
Back to
Seekers of Perl Wisdom