AF1W

DNSBL return codes

I’m a big fan of using DNSBLs in front of a mailserver to reject egregious spam. A surprising number of DNSBLs return multiple different IPs indicating different things, beyond the standard 127.0.0.2 listing. As I spent a bit looking into this for my postscreen configuration, I figured I’d write up what I’ve found here.

It should go without saying, but I’m some random dude on the Internet, not an authoritative source on these. Where I can, I link to official docs.

At this time I am only listing IP-based lists, not URIBLs or RHSBLs.

See https://www.intra2net.com/en/support/antispam/index.php_sort=inaccuracy_order=asc.html for comparisons of accuracy.

zen.spamhaus.org

https://docs.spamhaus.com/datasets/docs/source/10-data-type-documentation/datasets/030-datasets.html documents these.

IP AddressMeaning
127.0.0.2SBL: Spamhaus’s manually-managed list of spam operation IPs
127.0.0.3CSS: Automated spam listings
127.0.0.4XBL: Exploit Blocklist
127.0.0.5XBL: unused?
127.0.0.6XBL: unused?
127.0.0.7XBL: unused?
127.0.0.9DROP: “Don’t Route or Peer,” known spam operations
127.0.0.10PBL: IP is in a policy blocklist, with data provided by the ISP.
127.0.0.11PBL: IP is in a policy blocklist, as determined by Spamhaus.
127.0.0.20AuthBL: Brute force / credential hijacking
127.0.0.30BCL: Botnet Controller List, perhaps less relevant to SMTP

ip.v4bl.org

https://v4bl.org for docs

IP AddressMeaning
127.0.0.2Spam source
127.0.0.3Reverse DNS / FCRDNS issues
127.0.0.4“Hacking”
127.0.0.5Auth abuse
127.0.0.6Scanners

dnsbl.dronebl.org

Docs: https://dronebl.org/docs/howtouse

IP AddressMeaning
127.0.0.2Sample (?)
127.0.0.3IRC Drone
127.0.0.5“Bottler” (?)
127.0.0.6Spambot/drone
127.0.0.7DDoS
127.0.0.8SOCKS proxy
127.0.0.9HTTP proxy
127.0.0.10ProxyChain
127.0.0.11Webpage proxy
127.0.0.12Open DNS resolver
127.0.0.13Brute force attacks
127.0.0.14Wingate proxy
127.0.0.15Compromised router
127.0.0.16Worms
127.0.0.17Botnet IP
127.0.0.18“DNS/MX type hostname detected on IRC”

(I don’t understand the implications of using some of these on a mailserver.)

I have seen 127.0.0.6 and 127.0.0.13 on my mailserver.

bl.fmb.la

https://web.archive.org/web/20250617081306/https://fmb.la/pages/about

IP AddressMeaning
127.0.0.2Standard Level 1 listing
127.0.1.24Spammy /24 (77+ IPs in /24 sending spam)
127.0.1.25Spammy /25 (38+ IPs in /25 sending spam)
127.0.1.26Spammy /26 (19+ IPs in /26 sending spam)
127.0.1.27Spammy /27 (10+ IPs in /27 sending spam)
127.0.1.28Spammy /28 (5+ IPs in /28 sending spam)
127.255.255.255Too many queries

hostkarma.junkemailfilter.com

https://wiki.junkemailfilter.com/index.php/Spam_DNS_Lists#How_to_use_the_Lists

IP AddressMeaning
127.0.0.1Allowlist: “trusted nonspam”
127.0.0.2Blocklist: “block spam”
127.0.0.3Yellowlist: “mix of spam and nonspam”
127.0.0.4Brownlist: “all spam – but not yet enough to blacklist”
127.0.0.5NOBL: “This IP is not a spam only source and no blacklists need to be tested”
127.0.1.1QUIT is used
127.0.1.2QUIT is not used
127.0.1.3QUIT is sometimes used