Zones
RBL.AF publishes two DNS zones from the same authoritative service:
bl.rbl.af: IPv4 and IPv6 addresses.dbl.rbl.af: domain names.
IPv4 queries
Reverse the four octets and append the IP zone. To check 192.0.2.25:
dig +short 25.2.0.192.bl.rbl.af A
IPv6 queries
Expand the address to 32 hexadecimal nibbles, reverse them, separate them with dots and append the IP zone (RFC 5782). To check 2001:db8::25:
5.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.8.b.d.0.1.0.0.2.bl.rbl.af
Domain queries
Domains are not reversed. Lower-case the name, convert internationalised names to their punycode form, and append the domain zone:
dig +short mail.example.net.dbl.rbl.af A
Listings are exact. A listed domain does not imply that its subdomains or its parent domain are listed.
Return codes
| Answer | Meaning | Recommended action |
|---|---|---|
| A 127.0.0.2 | IP address is listed | Reject (SMTP 550) |
| A 127.0.1.2 | Domain is listed | Reject (SMTP 550) |
| NXDOMAIN | Not listed | Accept |
| SERVFAIL / timeout / REFUSED | Service could not answer | Accept (fail open) |
| Any other A value | Not a listing | Accept |
Reject only on the exact answer for the zone you queried. Treat everything else as not listed.
TXT records
Each listed name has a TXT record with the public listing reason and a link to the lookup page for that entry, for example:
"Snowshoe spam source - see https://www.rbl.af/lookup?q=192.0.2.10"
Exim can include the TXT text in the rejection message with $dnslist_text when using dnslists.
Test points
The following RFC 5782 entries are permanently listed so you can confirm that queries work. They cannot be removed.
127.0.0.2: query2.0.0.127.bl.rbl.af, answers127.0.0.2.::ffff:7f00:2: the IPv6 form of the same test point.test: querytest.dbl.rbl.af, answers127.0.1.2.
127.0.0.1 is never listed and must return NXDOMAIN.
TTL and caching
Listing records are published with a TTL of 60 seconds. Changes made by administrators are normally visible on the authoritative server within a minute; recursive resolvers may keep the previous answer, or a previous NXDOMAIN, for up to the TTL or the SOA negative TTL.
Scope
- Exact IPv4, IPv6 and domain listings only. No CIDR ranges, wildcards or parent-domain matches.
- Private, loopback, documentation and other reserved addresses are not listed.
- The zone is not offered for transfer or download. Use DNS queries.