Author: Jeremy Harris Date: To: exim-users Subject: Re: [exim] rbldnsd lookup?
On 28/02/17 05:40, Jasen Betts wrote: > On 2017-02-27, Ian Zimmerman <itz@???> wrote:
>> has anyone come up with a convenient way, in an exim config, to test IP
>> addresses and domains for membership in rbldnsd [1] sets? rbldnsd is
>> DNS protocol, so one naturally reaches for the dnsdb lookup, but
>> typically it responds to queries on an address+port distinct from the
>> normal resolver, and it seems the latter is all dnsdb can do.
>
> hmm, "lookup dnsdb" doesn't seem to support the "servers=" option that other
> query lookups offer. but if it's using the libc resolver adding that
> feature could be tricky.
It is. Exim doesn't actually talk DNS at all.
We could develop another lookup which does (docs ch.61), or we could
enhance the ${readsocket } expansion to talk UDP (bug 410) and require
the DNS protocol be explicit by the user.