How can I test the DBL?
Back
How can I test the DBL?
There are two ways to test the DBL.
- The DBL follows RFC5782 for determining whether a URI zone is operational with an entry for TEST.
- The DBL has a specific domain for testing DBL applications: dbltest.com.
- To test functionality of the DBL, use “host” or “dig” from the command line to do a manual query.
- If using the web to look up a domain in the DBL, the domain lookup form at our Blocklist Removal Center should be used.
NOTE: Do not query our website with automated tools!
RFC5782 operational test
Query: test.dbl.spamhaus.org
Result: test.dbl.spamhaus.org IN A 127.0.1.2
“Listed” Test Results
Query: dbltest.com.dbl.spamhaus.org
Result: dbltest.com.dbl.spamhaus.org IN A 127.0.1.2
“Not Listed” Test Results
Query: example.com.dbl.spamhaus.org
Result: Host example.com.dbl.spamhaus.org not found: 3(NXDOMAIN)
(Note: the IANA reserved “example.com” domain will never appear in the DBL zone)
Test Point TXT Record
Query: TXT dbltest.com.dbl.spamhaus.org
Result: TXT "http://www.spamhaus.org/query/dbl?domain=dbltest.com"