GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  MAIL::DMARC::BASE (3)

.ds Aq ’

NAME

Mail::DMARC::Base - DMARC utility functions

CONTENTS

VERSION

version 1.20150908

METHODS

    is_public_suffix

Determines if part of a domain is a Top Level Domain (TLD). Examples of TLDs are com, net, org, co.ok, am, and us.

Determination 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

Download a new Public Suffix List file from mozilla and update the installed file with the new copy.

    has_dns_rr

Determine if a DNS Resource Record of the specified type exists at the DNS name provided.

    get_resolver

Returns a (cached) Net::DNS::Resolver object

    set_resolver

Set the Net::DNS::Resolver object to be used for lookups

    is_valid_ip

Determines if the supplied IP address is a valid IPv4 or IPv6 address.

    is_valid_domain

Determine 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.

SEE ALSO

Mozilla Public Suffix List: http://publicsuffix.org/list/

AUTHORS

o Matt Simerson <msimerson@cpan.org>
o Davide Migliavacca <shari@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2015 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.

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 MAIL::DMARC::BASE (3) 2015-09-08

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.