NAME
Mail::DKIM::DNS - performs DNS queries for Mail::DKIM
DESCRIPTION
This is the module that performs DNS queries for Mail::DKIM. It contains a few global variables that can be set by the caller in order to change its behavior.
CONFIGURATION
There are a few global variables that can be set to modify the behavior of this module.
- $Mail::DKIM::DNS::TIMEOUT
-
This specifies the maximum amount of time (in seconds) to wait for a single DNS query to complete. The default is 10.
- $Mail::DKIM::DNS::RESOLVER
-
This specifies the instance of Net::DNS::Resolver that is used to perform the queries. The default is undef, which causes a brand new default instance of Net::DNS::Resolver to be created for each DNS query.
Use this if you want to provide additional options to Net::DNS::Resolver, such as support for an extended query:
use Mail::DKIM::DNS; $Mail::DKIM::DNS::RESOLVER = Net::DNS::Resolver->new; $Mail::DKIM::DNS::RESOLVER->udppacketsize(4096);
AUTHOR
Jason Long, <jlong@messiah.edu>
COPYRIGHT AND LICENSE
Copyright (C) 2006-2007, 2012 by Messiah College
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.6 or, at your option, any later version of Perl 5 you may have available.