Changeset 88 for trunk


Ignore:
Timestamp:
09/11/25 18:03:48 (4 days ago)
Author:
Kris Deugau
Message:

/trunk/uribl

Fill out tinydns export branch for completeness, although using anything
other than rbldnsd or similar for DNSBL data is more than a bit looney.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/uribl/URIdb.pm

    r87 r88  
    216216    }
    217217  } elsif ($target eq 'tinydns') {
     218    print $blfh "Z$blzone.dnsbl:$blzone.dnsbl:$bladmin::600:600:600:600\n";
     219    print $blfh "\&$blzone.dnsbl:127.0.0.1::900\n";
     220    $sth = $dbh->prepare("SELECT uri FROM urilist WHERE list=2");
     221    $sth->execute;
     222    while (my ($uri) = $sth->fetchrow_array) {
     223      print $blfh "'$uri.$blzone:Domain found in reported missed-spam, no legitimate root or www content:900::\n".
     224        "+$uri.$blzone:127.0.0.2:900::\n";
     225    }
     226    $sth = $dbh->prepare("SELECT uri FROM urilist WHERE list=4");
     227    $sth->execute;
     228    while (my ($uri) = $sth->fetchrow_array) {
     229      print $blfh "'$uri.$blzone:Domain seen repeatedly in reported missed-spam, some legitimate root or www content:900::\n".
     230        "+$uri.$blzone:127.0.0.4:900::\n";
     231    }
     232    $sth = $dbh->prepare("SELECT uri FROM urilist WHERE list=8");
     233    $sth->execute;
     234    while (my ($uri) = $sth->fetchrow_array) {
     235      print $blfh "'$uri.$blzone:Abused URL-shortener or redirector domain:900::\n".
     236        "+$uri.$blzone:127.0.0.8:900::\n";
     237    }
    218238  } elsif ($target eq 'bind') {
    219239  } else {
Note: See TracChangeset for help on using the changeset viewer.