NAME

Mail::Toaster::DNS - Common DNS functions


SYNOPSIS

Mail::Toaster::DNS is a grouping of DNS functions I've written.


DESCRIPTION

These functions are used by toaster-watcher to determine if RBL's are available when generating qmail's smtpd/run control file.

GetRblTestNS

        use Mail::Toaster::DNS;
        GetRblTestNS($rbl);

$rbl is the reverse zone we use to test this rbl.

GetRblTestPositiveIP

        use Mail::Toaster::DNS;
        GetRblTestPositiveIP($rbl);

$rbl is the reverse zone we use to test this rbl. Positive test is a test that should always return a RBL match. If it should and doesn't, then we assume that RBL has been disabled by it's operator.

GetRblTestNegativeIP

        use Mail::Toaster::DNS;
        GetRblTestNegativeIP($rbl);

This test is difficult as RBL operators don't typically have an IP that's whitelisted. The DNS location based lists are very easy to test negatively. For the rest I'm listing my own IP as the default unless the RBL has a specific one. At the very least, my site won't get blacklisted that way. ;) I'm open to better suggestions.


AUTHOR

Matt Simerson <matt@tnpi.biz>


BUGS

None known. Report any to author.


TODO


SEE ALSO

http://www.tnpi.biz/computing/ http://www.tnpi.biz/computing/perl/MATT-Bundle/

Mail::Toaster::CGI, Mail::Toaster::DNS, Mail::Toaster::Logs, Mail::Toaster::Qmail, Mail::Toaster::Setup


COPYRIGHT

Copyright 2003, The Network People, Inc. All Rights Reserved.