forked from adionditsak/blacklist-check-unix-linux-utility
-
Notifications
You must be signed in to change notification settings - Fork 1
/
bl
executable file
·941 lines (907 loc) · 19.5 KB
/
bl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
#!/usr/bin/env bash
####################################################################
# bl - BLACKLIST CHECK UNIX/LINUX UTILITY #
# copyright: (c) 2014 Anders Aarvik #
# author: Anders Aarvik (aarvik92@gmail.com) and contributors #
# license: MIT licensed. See LICENSE #
# description: I was just a bit tired of web interfaces #
####################################################################
which ggrep 2> /dev/null > /dev/null && GREP_CMD="ggrep" || GREP_CMD="grep"
#### main ####
main() {
[ $# -ne 1 ] && error "Please specify a FQDN or IP as a parameter."
fqdn=$(echo $1 | $GREP_CMD -P "(?=^.{5,254}$)(^(?:(?!\d+\.)[a-za-z0-9_\-]{1,63}\.?)+(?:[a-za-z]{2,})$)")
if [[ $fqdn ]] ; then
echo "You entered a domain: $1"
domain=$(host $1 | head -n1 | awk '{print $4}')
reverseit $domain "IP not valid or domain could not be resolved."
else
echo "You entered an IP: $1"
reverseit $1 "IP not valid."
fi
loopthroughblacklists $1
}
#### reverseit ####
reverseit() {
reverse=$(echo $1 |
sed -ne "s~^\([0-9]\{1,3\}\)\.\([0-9]\{1,3\}\)\.\([0-9]\{1,3\}\)\.\([0-9]\{1,3\}\)$~\4.\3.\2.\1~p")
if [ "x${reverse}" = "x" ] ; then
error $2
exit 1
fi
}
echo " "
#### loopthroughblacklists ####
loopthroughblacklists() {
reverse_dns=$(dig +short -x $1)
echo $1 name ${reverse_dns:----}
for bl in ${blacklists} ; do
#printf $(env tz=utc date "+%y-%m-%d_%h:%m:%s_%z")
#printf "%-40s" " ${reverse}.${bl}."
listed="$(dig +short -t a ${reverse}.${bl}.)"
if [[ $listed ]]; then
if [[ $listed == *"timed out"* ]]; then
echo "$bl [timed out]" | cecho YELLOW
else
echo "$bl [blacklisted] (${listed})" | cecho LRED
fi
else
echo "$bl [not listed]" | cecho LGREEN
fi
done
}
#### error ####
error() {
echo $0 error: $1 >&2
exit 2
}
#### cecho ####
cecho(){
LGREEN="\033[1;32m"
LRED="\033[1;31m"
YELLOW="\033[1;33m"
NORMAL="\033[m"
color=\$${1:-NORMAL}
echo -ne "$(eval echo ${color})"
cat
echo -ne "${NORMAL}"
}
#### Updated at 2023-07-22 from: ####
#### blacklists - grabbed from https://hetrixtools.com/blacklist-check ####
#### blacklists - grabbed from https://glockapps.com/blacklist/dnsrbl-org/ ####
#### blacklists - grabbed from updated list at slurp-ramen.com ####
blacklists="
0outspam.fusionzero.com
0spam.fusionzero.com
0spam-killlist.fusionzero.com
0spamtrust.fusionzero.com
0spamurl.fusionzero.com
3y.spam.mrs.kithrup.com
88.blocklist.zap
ab.surbl.org
abuse-contacts.abusix.org
abuse.rfc-clueless.org
abuse.rfc-ignorant.org
accept.the-carrot-and-the-stick.com
access.atlbl.net
access.redhawk.org
accredit.habeas.com
admin.bl.kundenserver.de
adult.rhs.mailpolice.com
adv.rhs.mailpolice.com
ahbl.dnsbl.net.au
ahrh.dnsbl.net.au
all.ascc.dnsbl.bit.nl
all.dnsbl.bit.nl
all.rbl.jp
all.rbl.kropka.net
all.rbl.webiron.net
all.s5h.net
all.spamblock.unit.liu.se
all.spamrats.com
all.spam-rbl.fr
all.v6.ascc.dnsbl.bit.nl
any.dnsl.ipquery.org
apnic-main.bogons.dnsiplists.completewhois.com
arin-legacy-classb.bogons.dnsiplists.completewhois.com
arin-legacy-classc.bogons.dnsiplists.completewhois.com
arin-main.bogons.dnsiplists.completewhois.com
arspam.buanzo.org
asiaspam.spamblocked.com
asn.routeviews.org
aspath.routeviews.org
aspews.dnsbl.sorbs.net
aspews.ext.sorbs.net
assholes.madscience.nl
auth.spamrats.com
autowork.drbl.ks.cz
babl.rbl.webiron.net
backscat.dnsl.ipquery.org
backscatter.rbl.kropka.net
backscatter.spameatingmonkey.net
badconf.rhsbl.sorbs.net
badhost.stopspam.org
badnets.spameatingmonkey.net
bad.psky.me
bad.whois.bl.techtheft.info
bandwidth-pigs.monkeys.com
ban.zebl.zoneedit.com
b.barracudacentral.org
bb.barracudacentral.org
bbm.2ch.net
bbx.2ch.net
be.whitelist.skopos.be
bhnc.njabl.org
bitonly.dnsbl.bit.nl
black.dnsbl.securityplanet.nl
blackhole.compu.net
blackholes.2mbit.com
blackholes.alphanet.ch
blackholes.brainerd.net
blackholes.easynet.nl
blackhole.securitysage.com
blackholes.five-ten-sg.com
blackholes.intersil.net
blackholes.mail-abuse.org
blackholes.sandes.dk
blackholes.scconsult.com
blackholes.uceb.org
blackholes.wirehub.net
black.junkemailfilter.com
blacklist.fpsn.net
blacklist.hostkarma.com
blacklist.informationwave.net
blacklist.mail.ops.asp.att.net
blacklist.mailrelay.att.net
blacklist.netcore.co.in
blacklist.sci.kun.nl
blacklist.sci.ru.nl
blacklist.sequoia.ops.asp.att.net
blacklist.spambag.org
blacklist.woody.ch
black.uribl.com
bl.blbl.org
bl.blocklist.de
bl.blueshore.net
bl.borderworlds.dk
bl.csma.biz
bl.deadbeef.com
bl.drmx.org
bl.emailbasura.org
bl.fmb.la
bl.ipv6.spameatingmonkey.net
bl.konstant.no
bl.mailspike.net
bl.mailspike.org
bl.mav.com.br
bl.mipspace.com
bl.nszones.com
block.ascams.com
block.blars.org
block.dnsbl.sorbs.net
blocked.asgardnet.org
blocked.hilli.dk
blocklist2.squawk.com
blocklist.squawk.com
block.me.uk
block.rhs.mailpolice.com
block.stopspam.org
blocktest.relays.osirusoft.com
bl.open-whois.org
bl.redhatgate.com
bl.reynolds.net.au
bl.scientificspam.net
bl.score.senderscore.com
bl.scrollout.com
bl.shlink.org
bl.shlink.orgdul.ru
bl.spamcannibal.org
bl.spamcop.net
bl.spameatingmonkey.net
bl.spamstinks.com
bl.spamthwart.com
bl.spam-trap.net
bl.starloop.com
bl.student.pw.edu.pl
bl.summersault.com
bl.suomispam.net
bl.technovision.dk
bl.techtheft.info
bl.tiopan.com
bl.tolkien.dk
bogon.bl.techtheft.info
bogon.lbl.lagengymnastik.dk
bogons.cymru.com
bogons.dnsiplists.completewhois.com
bogusmx.rfc-clueless.org
bogusmx.rfc-ignorant.org
bsb.empty.us
bsb.spamlookup.net
bulk.rhs.mailpolice.com
c10.rbl.hk
cabal.web-o-trust.org
cabl.rbl.webiron.net
cart00ney.surriel.com
catchspam.com
cbl.abuseat.org
cbl.anti-spam.org.cn
cblless.anti-spam.org.cn
cblplus.anti-spam.org.cn
cbs.lumbercartel.org
cdl.anti-spam.org.cn
china.rominet.net
cidr.bl.mcafee.com
client-domain.sjesl.monkeys.com
cml.anti-spam.org.cn
combined.abuse.ch
combined-HIB.dnsiplists.completewhois.com
combined.njabl.org
combined.rbl.msrbl.net
communicado.fmb.la
conferr.bl.techtheft.info
contacts.abuse.net
countries.blackholes.us
country.dnsbl.solid.net
country.dnsbl.souphost.com
country.netop.org
country-rirdata.dnsiplists.completewhois.com
crawler.rbl.webiron.net
csi.cloudmark.com
czdynamic.drbl.ks.cz
dbl.spamhaus.org
dbl.suomispam.net
dbl.tiopan.com
db.rurbl.ru
db.wpbl.info
ddnsbl.internetdefensesystems.com
delayed-outputs.orbs.org
dev.null.dk
devnull.drbl.be.net.ru
dews.qmail.org
dhcp.tqmcube.com
dialup.blacklist.jippg.org
dialup.drbl.sandy.ru
dialup.rbl.kropka.net
dialups.mail-abuse.org
dialups.relays.osirusoft.com
dialups.visi.com
dmm.shlink.org
dnsbl-0.uceprotect.net
dnsbl1.dnsbl.borderware.com
dnsbl-1.uceprotect.net
dnsbl2.dnsbl.borderware.com
dnsbl-2.uceprotect.net
dnsbl3.dnsbl.borderware.com
dnsbl-3.uceprotect.net
dnsbl6.anticaptcha.net
dnsbl.abuse.ch
dnsbl.ahbl.org
dnsbl.allgeek.net
dnsbl.anticaptcha.net
dnsbl.antispam.or.id
dnsbl.aspnet.hu
dnsbl.burnt-tech.com
dnsbl.calivent.com.pe
dnsbl.cbn.net.id
dnsblchile.org
dnsbl.clue-by-4.org
dnsbl.cmbix.com
dnsbl.cobion.com
dnsbl.cyberlogic.net
dnsbl.delink.net
dnsbl.dronebl.org
dnsbl.forefront.microsoft.com
dnsbl.httpbl.org
dnsbl.inps.de
dnsbl.ioerror.us
dnsbl.ipocalypse.net
dnsbl.isoc.bg
dnsbl.jammconsulting.com
dnsbl.justspam.org
dnsbl.kempt.net
dnsbl.madavi.de
dnsbl.mags.net
dnsbl.mailer.mobi
dnsbl.mailshell.net
dnsbl.mcu.edu.tw
dnsbl.net.ua
dnsbl.njabl.org
dnsbl.openresolvers.org
dnsbl.othello.ch
dnsbl.pagedirect.net
dnsbl.proxybl.org
dnsbl.rangers.eu.org
dnsbl.regedit64.net
dnsbl.rizon.net
dnsbl.rv-soft.info
dnsbl.rymsho.ru
dnsbl.solid.net
dnsbl.sorbs.net
dnsbl.spam-champuru.livedoor.com
dnsbl.spfbl.net
dnsbl.stopspam.org
dnsbl.swiftbl.org
dnsbl.technoirc.org
dnsbl.tornevall.org
dnsbl.tqmcube.com
dnsbl.webequipped.com
dnsbl.wpbl.pc9.org
dnsbl.zapbl.net
dnsbl.zetabl.org
dnsrbl.org
dnsrbl.swinog.ch
dnswl.inps.de
dnswl.isoc.bg
dnswl.leisi.net
dob.sibl.support-intelligence.net
domain.bl.techtheft.info
drone.abuse.ch
dronebl.noderebellion.net
dsbl.dnsbl.net.au
dsn.bl.rfc-ignorant.de
dsn.rfc-clueless.org
dsn.rfc-ignorant.org
dssl.imrss.org
duinv.aupads.org
dul.blackhole.cantv.net
dul.dnsbl.borderware.com
dul.dnsbl.sorbs.net
dul.dnsbl.sorbs.netdul.ru
dul.maps.vix.com
dul.orca.bc.ca
dul.pacifier.net
dul.ru
dun.dnsrbl.net
dunk.dnsbl.tuxad.de
dyn2.dnsbl.epaxsys.net
dyn2.sbg-rbl.org
dynablock.easynet.nl
dynablock.njabl.org
dynablock.sorbs.net
dynablock.wirehub.net
dynamic.dnsbl.rangers.eu.org
dynamic.rhs.mailpolice.com
dyna.spamrats.com
dyn.dnsbl.epaxsys.net
dyndns.rbl.jp
dynip.rothen.com
dyn.nszones.com
dyn.sbg-rbl.org
dyn.shlink.org
elitist.rfc-clueless.org
endl.dnsbl.net.au
endn.bl.reynolds.net.au
endn.dnsbl.net.au
enpb.dnsbl.net.au
escalations.dnsbl.sorbs.net
eswlrev.dnsbl.rediris.es
eurospam.spamblocked.com
ex.dnsbl.org
exemptions.ahbl.org
exitnodes.tor.dnsbl.sectoor.de
exitnodes.tor.dnsbl.sectoor.dehttp.dnsbl.sorbs.net
expanded.bl.techtheft.info
feb.spamlab.com
fl.chickenboner.biz
flowgoaway.com
fnrbl.fast.net
forbidden.icm.edu.pl
formmail.relays.monkeys.com
form.rbl.kropka.net
fraud.rhs.mailpolice.com
free.v4bl.org
fresh10.spameatingmonkey.net
fresh15.spameatingmonkey.net
fresh.dict.rbl.arix.com
fresh.sa_slip.rbl.arix.com
fresh.spameatingmonkey.net
fulldom.rfc-clueless.org
generic.rwl.mailabusedatabase.com
geobl.spamanalysis.org
geobl.spameatingmonkey.net
gl.suomispam.net
good.whois.bl.techtheft.info
grey.uribl.com
hardcore.rbl.sns.ro
hartkore.dnsbl.tuxad.de
hbl.atlbl.net
helo-domain.sjesl.monkeys.com
hijacked.dnsiplists.completewhois.com
hil.habeas.com
hog.blackhole.cantv.net
hong-kong.rominet.net
hostkarma.junkemailfilter.com
hostkarma.junkemailfilter.com[brl]
httpbl.abuse.ch
http.dnsbl.sorbs.net
http.opm.blitzed.org
hul.habeas.com
iadb2.isipp.com
iadb.isipp.com
iana-classa.bogons.dnsiplists.completewhois.com
iddb.isipp.com
images.rbl.msrbl.net
impersonator.lists.spam.sux.com
in.dnsbl.org
inflow.noflow.org
inputs.orbs.org
inputs.orbz.org
inputs.relays.osirusoft.com
intercept.datapacket.net
intruders.docs.uu.se
invalidipwhois.dnsiplists.completewhois.com
ipal.ahbl.org
ipbl.mailhosts.org
ipbl.zeustracker.abuse.ch
ip.rbl.kropka.net
ips.backscatterer.org
ips.whitelisted.org
ip.v4bl.org
ipv6.all.dnsbl.bit.nl
ipv6.all.s5h.net
ipv6.blacklist.woody.ch
ipv6.rbl.choon.net
ipv6.rwl.choon.net
ipwhois.rfc-ignorant.org
ipwl.mailhosts.org
ircbl.ahbl.org
isp.bl.techtheft.info
isp.dns.nzl.net
ispmx.pofon.foobar.hu
isps.spamblocked.com
is-tor.kewlio.net.uk
ix.dnsbl.manitu.net
jms.lumbercartel.org
jp.dialup.blacklist.jippg.org
jp.surbl.org
jwrh.dnsbl.net.au
karmasphere.email-sender.dnsbl.karmasphere.com
karmasphere.email-sender.dnswl.karmasphere.com
korea.rominet.net
korea.services.net
ko.tqmcube.com
ksi.dnsbl.net.au
l1.apews.org
l1.apews.rhsbl.sorbs.net
l1.apews.rhsbl.uceprotect.net
l1-apews.tqmcube.com
l1.bbfh.ext.sorbs.net
l1.spews.dnsbl.sorbs.net
l2.apews.dnsbl.sorbs.net
l2.apews.dnsbl.uceprotect.net
l2.apews.org
l2-apews.tqmcube.com
l2.bbfh.ext.sorbs.net
l2.spews.dnsbl.sorbs.net
l3.bbfh.ext.sorbs.net
l4.bbfh.ext.sorbs.net
lacnic-main.bogons.dnsiplists.completewhois.com
lacnic.spamblocked.com
lame-av.rbl.kropka.net
lame.dnsbl.rangers.eu.org
lbl.lagengymnastik.dk
list.anonwhois.net
list.bbfh.org
list.blogspambl.com
list.dnswl.org
list.dsbl.org
list.quorum.to
lists.spam.sux.com
lookup.dnsbl.iip.lu
luckyseven.dnsbl.net
mail-abuse.blacklist.jippg.org
mailabusedatabase.com
maildeflector.net
mail.people.it
manual.orbs.org
manual.orbz.gst-group.co.uk
map.spam-rbl.com
misc.dnsbl.sorbs.net
mr-out.imrss.org
msgid.bl.gweep.ca
mtawlrev.dnsbl.rediris.es
multihop.dsbl.org
multi.surbl.org
multi.uribl.com
nana.bl.techtheft.info
netblockbl.spamgrouper.com
netblockbl.spamgrouper.to
netblock.dnsl.ipquery.org
netblock.pedantic.org
netbl.spameatingmonkey.net
netscan.rbl.blockedservers.com
new.dnsbl.sorbs.net
new.spam.dnsbl.sorbs.net
niku.2ch.net
nlwhitelist.dnsbl.bit.nl
nml.mail-abuse.org
nobl.junkemailfilter.com
nomail.rhsbl.sorbs.net
no-more-funn.moensted.dk
nonconfirm.mail-abuse.org
non-jp.dialup.blacklist.jippg.org
noptr.spamrats.com
noservers.dnsbl.sorbs.net
nospam.ant.pl
nsbl.fmb.la
ob.surbl.org
ohps.dnsbl.net.au
okrelays.nthelp.com
old.dnsbl.sorbs.net
old.spam.dnsbl.sorbs.net
omrs.dnsbl.net.au
openlist.relays.osirusoft.com
openlists.orbs.org
opm.blitzed.org
opm.tornevall.org
op.rbl.kropka.net
orbs.dorkslayers.com
orbz.gst-group.co.uk
orid.dnsbl.net.au
origin6.asn.cymru.com
origin.asn.cymru.com
origin.asn.spameatingmonkey.net
or.orbl.org
or.rbl.kropka.net
orrh.dnsbl.net.au
orvedb.aupads.org
osps.dnsbl.net.au
osrs.dnsbl.net.au
other.bl.techtheft.info
outputs.orbs.org
outputs.orbz.org
outputs.relays.osirusoft.com
owfs.dnsbl.net.au
owps.dnsbl.net.au
pacbelldsl.compu.net
Paidaccessviarsync
pbl.spamhaus.org
pdl.bl.reynolds.net.au
pdl.bofh.it
pdl.dnsbl.net.au
pdl.pan-am.ca
peer.asn.cymru.com
phishing.rbl.msrbl.net
ph.surbl.org
plus.bondedsender.org
pm0-no-more.compu.net
pofon.foobar.hu
policy.lbl.lagengymnastik.dk
pool.dnsbl.solid.net
porn.rhs.mailpolice.com
postmaster.rfc-clueless.org
postmaster.rfc-ignorant.org
ppbl.beat.st
prc.tqmcube.com
probes.dnsbl.net.au
probes.dnsbl.net.auproxy.bl.gweep.ca
problems.dnsbl.sorbs.net
proxies.blackholes.easynet.nl
proxies.blackholes.wirehub.net
proxies.dnsbl.sorbs.net
proxies.exsilia.net
proxies.mail-abuse.org
proxies.relays.monkeys.com
proxy.bl.gweep.ca
proxy.block.transip.nl
proxy.drbl.be.net.ru
proxy.relays.osirusoft.com
psbl.surriel.com
pss.spambusters.org.ar
public.sarbl.org
pub.senderdb.net
q.mail-abuse.com
query.bondedsender.org
query.senderbase.org
query.trustic.com
rabl.nuclearelephant.com
random.bl.gweep.ca
rbl2.triumf.ca
rbl.abuse.ro
rbl.apluslock.com
rbl.atlbl.net
rbl.blakjak.net
rbl.blockedservers.com
rbl.bulkfeeds.jp
rbl.cbn.net.id
rbl.choon.net
rbl.dns-servicios.com
rbl.echelon.pl
rbl.efnethelp.net
rbl.efnet.org
rbl.efnetrbl.org
rbl.eznettools.com
rbl.fasthosts.co.uk
rbl.faynticrbl.org
rbl.firstbase.com
rbl.fnidder.dk
rbl.init1.nl
rbl.interserver.net
rbl.iprange.net
rbl.ipv6wl.eu
rbl.ipv6-world.net
rbl.jp
rbl.lugh.ch
rbl.mail-abuse.org
rbl.ma.krakow.pl
rbl.maps.vix.com
rblmap.tu-berlin.de
rbl.megarbl.net
rbl.mw-internet.net
rbl.ntvinet.net
rbl-ok.uib.no
rbl.openrbl.org
rbl.orbitrbl.com
rbl.pil.dk
rbl-plus.hea.net
rbl-plus.mail-abuse.org
rbl.polarcomm.net
rbl.rbldns.ru
rbl.realtimeblacklist.com
rbl.rope.net
rbl.schulte.org
rbl.snark.net
rbl.spamlab.com
rbl.spam.org.tr
rbl.stonehenge.com
rbl.suresupport.com
rbl.talkactive.net
rbl.tdk.net
rbl.triumf.ca
rbl.uib.no
rbl.zenon.net
rddn.dnsbl.net.au
rdts.bl.reynolds.net.au
rdts.dnsbl.net.au
recent.dnsbl.sorbs.net
recent.spam.dnsbl.sorbs.net
redir.rhs.mailpolice.com
red.uribl.com
reject.the-carrot-and-the-stick.com
relay.dnsl.ipquery.org
relayips.rbl.shub-inter.net
relays.bl.gweep.ca
relays.bl.kundenserver.de
relays.dnsbl.sorbs.net
relays.dorkslayers.com
relays.mail-abuse.org
relays.nether.net
relays.nthelp.com
relays.orbs.org
relays.ordb.org
relays.osirusoft.com
relays.radparker.com
relays.sandes.dk
relays.visi.com
relaywatcher.n13mbl.com
rep.mailspike.net
reputation-domain.rbl.scrolloutf1.com
reputation-ip.rbl.scrolloutf1.com
reputation-ns.rbl.scrolloutf1.com
residential.block.transip.nl
rf.senderbase.org
rhsbl.ahbl.org
rhsbl.blackhole.cantv.net
rhsbl.mailhosts.org
rhsbl.rymsho.ru
rhsbl.scientificspam.net
rhsbl.shlink.org
rhsbl.sorbs.net
rhsbl.zapbl.net
rhswl.mailhosts.org
rhswl.shlink.org
ricn.dnsbl.net.au
ripe-main.bogons.dnsiplists.completewhois.com
r.mail-abuse.com
rmst.dnsbl.net.au
robot.bl.techtheft.info
rot.blackhole.cantv.net
rsbl.aupads.org
rwl.choon.net
sa-accredit.habeas.com
safe.dnsbl.prs.proofpoint.com
safe.dnsbl.sorbs.net
sa.fmb.la
sa.senderbase.org
satos.rbl.cluecentral.net
sbbl.they.com
sbg.sbg-rbl.org
sbl.2stepback.dk
sbl.csma.biz
sbl.nszones.com
sbl.spamhaus.org
sbl-xbl.spamhaus.org
scanning.bl.techtheft.info
schizo-bl.kundenserver.de
score.senderscore.com
sc.surbl.org
sender-address.sjesl.monkeys.com
sender-domain.sjesl.monkeys.com
sender-domain-validate.sjesl.monkeys.com
service.mailblacklist.com
service.mailwhitelist.com
short.fmb.la
shortlist.mailhosts.org
short.rbl.jp
singlebl.spamgrouper.com
single.dnsl.ipquery.org
singular.ttk.pte.hu
smtp.dnsbl.sorbs.net
sober.bl.spamtraps.org
socks.dnsbl.sorbs.net
socks.opm.blitzed.org
socks.relays.osirusoft.com
softcore.rbl.sns.ro
sohul.habeas.com
sorbs.dnsbl.net.au
source.bl.techtheft.info
spam.abuse.ch
spam.blackhole.cantv.net
spamblock.kundenserver.de
spambot.bls.digibase.ca
spam.dnsbl.anonmails.de
spam.dnsbl.rangers.eu.org
spam.dnsbl.sorbs.net
spam.dnsrbl.net
spamdomain.block.transip.nl
spamdomains.blackholes.easynet.nl
spam.exsilia.net
spamflood.drbl.drand.net
spamguard.leadmon.net
spamhaus.relays.osirusoft.com
spamips.rbl.shub-inter.net
spam.lbl.lagengymnastik.dk
spamlist.or.kr
spammers.v6net.org
spam.olsentech.net
spam.pedantic.org
spamprobe.drbl.drand.net
spam.rbl.blockedservers.com
spamrbl.imp.ch
spam.rbl.msrbl.net
spam.shri.net
spamsites.dnsbl.net.au
spamsites.relays.osirusoft.com
spamsource.block.transip.nl
spamsource-netblocks.orbs.org
spamsources.dnsbl.info
spamsources.fabel.dk
spamsources.orbs.org
spamsources.relays.osirusoft.com
spamsources.spamblocked.com
spamsources.yamta.org
spam.spamrats.com
spamsupport.dnsbl.rangers.eu.org
spam.tqmcube.com
spamtrap.drbl.drand.net
spamtrap.trblspam.com
spam.wonk.org
spam.wytnij.to
spam.zapjunk.com
spbl.bl.winbots.org
spews.block.transip.nl
spews.dnsbl.net.au
spews.relays.osirusoft.com
spider.realtimespiderlist.com
srnblack.surgate.net
srn.surgate.net
stabl.rbl.webiron.net
stale.dict.rbl.arix.com
stale.sa_slip.arix.com
st.technovision.dk
superblock.ascams.com
support.bl.techtheft.info
surbl.dnsbl.net.au
swl.spamhaus.org
t1.dnsbl.net.au
t2.dnsbl.net.au
t3direct.dnsbl.net.au
t3.dnsbl.net.au
taiwan.rominet.net
test.blocklist.org
tor.ahbl.org
tor.dan.me.uk
tor.dnsbl.sectoor.de
tor.efnet.org
torexit.dan.me.uk
torserver.tor.dnsbl.sectoor.de
truncate.gbudb.net
trusted.nether.net
trust.trustmymail.org
ubl.lashback.com
ubl.nszones.com
ubl.unsubscore.com
ucepn.dnsbl.net.au
unconfirmed.dsbl.org
unsure.nether.net
untestable-netblocks.orbs.org
uribl.abuse.ro
uri.blacklist.woody.ch
uri-bl.blbl.org
uribl.pofon.foobar.hu
uribl.spameatingmonkey.net
uribl.swinog.ch
uribl.zeustracker.abuse.ch
urired.spameatingmonkey.net
url.rbl.jp
v4.fullbogons.cymru.com
v6.fullbogons.cymru.com
vbl.messagelabs.com
vbl.mookystick.com
virbl.bit.nl
virbl.dnsbl.bit.nl
virus.bl.techtheft.info
virus.rbl.jp
virus.rbl.msrbl.net
vote1.drbl.ks.cz
vote.drbl.be.net.ru
vote.drbl.caravan.ru
vote.drbl.croco.net
vote.drbl.dataforce.net
vote.drbldf.dsbl.ru
vote.drbl.drand.net
vote.drbl.gremlin.ru
vote.drbl.host.kz
vote.drbl.sandy.ru
vote.rbl.ntvinet.net
vouch.dwl.spamhaus.org
vox.schpider.com
wadb.isipp.com
watchlist.bl.techtheft.info
wbl.triumf.ca
wdl.bl.reynolds.net.au
web.bl.techtheft.info
web.dnsbl.sorbs.net
webmail.rhs.mailpolice.com
web.rbl.msrbl.net
white.dnsbl.securityplanet.nl
whitelist.bl.techtheft.info
whitelist.lumbercartel.org
whitelist.rbl.ispa.at
whitelist.sci.kun.nl
whitelist.sci.ru.nl
whitelist.spamblocked.com
whitelist.surriel.com
whitelist.techtheft.info
white.uribl.com
whois.bl.techtheft.info
whois.rfc-clueless.org
whois.rfc-ignorant.org
will-spam-for-food.eu.org
wingate.opm.blitzed.org
wl.mailspike.net
wl.nszones.com
wl.shlink.org
wl.summersault.com
wl.trusted-forwarder.org
work.drbl.caravan.ru
work.drbl.croco.net
work.drbl.dataforce.net
work.drbldf.dsbl.ru
work.drbl.drand.net
work.drbl.gremlin.ru
work.drbl.host.kz
work.drbl.ks.cz
work.drbl.sandy.ru
world.tqmcube.com
worm.dnsbl.rangers.eu.org
wormrbl.imp.ch
worms-bl.kundenserver.de
wpb.bl.reynolds.net.au
wpbl.dnsbl.net.au
ws.surbl.org
xbl.selwerd.cx
xbl.spamhaus.org
xpews.mailhosts.org
xs.surbl.org
ybl.megacity.org
zebl.zoneedit.com
zen.spamhaus.org
z.mailspike.net
zombie.dnsbl.sorbs.net
zta.birdsong.org
ztl.dorkslayers.com
zz.countries.nerd.dk
"
### initiate script ###
main $1