mirror of
https://github.com/v2fly/domain-list-community.git
synced 2026-03-03 02:00:43 +07:00
Compare commits
17 Commits
2026022408
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
deb950bb2b | ||
|
|
be2ec83092 | ||
|
|
6b16be4020 | ||
|
|
42aafe324e | ||
|
|
882f48e486 | ||
|
|
614b291120 | ||
|
|
2b3211df98 | ||
|
|
71e31ba221 | ||
|
|
b11bfaa138 | ||
|
|
afb9e6cad0 | ||
|
|
5f7c4aa60a | ||
|
|
48eb616779 | ||
|
|
d57e3b3f45 | ||
|
|
c308e3430d | ||
|
|
9a46bff5f3 | ||
|
|
051556734c | ||
|
|
8829b0ea28 |
2
.github/workflows/test-pr.yml
vendored
2
.github/workflows/test-pr.yml
vendored
@@ -34,7 +34,7 @@ jobs:
|
|||||||
mv dlc.dat TEST-${{ github.run_number }}-dlc.dat
|
mv dlc.dat TEST-${{ github.run_number }}-dlc.dat
|
||||||
|
|
||||||
- name: Upload TEST-${{ github.run_number }}-dlc.dat
|
- name: Upload TEST-${{ github.run_number }}-dlc.dat
|
||||||
uses: actions/upload-artifact@v6
|
uses: actions/upload-artifact@v7
|
||||||
with:
|
with:
|
||||||
name: TEST-${{ github.run_number }}-dlc.dat
|
name: TEST-${{ github.run_number }}-dlc.dat
|
||||||
path: TEST-${{ github.run_number }}-dlc.dat
|
path: TEST-${{ github.run_number }}-dlc.dat
|
||||||
|
|||||||
13
data/amazon
13
data/amazon
@@ -33,6 +33,7 @@ aboutamazon.in
|
|||||||
aboutamazon.it
|
aboutamazon.it
|
||||||
aboutamazon.jp
|
aboutamazon.jp
|
||||||
aboutamazon.pl
|
aboutamazon.pl
|
||||||
|
aboutamazon.sg
|
||||||
alexafund.cn @cn
|
alexafund.cn @cn
|
||||||
alexafund.com.cn @cn
|
alexafund.com.cn @cn
|
||||||
amaaozn.com
|
amaaozn.com
|
||||||
@@ -42,24 +43,35 @@ amazon-lantern.com
|
|||||||
amazon-launchpad.com
|
amazon-launchpad.com
|
||||||
amazon.ae
|
amazon.ae
|
||||||
amazon.ca
|
amazon.ca
|
||||||
|
amazon.cl
|
||||||
amazon.cn @cn
|
amazon.cn @cn
|
||||||
amazon.co.jp
|
amazon.co.jp
|
||||||
amazon.co.uk
|
amazon.co.uk
|
||||||
|
amazon.co.za
|
||||||
amazon.com
|
amazon.com
|
||||||
amazon.com.au
|
amazon.com.au
|
||||||
|
amazon.com.be
|
||||||
amazon.com.br
|
amazon.com.br
|
||||||
|
amazon.com.co
|
||||||
amazon.com.mx
|
amazon.com.mx
|
||||||
|
amazon.com.ng
|
||||||
amazon.com.tr
|
amazon.com.tr
|
||||||
amazon.de
|
amazon.de
|
||||||
amazon.dev
|
amazon.dev
|
||||||
|
amazon.eg
|
||||||
amazon.es
|
amazon.es
|
||||||
amazon.fr
|
amazon.fr
|
||||||
|
amazon.ie
|
||||||
amazon.in
|
amazon.in
|
||||||
amazon.it
|
amazon.it
|
||||||
amazon.jobs
|
amazon.jobs
|
||||||
amazon.jp
|
amazon.jp
|
||||||
|
amazon.lu
|
||||||
amazon.nl
|
amazon.nl
|
||||||
|
amazon.pl
|
||||||
amazon.red
|
amazon.red
|
||||||
|
amazon.sa
|
||||||
|
amazon.se
|
||||||
amazon.sg
|
amazon.sg
|
||||||
amazonalexavoxcon.com
|
amazonalexavoxcon.com
|
||||||
amazonauthorinsights.com
|
amazonauthorinsights.com
|
||||||
@@ -103,6 +115,7 @@ media-amazon.com
|
|||||||
primeday.cn @cn
|
primeday.cn @cn
|
||||||
primeday.com.cn @cn
|
primeday.com.cn @cn
|
||||||
primeday.info
|
primeday.info
|
||||||
|
seattlespheres.com
|
||||||
siege-amazon.com
|
siege-amazon.com
|
||||||
ssl-images-amazon.com
|
ssl-images-amazon.com
|
||||||
ueberamazon.de
|
ueberamazon.de
|
||||||
|
|||||||
@@ -752,6 +752,7 @@ courier-push-apple.com.akadns.net
|
|||||||
full:amp-api-edge-lb-cn.itunes-apple.com.akadns.net @cn
|
full:amp-api-edge-lb-cn.itunes-apple.com.akadns.net @cn
|
||||||
full:amp-api-edge-lb.itunes-apple.com.akadns.net @cn
|
full:amp-api-edge-lb.itunes-apple.com.akadns.net @cn
|
||||||
full:amp-api-edge.apps.apple.com @cn
|
full:amp-api-edge.apps.apple.com @cn
|
||||||
|
full:amp-api-edge.music.apple.com @cn
|
||||||
full:amp-api-search-edge.apps.apple.com @cn
|
full:amp-api-search-edge.apps.apple.com @cn
|
||||||
full:amp-api.apps.apple.com @cn
|
full:amp-api.apps.apple.com @cn
|
||||||
full:amp-api.music.apple.com @cn
|
full:amp-api.music.apple.com @cn
|
||||||
@@ -782,6 +783,8 @@ full:js-cdn.music.apple.com @cn
|
|||||||
full:km.support.apple.com @cn
|
full:km.support.apple.com @cn
|
||||||
full:maps.apple.com @cn
|
full:maps.apple.com @cn
|
||||||
full:misc-assets.itunes.apple.com @cn
|
full:misc-assets.itunes.apple.com @cn
|
||||||
|
full:musicstatus.music.apple.com @cn
|
||||||
|
full:mvod.itunes.apple.com @cn
|
||||||
full:myapp.itunes.apple.com @cn
|
full:myapp.itunes.apple.com @cn
|
||||||
full:np-edge.itunes.apple.com @cn
|
full:np-edge.itunes.apple.com @cn
|
||||||
full:osxapps.itunes.apple.com @cn
|
full:osxapps.itunes.apple.com @cn
|
||||||
@@ -794,6 +797,7 @@ full:se2.itunes.apple.com @cn
|
|||||||
full:search.itunes.apple.com @cn
|
full:search.itunes.apple.com @cn
|
||||||
full:sf-api-token-service.itunes.apple.com @cn
|
full:sf-api-token-service.itunes.apple.com @cn
|
||||||
full:sp.itunes.apple.com @cn
|
full:sp.itunes.apple.com @cn
|
||||||
|
full:speedysub.music.apple.com @cn
|
||||||
full:streamingaudio.itunes.apple.com @cn
|
full:streamingaudio.itunes.apple.com @cn
|
||||||
full:su.itunes.apple.com @cn
|
full:su.itunes.apple.com @cn
|
||||||
full:sync.itunes.apple.com @cn
|
full:sync.itunes.apple.com @cn
|
||||||
|
|||||||
1
data/aws
1
data/aws
@@ -40,6 +40,7 @@ awssecworkshops.com
|
|||||||
awsstatic.com
|
awsstatic.com
|
||||||
awsthinkbox.com
|
awsthinkbox.com
|
||||||
awstrack.me
|
awstrack.me
|
||||||
|
awswaf.com
|
||||||
cdkworkshop.com
|
cdkworkshop.com
|
||||||
cloudfront.com
|
cloudfront.com
|
||||||
cloudfront.net
|
cloudfront.net
|
||||||
|
|||||||
@@ -123,6 +123,7 @@ notepad-plus-plus.org
|
|||||||
openresty.org
|
openresty.org
|
||||||
openssl.org
|
openssl.org
|
||||||
opensuse.org
|
opensuse.org
|
||||||
|
packagecloud.io
|
||||||
packagist.org
|
packagist.org
|
||||||
pcre.org
|
pcre.org
|
||||||
phantomjs.org
|
phantomjs.org
|
||||||
|
|||||||
@@ -18,8 +18,10 @@ cbr.ru # Central Bank of Russia
|
|||||||
cikrf.ru # Central Electoral Commission of the Russian Federation
|
cikrf.ru # Central Electoral Commission of the Russian Federation
|
||||||
ebs.ru # Unified Biometric System
|
ebs.ru # Unified Biometric System
|
||||||
goskey.ru # GosKey - an electronic signature on a smartphone
|
goskey.ru # GosKey - an electronic signature on a smartphone
|
||||||
|
grfc.ru # General radio frequency center
|
||||||
izbirkom.ru # Information on ongoing elections and referendums
|
izbirkom.ru # Information on ongoing elections and referendums
|
||||||
kremlin.ru # Online representation of the President of Russia
|
kremlin.ru # Online representation of the President of Russia
|
||||||
|
mil.ru # Ministry of Defense of the Russian Federation
|
||||||
nalog.ru # Federal Tax Service
|
nalog.ru # Federal Tax Service
|
||||||
xn--80ajghhoc2aj1c8b.xn--p1ai # Honest Sign - State Labeling System
|
xn--80ajghhoc2aj1c8b.xn--p1ai # Honest Sign - State Labeling System
|
||||||
|
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
2ip.ua
|
2ip.ua
|
||||||
abstractapi.com
|
abstractapi.com
|
||||||
bigdatacloud.net
|
bigdatacloud.net
|
||||||
|
check-host.net
|
||||||
db-ip.com
|
db-ip.com
|
||||||
extreme-ip-lookup.com
|
extreme-ip-lookup.com
|
||||||
fraudguard.io
|
fraudguard.io
|
||||||
|
|||||||
@@ -2700,6 +2700,7 @@ jav.guru
|
|||||||
jav.la
|
jav.la
|
||||||
jav.land
|
jav.land
|
||||||
jav.place
|
jav.place
|
||||||
|
jav.sb
|
||||||
jav.si
|
jav.si
|
||||||
jav.wine
|
jav.wine
|
||||||
jav01.cc
|
jav01.cc
|
||||||
@@ -2762,6 +2763,7 @@ javhdporn.net
|
|||||||
javher.com
|
javher.com
|
||||||
javheroine.com
|
javheroine.com
|
||||||
javhihi.com
|
javhihi.com
|
||||||
|
javhub.com
|
||||||
javhub.me
|
javhub.me
|
||||||
javhub.net
|
javhub.net
|
||||||
javidol.org
|
javidol.org
|
||||||
@@ -2795,6 +2797,7 @@ javprime.net
|
|||||||
javpub.me
|
javpub.me
|
||||||
javpush.com
|
javpush.com
|
||||||
javqd.com
|
javqd.com
|
||||||
|
javquick.com
|
||||||
javrank.com
|
javrank.com
|
||||||
javrate.com
|
javrate.com
|
||||||
javrave.club
|
javrave.club
|
||||||
|
|||||||
@@ -6,9 +6,19 @@ include:instagram
|
|||||||
include:linkedin
|
include:linkedin
|
||||||
include:mailru
|
include:mailru
|
||||||
include:misskey
|
include:misskey
|
||||||
|
include:mixi
|
||||||
include:ok
|
include:ok
|
||||||
include:threads
|
include:threads
|
||||||
include:twitter
|
include:twitter
|
||||||
include:vk
|
include:vk
|
||||||
|
|
||||||
truthsocial.com
|
truthsocial.com
|
||||||
|
|
||||||
|
# Mastodon
|
||||||
|
# * We can not make a comprehensive domain list of all Mastodon instances.
|
||||||
|
# * Many more dynamic/random instance domains are not listed here.
|
||||||
|
# * geosite:mastodon is not provided to avoid creating excessive expectations among users.
|
||||||
|
joinmastodon.org
|
||||||
|
mastodon.online
|
||||||
|
mastodon.social
|
||||||
|
pawoo.net
|
||||||
|
|||||||
@@ -180,6 +180,10 @@ wuyou.net # 无忧启动论坛
|
|||||||
x-station.cn # X电站
|
x-station.cn # X电站
|
||||||
znds.com # 智能电视网
|
znds.com # 智能电视网
|
||||||
|
|
||||||
|
# DCC Forum(心跳文学部中文论坛)
|
||||||
|
edgemonix.top # 图床
|
||||||
|
monika.love
|
||||||
|
|
||||||
423down.com # 423Down
|
423down.com # 423Down
|
||||||
acwifi.net # 路由器技术分享
|
acwifi.net # 路由器技术分享
|
||||||
appinn.com # 小众软件
|
appinn.com # 小众软件
|
||||||
|
|||||||
@@ -2,4 +2,5 @@ perplexity.ai
|
|||||||
perplexity.com
|
perplexity.com
|
||||||
pplx.ai
|
pplx.ai
|
||||||
|
|
||||||
|
full:ppl-ai-file-upload.s3.amazonaws.com
|
||||||
full:pplx-res.cloudinary.com
|
full:pplx-res.cloudinary.com
|
||||||
|
|||||||
@@ -22,7 +22,6 @@ internal
|
|||||||
|
|
||||||
# References: https://www.iana.org/assignments/locally-served-dns-zones/locally-served-dns-zones.xhtml
|
# References: https://www.iana.org/assignments/locally-served-dns-zones/locally-served-dns-zones.xhtml
|
||||||
# https://www.rfc-editor.org/rfc/rfc6303.html
|
# https://www.rfc-editor.org/rfc/rfc6303.html
|
||||||
0.in-addr.arpa
|
|
||||||
2.0.192.in-addr.arpa
|
2.0.192.in-addr.arpa
|
||||||
10.in-addr.arpa
|
10.in-addr.arpa
|
||||||
16.172.in-addr.arpa
|
16.172.in-addr.arpa
|
||||||
@@ -47,7 +46,6 @@ internal
|
|||||||
168.192.in-addr.arpa
|
168.192.in-addr.arpa
|
||||||
254.169.in-addr.arpa
|
254.169.in-addr.arpa
|
||||||
255.255.255.255.in-addr.arpa
|
255.255.255.255.in-addr.arpa
|
||||||
0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa
|
|
||||||
1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa
|
1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa
|
||||||
8.b.d.0.1.0.0.2.ip6.arpa
|
8.b.d.0.1.0.0.2.ip6.arpa
|
||||||
8.e.f.ip6.arpa
|
8.e.f.ip6.arpa
|
||||||
|
|||||||
@@ -19,13 +19,14 @@ th.weibo.com @!cn
|
|||||||
tw.weibo.com @!cn
|
tw.weibo.com @!cn
|
||||||
us.weibo.com @!cn
|
us.weibo.com @!cn
|
||||||
videoself.cn
|
videoself.cn
|
||||||
wbimg.com
|
|
||||||
wbimg.cn
|
wbimg.cn
|
||||||
|
wbimg.com
|
||||||
wcdn.cn
|
wcdn.cn
|
||||||
weibo.cn
|
weibo.cn
|
||||||
weibo.com
|
weibo.com
|
||||||
weibo.com.cn
|
weibo.com.cn
|
||||||
weibocdn.com
|
weibocdn.com
|
||||||
|
weibopay.com
|
||||||
xhaiwai.com
|
xhaiwai.com
|
||||||
|
|
||||||
# Ads/tracking
|
# Ads/tracking
|
||||||
|
|||||||
@@ -53,6 +53,7 @@ yandexadexchange.net
|
|||||||
yandexcloud.net
|
yandexcloud.net
|
||||||
yandexcom.net
|
yandexcom.net
|
||||||
yandexmetrica.com
|
yandexmetrica.com
|
||||||
|
yandexwebcache.net
|
||||||
yandexwebcache.org
|
yandexwebcache.org
|
||||||
yastat.net
|
yastat.net
|
||||||
yastatic-net.ru
|
yastatic-net.ru
|
||||||
|
|||||||
13
main.go
13
main.go
@@ -263,9 +263,6 @@ func (p *Processor) loadData(listName string, path string) error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func isMatchAttrFilters(entry *Entry, incFilter *Inclusion) bool {
|
func isMatchAttrFilters(entry *Entry, incFilter *Inclusion) bool {
|
||||||
if len(incFilter.MustAttrs) == 0 && len(incFilter.BanAttrs) == 0 {
|
|
||||||
return true
|
|
||||||
}
|
|
||||||
if len(entry.Attrs) == 0 {
|
if len(entry.Attrs) == 0 {
|
||||||
return len(incFilter.MustAttrs) == 0
|
return len(incFilter.MustAttrs) == 0
|
||||||
}
|
}
|
||||||
@@ -352,15 +349,13 @@ func (p *Processor) resolveList(plname string) error {
|
|||||||
for _, dentry := range pl.Entries { // Add direct entries
|
for _, dentry := range pl.Entries { // Add direct entries
|
||||||
roughMap[dentry.Plain] = dentry
|
roughMap[dentry.Plain] = dentry
|
||||||
}
|
}
|
||||||
for _, inc := range pl.Inclusions {
|
for _, inc := range pl.Inclusions { // Add included entries
|
||||||
if _, exist := p.plMap[inc.Source]; !exist {
|
|
||||||
return fmt.Errorf("list %q includes a non-existent list: %q", plname, inc.Source)
|
|
||||||
}
|
|
||||||
if err := p.resolveList(inc.Source); err != nil {
|
if err := p.resolveList(inc.Source); err != nil {
|
||||||
return err
|
return fmt.Errorf("failed to resolve inclusion %q: %w", inc.Source, err)
|
||||||
}
|
}
|
||||||
|
isFullInc := len(inc.MustAttrs) == 0 && len(inc.BanAttrs) == 0
|
||||||
for _, ientry := range p.finalMap[inc.Source] {
|
for _, ientry := range p.finalMap[inc.Source] {
|
||||||
if isMatchAttrFilters(ientry, inc) { // Add included entries
|
if isFullInc || isMatchAttrFilters(ientry, inc) {
|
||||||
roughMap[ientry.Plain] = ientry
|
roughMap[ientry.Plain] = ientry
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user