Skip to content

Commit 61a875d

Browse files
committed
Remove Dead/Duplicated/Outdated Hosts
1 parent 65648be commit 61a875d

File tree

5 files changed

+9
-34
lines changed

5 files changed

+9
-34
lines changed

Build/lib/is-domain-alive.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@ const dnsServers = [
4747
// 'https://unfiltered.joindns4.eu/dns-query', // too many ECONNRESET on GitHub Actions
4848
'h2://public.dns.iij.jp/dns-query',
4949
// 'https://common.dot.dns.yandex.net/dns-query', // too many ECONNRESET on GitHub Actions
50-
'h2://safeservedns.com/dns-query', // NameCheap DNS, supports DoT, DoH, UDP53
50+
'h2://safeservedns.com/dns-query' // NameCheap DNS, supports DoT, DoH, UDP53
5151
// 'https://ada.openbld.net/dns-query', Contains filtering
52-
'h2://dns.rabbitdns.org/dns-query'
52+
// 'h2://dns.rabbitdns.org/dns-query' -- TO MANY HTTP 522
5353
];
5454

5555
const resultCache = new Map();

Build/tools-dedupe-src.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const ENFORCED_WHITELIST = [
2525
'img.vim-cn.com'
2626
];
2727

28-
const WHITELIST: string[] = ['ntp.api.bz', 'httpdns.bilivideo.com', 'httpdns.platform.dbankcloud.cn', 'dns.iqiyi.com', 'dns.qiyipic.iqiyi.com', 'img.vim-cn.com', 'chat-content.beanfun.com', 'archive.mirror.ba', 'ctan.imsc.res.in', 'gnu.freemirror.org', 'probe.whatismyipaddress.com', 'sdkrec.tf.360.cn', 'iadmatapk.nosdn.127.net', 'gamecenter.iqiyi.com', 'tracking.klickthru.com', 'm.shilian168.cn', 'm.zdjgj.cn', 'gcpool.ddns.net', 'radpool.ddns.net', 's9.maxstream.org', 's10.maxstream.org', 's11.maxstream.org', 'statics.erothots.co', 'mcdn.tubi.tv'];
28+
const DEDUPE_LIST: string[] = ['ntp.api.bz', 'httpdns.bilivideo.com', 'httpdns.platform.dbankcloud.cn', 'dns.iqiyi.com', 'dns.qiyipic.iqiyi.com', 'img.vim-cn.com', 'cdn.commento.io', 'cdn.glitch.com', 'cdn.glitch.global', 'content.product.glitch.com', 'mirror.as24220.net', 'mirrors.switch.ca', 'ubuntu.pishgaman.net', 'mirror.famaserver.com', 'ubuntu-mirror.kimiahost.com', 'mirror.aminidc.com', 'mirror.ucu.ac.ug', 'mirror.0-1.cloud', 'ctan.um.ac.ir', 'ctan.yazd.ac.ir', 'report.huatuo.qq.com', 'repo.iut.ac.ir', 'ad.api.youshiad.cn', 'm.j5s9b.cn', 'ee.j5s9b.cn', 'e.duomeng.org', 'cdn.onlyhentaistuff.com', 'gt1.onlyhentaistuff.com', 'cm1.aminoapps.com', 'iadmatapk.nosdn.127.net'];
2929

