If the query is to the authorative server it should return both A and TXT records.
But if not the authorative server, then yes patch is less than perfect.
Jim
James H. Thompson
[EMAIL PROTECTED]
----- Original Message -----
From: "Mark Powell" <[EMAIL PROTECTED]>
To: "James H. Thompson" <[EMAIL PROTECTED]>
Cc: "qpsmtpd ML" <[EMAIL PROTECTED]>
Sent: Tuesday, January 20, 2004 12:49 AM
Subject: Re: dnsbl functionality
> On Mon, 19 Jan 2004, James H. Thompson wrote:
>
> > I posted a patch a while back to make dnsbl work with A records.
> > Don't know if its been changed in CVS.
>
> The patches that changes one line in dnsbl to this?
>
> $sel->add($res->bgsend("$reversed_ip.$dnsbl"));
>
> That performs a query for ANY record, which means services that have A &
> TXT records (all?) will return the A record and not the TXT record.
> Need functionality similar to rblsmtpd where if the service only has an
> A record, then you can specify the URL i.e.
>
> ------config/dnsbl_zones-----
> sbl-xbl.spamhaus.org
> list.dsbl.org
> rbl-plus.mail-abuse.ja.net:Listed by rbl-plus.mail-abuse.ja.net - see
<URL:http://www.mail-abuse.org/cgi-bin/lookup?%IP%>
> relays.ordb.org
> -----------------------------
>
> Time to look at how dnsbl works <sigh> :)
> Cheers.
>
> --
> Mark Powell - UNIX System Administrator - The University of Salford
> Information Services Division, Clifford Whitworth Building,
> Salford University, Manchester, M5 4WT, UK.
> Tel: +44 161 295 4837 Fax: +44 161 295 5888 www.pgp.com for PGP key
>