Module z_email_dnsbl

Check an IP address against some DNSBL providers (rfc5782).

Copyright © 2015 Marc Worrell

Authors: Marc Worrell.

Description

Check an IP address against some DNSBL providers (rfc5782)

Function Index

dnsbl_list/0Default list of DNSBL services.
is_blocked/1
is_blocked/2
status/1
status/2
test/0

Function Details

dnsbl_list/0

dnsbl_list() -> any()

Default list of DNSBL services

is_blocked/1

is_blocked(IP::inet:ip_address()) -> boolean()

is_blocked/2

is_blocked(IP::inet:ip_address(), RTBLs::[string()]) -> boolean()

status/1

status(IP::inet:ip_address()) -> {ok, {blocked, list()}} | {ok, notlisted} | {error, term()}

status/2

status(IP::inet:ip_address(), DNSBLs::list()) -> {ok, {blocked, list()}} | {ok, notlisted} | {error, term()}

test/0

test() -> any()


Generated by EDoc, Jul 23 2016, 20:01:53.