3030
task(require.main === module, __filename)(async (span) => {
3131
const files = await span.traceChildAsync('crawl thru all files', () => new Fdir()
@@ -41,7 +41,7 @@ task(require.main === module, __filename)(async (span) => {
4141
.withPromise());
4242

4343
const whiteTrie = span.traceChildSync('build whitelist trie', () => {
44-
const trie = new HostnameSmolTrie(WHITELIST);
44+
const trie = new HostnameSmolTrie(DEDUPE_LIST);
4545
ENFORCED_WHITELIST.forEach((item) => trie.whitelist(item));
4646
return trie;
4747
});

Source/domainset/cdn.conf

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -632,6 +632,7 @@ content.jwplatform.com
632632
.jwpcdn.com
633633
.jwpsrv.com
634634
.thecontentserver.com
635+
img.connatix.com
635636
cds.connatix.com
636637

637638
# >> Video CDN
@@ -1106,7 +1107,6 @@ i-cdn.embed.ly
11061107
cdn.tolt.io
11071108
# cdn.sellix.io # seized by FBI
11081109
assets.calendly.com
1109-
cdn.commento.io
11101110
js.hsforms.net
11111111
js-eu1.hsforms.net
11121112
js.hscollectedforms.net
@@ -1464,9 +1464,6 @@ code.piano.io
14641464
experience-ap.piano.io
14651465
cdn.tinypass.com
14661466

1467-
cds.connatix.com
1468-
img.connatix.com
1469-
14701467
cdn.channel.io
14711468
cf.channel.io
14721469

@@ -2038,12 +2035,6 @@ wikiwandv2-19431.kxcdn.com
20382035
# >> DeepL
20392036
static.deepl.com
20402037

2041-
# >> Glitch
2042-
cdn.glitch.me
2043-
cdn.glitch.com
2044-
cdn.glitch.global
2045-
content.product.glitch.com
2046-
20472038
# >> PayPal
20482039
pics.paypal.com
20492040
.paypalobjects.com
@@ -4046,9 +4037,8 @@ images.youracclaim.com
40464037
cdn.contentful.com
40474038
cdn.eu.contentful.com
40484039
assets.shazam.com
4049-
gt1.onlyhentaistuff.com
40504040
fs2.onlyhentaistuff.com
4051-
cdn.onlyhentaistuff.com
4041+
ca1.onlyhentaistuff.com
40524042
cdn.worldvectorlogo.com
40534043
i.gzn.jp
40544044
cdn.hypershort.com
@@ -5042,7 +5032,6 @@ ah-cdn.merge.dev
50425032
static.zerochan.net
50435033
s1.zerochan.net
50445034
www.acgpix.de
5045-
cm1.aminoapps.com
50465035
pa1.aninoapps.com
50475036
pm1.aninoapps.com
50485037
wa1.aninoapps.com

Source/domainset/download.conf

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -746,7 +746,6 @@ kebo.pens.ac.id
746746
mirror.unair.ac.id
747747
mr.heru.id
748748
.debian.petiak.ir
749-
mirror.aminidc.com
750749
mirror.iranserver.com
751750
mirrors.pardisco.co
752751
debian.interhost.co.il
@@ -935,7 +934,6 @@ mirror.aarnet.edu.au
935934
mirror.internet.asn.au
936935
mirror.datamossa.io
937936
ftp.iinet.net.au
938-
mirror.as24220.net
939937
mirror.internode.on.net
940938
mirror.netspace.net.au
941939
mirror.solnode.io
@@ -1074,21 +1072,16 @@ repo.usk.ac.id
10741072
suro.ubaya.ac.id
10751073
.mirrors.zagrio.net
10761074
mirror.kernel.ir
1077-
ubuntu-mirror.kimiahost.com
10781075
ubuntu.mobinhost.com
1079-
ubuntu.pishgaman.net
10801076
ir.ubuntu.sindad.cloud
1081-
mirror.0-1.cloud
10821077
mirror.arvancloud.ir
10831078
.ubuntu.petiak.ir
10841079
repo.linuxmirrors.ir
10851080
ubuntu.pars.host
10861081
ubuntu.parsvds.com
10871082
.mirror.homacloud.ai
1088-
mirror.famaserver.com
10891083
mirror.faraso.org
10901084
mirrors.ubuntu.dimit.cloud
1091-
repo.iut.ac.ir
10921085
mirror.linkdata.com
10931086
mirror.webworld.ie
10941087
mirror.il-ha.kamatera.com
@@ -1500,7 +1493,6 @@ mirror.koddos.net
15001493
mirror-hk.koddos.net
15011494
mirrors.ucr.ac.cr
15021495
ftp.cpan.org
1503-
mirror.ucu.ac.ug
15041496
.mirror.ac.za
15051497
ftp.saix.net
15061498
cpan.saix.net
@@ -1570,8 +1562,6 @@ ftp.sun.ac.za
15701562
ftp.leg.uct.ac.za
15711563
mirror.unpad.ac.id
15721564
ctan.net
1573-
ctan.yazd.ac.ir
1574-
ctan.um.ac.ir
15751565
ftp.u-aizu.ac.jp
15761566
ftp.harukasan.org
15771567
ftp.ktug.org
@@ -1699,7 +1689,6 @@ mirror.datapacket.com
16991689
eu.edge.kernel.org
17001690
mirror.ethz.ch
17011691
mirror.steadfast.net
1702-
mirrors.switch.ca
17031692
mirror.dimensiondata.com
17041693
# F-Droid mirrors
17051694
f-droid.org

Source/domainset/reject.conf

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2163,8 +2163,8 @@ union.gdtimg.com
21632163
# v.gdt.qq.com
21642164
# v2.gdt.qq.com
21652165
# win.gdt.qq.com
2166-
report.huatuo.qq.com
21672166
pgdt.gtimg.cn
2167+
cmshow.gtimg.cn
21682168
report.idqqimg.com
21692169
galileotelemetry.tencent.com
21702170
pingma.qq.com
@@ -3214,7 +3214,6 @@ drd.hauchi.com.tw
32143214
ads.ttv.com.tw
32153215
ad.obuy.tw
32163216
ad.jamster.co.uk
3217-
e.duomeng.org
32183217
umdc.aliapp.org
32193218
ad.netowl.jp
32203219
coconuts.boy.jp
@@ -3314,7 +3313,7 @@ ad.thsi.cn
33143313
s.snmi.cn
33153314
api.snmi.cn
33163315
adlaunch.qtfm.cn
3317-
ad.api.youshiad.cn
3316+
.youshiad.cn
33183317
.appsad.cn
33193318
iflyad.bj.openstorage.cn
33203319
adpai.thepaper.cn
@@ -3323,9 +3322,7 @@ dig.zjurl.cn
33233322
.meipian7.cn
33243323
80vn.cn
33253324
.89kvh.cn
3326-
m.j5s9b.cn
3327-
ee.j5s9b.cn
3328-
cmshow.gtimg.cn
3325+
.j5s9b.cn
33293326
dsa-mfp.fengshows.cn
33303327
.sigmob.cn
33313328

0 commit comments

Comments
 (0)