#dnsbl.sorbs.net
#t1.dnsbl.net.au
#checked 2025-07-12 by preference order
--1 127.0.0.2 bl.spamcop.net
--1 127.0.0.2 sbl.spamhaus.org
--1 127.0.0.2 pbl.spamhaus.org
--1 127.0.0.2 xbl.spamhaus.org
--1 127.0.0.2 b.barracudacentral.org
--1 127.0.0.2 bl.blocklist.de
--1 127.0.0.2 ips.backscatterer.org
--1 127.0.0.2 dnsbl.dronebl.org
--1 127.0.0.2 all.s5h.net #http://s5h.net/rbl
--1 127.0.0.2 hostkarma.junkemailfilter.com #
+#The SpamCop Blocking List (SCBL) lists IP addresses which
+#have transmitted reported email to SpamCop users. SpamCop
+-1 bl.spamcop.net 127.0.0.2
+#Spamhaus Block List (SBL) is a realtime database of IP addresses
+#of spam sources, including known spammers, spam gangs,
+#spam operations and spam support services.
+-1 sbl.spamhaus.org 127.0.0.2,127.0.0.3,127.0.0.9
+#b.barracudacentral.org will return the standard
+#127.0.0.2 IP address when queried if the SMTP server is listed.
+-1 b.barracudacentral.org 127.0.0.2
+#www.blocklist.de is a free and voluntary service provided
+#by a Fraud/Abuse-specialist,
+-1 bl.blocklist.de 127.0.0.9,127.0.0.13
+# ips.backscatterer.org for scoring or rejecting misdirected
+#bounces and misdirected autoresponders
+-1 ips.backscatterer.org 127.0.0.2
+#DroneBL is a realtime monitor of abusable IPs
+#-1 dnsbl.dronebl.org
+#The s5h blacklist is a real-time IP-based blacklist that is
+#maintained by the System 5 Hosting (S5H) organization.
+-1 all.s5h.net 127.0.0.2
+#Junk Email Filter is a front end email spam filtering
+-1 hostkarma.junkemailfilter.co 127.0.0.2
list=(char **)rou_addlist((void **)list,(void *)dynbuf);
break;
case T_A : {
- u_int32_t *addr;
+ char str[INET_ADDRSTRLEN];
- addr=(u_int32_t *)calloc(1,sizeof(u_int32_t));
- *addr=ntohl(*((u_int32_t *)cp));
- list=(char **)rou_addlist((void **)list,(void *)addr);
+ (void) inet_ntop(AF_INET,cp,str,INET_ADDRSTRLEN);
+ list=(char **)rou_addlist((void **)list,(void *)strdup(str));
}
break;
case T_AAAA :
listed=(char *)0;
(void) snprintf(dnsquest,sizeof(dnsquest),"%s.%s",reversip,blk->sitename);
-(void) rou_alert(0,"%s, JMPDBG checking <%s>",OPEP,dnsquest);
-if ((txt=gettxt(dnsquest,T_PTR,"TXT"))!=(char **)0) {
+//(void) rou_alert(0,"%s, JMPDBG checking <%s>",OPEP,dnsquest);
+if ((txt=gettxt(dnsquest,T_A,"TXT"))!=(char **)0) {
int num;
char **ptr;
ptr=txt;
while (*ptr!=(char *)0) {
(void) rou_alert(0,"JMPDBG site <%s> got txt[%d]=<%s>",
- blk->sitename,num,*ptr);
+ dnsquest,num,*ptr);
num++;
ptr++;
}