| Portability | portable |
|---|---|
| Stability | provisional |
| Maintainer | holden@pigscanfly.ca |
Network.DNSRBL
Description
Anynchronously lookup a host on multiple DSNRBLs.
Documentation
dorbls :: String -> IO [(String, Bool)]Source
dorbls is a friendly wrapper around
dorblf which only requires a hostname
dorblf :: String -> [HostAddress] -> Resolver -> IO [(String, Bool)]Source
dorblf returns a list of (String,Bool) where
the string is the RBL name and Bool is if it was found or not
Note: There may be multiple instances of the same string
with different Bool values since one hostname may resolve to multiple IPs
some of which may match and some of which may not match
asanequery :: String -> [HostAddress] -> Resolver -> IO [(String, Bool)]Source
asanequery is a wrapper of dorblf which has only one instance of RBL and
if any of the elements were found in the RBL (name, any of the IPs)
if it is true otherwise it is false.