add custom hosts to block
Some checks failed
Build ISO / build (push) Waiting to run
Build and cache hosts configurations / build (push) Has been cancelled
Some checks failed
Build ISO / build (push) Waiting to run
Build and cache hosts configurations / build (push) Has been cancelled
This commit is contained in:
parent
08e4bce41e
commit
8615929e23
@ -135,6 +135,7 @@ in {
|
||||
"https://raw.githubusercontent.com/crazy-max/WindowsSpyBlocker/master/data/hosts/spy.txt"
|
||||
"https://github.com/RPiList/specials/raw/master/Blocklisten/MS-Office-Telemetry"
|
||||
"https://github.com/RPiList/specials/raw/master/Blocklisten/Win10Telemetry"
|
||||
../../../misc/telemetry.hosts
|
||||
];
|
||||
};
|
||||
clientGroupsBlock.default = [ "ads" "telemetry" ];
|
||||
|
28
misc/telemetry.hosts
Normal file
28
misc/telemetry.hosts
Normal file
@ -0,0 +1,28 @@
|
||||
overseauspider.yuanshen.com
|
||||
overseauspider.yuanshen.com
|
||||
log-upload-os.hoyoverse.com
|
||||
log-upload-os.hoyoverse.com
|
||||
log-upload-os.mihoyo.com
|
||||
log-upload-os.mihoyo.com
|
||||
dump.gamesafe.qq.com
|
||||
dump.gamesafe.qq.com
|
||||
log-upload.mihoyo.com
|
||||
log-upload.mihoyo.com
|
||||
devlog-upload.mihoyo.com
|
||||
devlog-upload.mihoyo.com
|
||||
uspider.yuanshen.com
|
||||
uspider.yuanshen.com
|
||||
sg-public-data-api.hoyoverse.com
|
||||
sg-public-data-api.hoyoverse.com
|
||||
public-data-api.mihoyo.com
|
||||
public-data-api.mihoyo.com
|
||||
prd-lender.cdp.internal.unity3d.com
|
||||
prd-lender.cdp.internal.unity3d.com
|
||||
thind-prd-knob.data.ie.unity3d.com
|
||||
thind-prd-knob.data.ie.unity3d.com
|
||||
thind-gke-usc.prd.data.corp.unity3d.com
|
||||
thind-gke-usc.prd.data.corp.unity3d.com
|
||||
cdp.cloud.unity3d.com
|
||||
cdp.cloud.unity3d.com
|
||||
remote-config-proxy-prd.uca.cloud.unity3d.com
|
||||
remote-config-proxy-prd.uca.cloud.unity3d.com
|
@ -74,6 +74,18 @@ in {
|
||||
settings = {
|
||||
upstream.default = [ upstream-dns ];
|
||||
upstreamTimeout = "10s";
|
||||
blocking = {
|
||||
blackLists.telemetry = [ ../../misc/telemetry.hosts ];
|
||||
clientGroupsBlock.default = [ "telemetry" ];
|
||||
};
|
||||
conditional = {
|
||||
fallbackUpstream = true;
|
||||
mapping = {
|
||||
"ataraxiadev.com" = "127.0.0.1:5353";
|
||||
};
|
||||
};
|
||||
# drop ipv6 requests
|
||||
filtering.queryTypes = [ "AAAA" ];
|
||||
caching = {
|
||||
minTime = "0m";
|
||||
maxTime = "12h";
|
||||
@ -86,12 +98,6 @@ in {
|
||||
};
|
||||
prometheus.enable = true;
|
||||
queryLog.type = "console";
|
||||
conditional = {
|
||||
fallbackUpstream = true;
|
||||
mapping = {
|
||||
"ataraxiadev.com" = "127.0.0.1:5353";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
services.prometheus = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user