Documentation ¶
Overview ¶
Package dnsbl implements DNS block lists (RFC 5782), for checking incoming messages from sources without reputation.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrDNS = errors.New("dnsbl: dns error")
Functions ¶
func CheckHealth ¶
CheckHealth checks whether the DNSBL "zone" is operating correctly by querying for 127.0.0.2 (must be present) and 127.0.0.1 (must not be present). Users of a DNSBL should periodically check if the DNSBL is still operating properly. For temporary errors, ErrDNS is returned.
Types ¶
Click to show internal directories.
Click to hide internal directories.