NAME

Domain::Details - Domain class with DNS/SSL/WHOIS fields

VERSION

version 0.230320

METHODS

domain

Return the current domain as created with the new constructor

description

Return or set an optional description (comment) on the domain object

whois_expiration

Returns domain's expiration date using the Net::ExpireDate module's expire_date function

Derives the root domain using Domain::PublicSuffix class' get_root_domain method

Accepts optional argument to specify the format the date is returned in

ssl_expiration

Return the SSL expiration date using Net::SSL::ExpireDate class' expire_date constructor returning a DateTime object

Accepts an argument to loosely set the date format as Year, Month, Day in sprintf syntax

ssl_issue

Return the SSL issue date using Net::SSL::ExpireDate class' begin_date constructor returning a DateTime object

Accepts an argument to loosely set the date format as Year, Month, Day in sprintf syntax

ssl_expires_soon

Return a boolean indicating if the SSL expires within the time specified

Defaults to 14 days, ie. 2 weeks which is a normal renewal date

dns

Net::DNS records (A, CNAME, MX, NS, TXT, and SOA) with with Geo::IP

Uses Syntax::Keyword::Match to topicalize $record - type>

summary

Output summary, and copy it into the clipboard stripping colors with colorstrip

AUTHOR

Elvin Aslanov <rwp.primary@gmail.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2023 by Elvin Aslanov.

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