1 module Network.DNS.RBL ( lookup_simple )
4 -- | Look up the given @host@ on all of the white/blacklists contained
5 -- in @rbls@. If the results, multiplied by their weights, add up to
6 -- (at least) @threshold@, then @True@ is returned; that is, the
7 -- @host@ is \"listed\". Otherwise, @False@ is returned.
9 lookup_simple :: String -> Int -> String -> Bool
10 lookup_simple rbls threshold host = undefined