In the old days the result of dnsbl-query was binary: match or miss.
But with a mix of /(DNS|RHS)(BL|WL)/ this scheme wont work anymore,
not to mention the META-zones for ABUSE@, COUNTRY, ADDR and RDNS.
Response-Status may be one of those values:
| 2 | ++ | BL positive | BL Match | dark red |
| 1 | + | WL default | WL Miss | light red |
| 0 | ERR | error | dns/network error | ugly yellow |
| -1 | - | BL default | BL Miss | light green |
| -2 | -- | WL positive | WL Match | dark green |
| null | UNK | unknown | not queried yet | default grey |
Implementation: (pending...)
- if(type==isreq) Miss will be promoted to Match
- if(type==ismeta) Match will be lowered to Miss
if anybody has a better idea please speak up
See also: