libweb.dns¶
DnsService¶
DnsblService¶
-
class
libweb.dns.
DnsblService
(creds=None, opts=None, **conf)[source]¶ A DNS-based service where the service options are reversed for use in a DNSBL
Keyword Arguments: -
get_rrname
(rrname)[source]¶ Formats the rrname using the options passed to the service. All options are split using ”.” as the separator and then the order reversed, as is required for DNSBL services (such as Spamhaus).
Parameters: rrname (str) – A string template for rendering the rrname to be requested
-