https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6573

--- Comment #5 from Mark Martinec <[email protected]> 2011-05-05 13:14:24 
UTC ---
> If we get an IPv6 answer, won't it
> have a type of AAAA and not A?
> So maybe an elseif $answer->type eq 'AAAA' is needed rather than assuming A?

Not in case of querying DNS WBL servers. The query is for an A record
(expecting an answer like 127.0.0.x), even if a domain in a question
section is composed similar to a PTR query for an IPv6 address.

We are currently never issuing a DNS query of an AAAA type.
I just left the assumption as it was, not strengthening it
(for fear of potentially breaking some unanticipated case).

-- 
Configure bugmail: 
https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to