At 07:54 2004-10-09 -0700, Jeff Chan wrote:
On Saturday, October 9, 2004, 6:20:13 AM, Chris Santerre wrote:
I don't see any harm in treating these as second and thrid TLDs. We are already doing all the same work, and seeing the same domains anyway while looking at spams. Why not just add them as 2-3 level? We are doing all the work now, and just throwing the listing away.
One reason for not doing it is that there was not an easy programatic way (on the client side) to distinguish subdomain.tripod.com as something to be checked instead of tripod.com. One quick answer is to check them both, and SpamAssassin or SpamCopURI may do that, but if so, that's probably more for convenience than correctness.
Another quick answer is - check them against a dns list...
Just create a separate "TLDs or treat as TLDSs" zone that can be checked and cached client side.
Or even better - give "TLDs or treat as TLDSs" a distinguished A value in existing lists. If a lookup returns XXX.XXX.XXX.XXX, it is a "TLD or treat as TLD" and should be further recursed. If we think there is a risk that some bad client implementatins treat any returned A record as a hit, use TXT records.
Patrik