Mail::...C::Base(3pm)
π NAME π
Okay bestie, welcome to the Mail::...C::Base(3pm) page β User Contributed Perl Documentation β aka Mail::DMARC::Base - DMARC utility functions. π
β¨
β VERSION β
version 1.20260306 β yes, that's the version, periodt. π
π METHODS π
πΈ is_public_suffix
Checks whether part of a domain is a Top Level Domain (TLD). Examples of TLDs are com, net, org, co.ok, am, and us. Obsessed with a good suffix check. The call is made by consulting a Public Suffix List. The included PSL is from mozilla.org; see http://publicsuffix.org/list/ for more information and a link to download the latest PSL. π¦
π¦ update_psl_file
Downloads a new Public Suffix List file from mozilla and updates the installed file with the new copy. Fresh PSL, no cap. β¨
π has_dns_rr
Determines if a DNS Resource Record of the specified type exists at the DNS name provided. Type + name = checked. π
π₯ get_resolver
Returns a (cached) Net::DNS::Resolver object. Cache moment, iconic. π
π set_resolver
Sets the Net::DNS::Resolver object to be used for lookups. Resolver main character energy. π
β is_valid_ip
Determines if the supplied IP address is a valid IPv4 or IPv6 address. IP vibe check. π«Ά
π is_valid_domain
Determines if a string is a legal RFC 1034 or 1101 host name. Half the reason to test for domain validity is to shave seconds off our processing time by not having to process DNS queries for illegal host names. The other half is to raise exceptions if methods are being called incorrectly. Double duty, literally. π
π SEE ALSO π
- Mozilla Public Suffix List:
http://publicsuffix.org/list/
π AUTHORS π
- Matt Simerson
<msimerson@cpan.org> - Davide Migliavacca
<shari@cpan.org> - Marc Bradshaw
<marc@marcbradshaw.net>
π COPYRIGHT AND LICENSE π
This software is copyright (c) 2026 by Matt Simerson.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
Signing off from perl v5.40.1, dated 2026-07-07 β this was the Mail::...C::Base(3pm) page. Stay iconic, bestie. πβ¨
π¦ where this page comes from
- ubuntu stonking: libmail-dmarc-perl 1.20260306-1ubuntu1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms