DNSBL checking SMTPD-Proxy on gevent steroids
Checks if the name resolves and if the last part of the reply is >= the predicate.
| Parameters: | zone (string) – A valid zone for lookup ex: ‘234.52.218.89.ix.dnsbl.manitu.net.’ |
|---|---|
| Return type: | integer |
Reverses the ipv4 so that it can be checked >>> as_reversed(ip=‘89.218.52.234’, suffix=’ix.dnsbl.manitu.net’) ‘234.52.218.89.ix.dnsbl.manitu.net.’
| Parameters: |
|
|---|---|
| Return type: | string |
Checks a ip against a list of DNSBL providers.
| Parameters: |
|
|---|---|
| Return type: | bool |
Returns either True or False depending on if the last digits in the reply is >= the predicament. 2 is the default as per RFC.
| Parameters: |
|
|---|---|
| Return type: | bool |