Documentation ¶
Overview ¶
Package mxdns provides DNS utilities for SMTP servers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MxDNS ¶
type MxDNS struct {
// contains filtered or unexported fields
}
MxDNS provides utilities for checking DNS blocklists.
func (*MxDNS) CheckDomain ¶
CheckDomain checks if the given domain is on the configured blocklists
func (*MxDNS) CheckIP ¶
CheckIP checks if the given IP address is on the configured blocklists and returns a result for each blocklist.
func (*MxDNS) CheckReverse ¶
CheckReverse does both a reverse lookup and a FCRDNS check. The reverse lookup should match expectHost. The reverse lookup should resolve back to the given ip.
func (*MxDNS) IsDomainBlocked ¶
IsDomainBlocked checks if the given domain is on any of the configured blocklists.
Click to show internal directories.
Click to hide internal directories.