### Extending DNSBL Providers (Basic) Source: https://github.com/dmippolitov/pydnsbl/blob/master/README.md Shows how to extend the default list of DNSBL providers by adding custom providers. This is useful for including additional blacklists in your checks. ```python from pydnsbl import DNSBLIpChecker, providers from pydnsbl.providers import BASE_PROVIDERS, Provider providers = BASE_PROVIDERS + [Provider('yourprovider1.com'), ...] checker = DNSBLIpChecker(providers=providers) ``` -------------------------------- ### Accessing DNSBLResult Properties Source: https://github.com/dmippolitov/pydnsbl/blob/master/README.md Demonstrates how to access various properties of the DNSBLResult object, including the address/domain checked, blacklist status, detected providers, categories, and lists of providers used and failed. ```python result = domain_checker.check('belonging708-info.xyz') result.addr 'belonging708-info.xyz' result.blacklisted True result.detected_by {'multi.surbl.org': ['unknown'], 'dbl.spamhaus.org': ['spam']} result.categories {'unknown', 'spam'} result.providers [, , , ] result.failed_providers [] ``` -------------------------------- ### Check Domain with Pydnsbl Source: https://github.com/dmippolitov/pydnsbl/blob/master/README.md Instantiate DNSBLDomainChecker and use its check method to determine if a domain is blacklisted. The result object provides details about the check. ```python import pydnsbl domain_checker = pydnsbl.DNSBLDomainChecker() domain_checker.check('google.com') domain_checker.check('belonging708-info.xyz') ``` -------------------------------- ### Check IP Address with Pydnsbl Source: https://github.com/dmippolitov/pydnsbl/blob/master/README.md Instantiate DNSBLIpChecker and use its check method to determine if an IP address is blacklisted. The result object provides details about the check. ```python import pydnsbl ip_checker = pydnsbl.DNSBLIpChecker() ip_checker.check('8.8.8.8') ip_checker.check('68.128.212.240') ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.