On Monday, April 5, 2004, 7:50:16 PM, Justin Mason wrote: > BTW, current SVN trunk now contains URIBL support for RHSBL lookups > using the 'urirhsbl' command:
> =item urirhsbl NAME_OF_RULE rhsbl_zone lookuptype > Specify a RHSBL-style domain lookup. C<NAME_OF_RULE> is the name of the rule > to be used, C<rhsbl_zone> is the zone to look up domain names in, and > C<lookuptype> is the type of lookup (B<TXT> or B<A>). Note that you must > also > define a header-eval rule calling C<check_uridnsbl> to use this. > An RHSBL zone is one where the domain name is looked up, as a string; e.g. a > URI using the domain C<foo.com> will cause a lookup of > C<foo.com.uriblzone.net>. > Note that hostnames are stripped from the domain used in the URIBL lookup, > so the domain C<foo.bar.com> will look up C<bar.com.uriblzone.net>, and > C<foo.bar.co.uk> will look up C<bar.co.uk.uriblzone.net>. Good to know. I assume that means all we would need to do is add some code to uridnsbl to allow it to pass unresolved domains (i.e. domains not their fqdn's IP addresses) to rhsbl_zone in order to do name-based URI checking, for example using SURBL. Does that sound right? > seems to work... > any chance you could add a test domain? test.surbl.org is stripped > down to surbl.org. There are a couple test domains hardwired in at: Name: test.sc.surbl.org.sc.surbl.org Address: 127.0.0.2 Name: test.surbl.org.sc.surbl.org Address: 127.0.0.2 Will one of those work? Jeff C. -- Jeff Chan mailto:[EMAIL PROTECTED] http://www.surbl.org/
