NAME

Net::Domain::Info::Whois - Net::Domain::Info plugin for requesting whois information

SYNOPSIS

This module provides Whois data fetch and simple parsing (currently only create/expire dates and email information)

        use Net::Domain::Info qw(::Whois); # used Whois plugin

        Net::Domain::Info->new ($domain);

        $domain_info->fetch_whois;

        $domain_info->created;
        $domain_info->expires;

        $domain_info->contacts;

METHODS

fetch_whois

Fetches Whois and stores Whois information in the object. Then parses "create" and "expire" dates for domain and tries to fetch email addresses. When no address is found, tries to receive the last Whois in the chain and searches for addresses again.

created

Accessor for domain record creation date.

expires

Accessor for domain record expiration date.

contacts

Returns arrayref of contacts with prototypes. Currently only "e–mail" prototype ia supported. In the future support for phone and people contacts is planned.

whois_failed

Returns status of Whois fetch. As example, you can receive undefined Whois data. This can happen because server failed, or you exceeded rate limit, or domain does not exist. whois_failed flag is set only when something is wrong with Whois server and you can (and must!) recheck Whois later.

AUTHOR

Ivan Baktsheev, <apla at the-singlers.us>

BUGS

Please report any bugs or feature requests to my email address, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Net-Domain-Info. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

ACKNOWLEDGEMENTS

COPYRIGHT & LICENSE

Copyright 2008 Ivan Baktsheev

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

1 POD Error

The following errors were encountered while parsing the POD:

Around line 249:

Non-ASCII character seen before =encoding in '"e–mail"'. Assuming UTF-8