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


Net-Domain-Info documentation  | view source Contained in the Net-Domain-Info distribution.

Index


NAME

Top

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

SYNOPSIS

Top

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

Top

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

Top

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

BUGS

Top

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

Top

ACKNOWLEDGEMENTS

Top

COPYRIGHT & LICENSE

Top


Net-Domain-Info documentation  | view source Contained in the Net-Domain-Info distribution.