mirror of
https://gitea.tendokyu.moe/Dniel97/segatools.git
synced 2024-12-03 17:07:16 +01:00
Merge pull request 'dns: added CHN DNS block' (#17) from zaphkito/segatools:develop into develop
Reviewed-on: https://gitea.tendokyu.moe/Dniel97/segatools/pulls/17
This commit is contained in:
commit
7aa996193c
@ -109,6 +109,21 @@ HRESULT dns_platform_hook_init(const struct dns_config *cfg)
|
|||||||
return hr;
|
return hr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// CHN
|
||||||
|
// PowerOn
|
||||||
|
hr = dns_hook_push(L"at.sys-all.cn", cfg->startup);
|
||||||
|
|
||||||
|
if (FAILED(hr)) {
|
||||||
|
return hr;
|
||||||
|
}
|
||||||
|
|
||||||
|
// WeChat AimeDB Server
|
||||||
|
hr = dns_hook_push(L"ai.sys-all.cn", cfg->aimedb);
|
||||||
|
|
||||||
|
if (FAILED(hr)) {
|
||||||
|
return hr;
|
||||||
|
}
|
||||||
|
|
||||||
// if your ISP resolves bad domains, it will kill the network. These 2
|
// if your ISP resolves bad domains, it will kill the network. These 2
|
||||||
// *cannot* resolve
|
// *cannot* resolve
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user