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.
dnswl_list/0Default list of DNSWL services.
is_blocked/1
is_blocked/2
is_blocked/3
status/1
status/2
status/3
test/0

Function Details

dnsbl_list/0

dnsbl_list() -> any()

Default list of DNSBL services

dnswl_list/0

dnswl_list() -> any()

Default list of DNSWL services

is_blocked/1

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

is_blocked/2

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

is_blocked/3

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

status/1

status(IP::inet:ip_address()) -> {ok, {ok, notlisted | whitelisted | {blocked, [string()]}}} | {error, term()}

status/2

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

status/3

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

test/0

test() -> any()


Generated by EDoc