User Tools

Site Tools


This is an old revision of the document!

Spam Filter Rules: DNSBL

Statement DNSBL
Version 2.1.7+
Purpose Allows the script to perform a DNS blacklist lookup, returning the result into a specified variable

The DNSBL statement requires a hostname, DNSBL zone and variable name, in the format

DNSBL <hostname> <DNSBL zone> <variable name>

See also

  • StartDNSBL - Can be used in advance of DNSBL being called, to improve script efficiency


The following example returns the result of the DNS blacklist lookup into the ${dnsresult} variable

DNSBL ${SenderIP} dnsresult
reference/spamrules_statement_dnsbl.1314804385.txt.gz · Last modified: 2018/11/14 10:44 (external edit)