Merge pull request 'dns: added CHN DNS block' (#17) from zaphkito/segatools:develop into develop

Reviewed-on: Dniel97/segatools#17
This commit is contained in:
Dniel97 2024-05-20 19:59:37 +00:00
commit 7aa996193c

View File

@ -109,6 +109,21 @@ HRESULT dns_platform_hook_init(const struct dns_config *cfg)
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
// *cannot* resolve