1
0
mirror of https://gitea.tendokyu.moe/Dniel97/segatools.git synced 2024-11-24 05:20:10 +01:00

dns: add new WAHLAP url blocked (#49)

Reviewed-on: https://gitea.tendokyu.moe/Dniel97/segatools/pulls/49
Co-authored-by: zaphkito <zaphkito@noreply.gitea.tendokyu.moe>
Co-committed-by: zaphkito <zaphkito@noreply.gitea.tendokyu.moe>
This commit is contained in:
zaphkito 2024-11-10 20:47:40 +00:00 committed by Dniel97
parent e50d6d8ebc
commit 83840e0a87

View File

@ -116,6 +116,12 @@ HRESULT dns_platform_hook_init(const struct dns_config *cfg)
return hr;
}
hr = dns_hook_push(L"at.sys-allnet.cn", cfg->startup);
if (FAILED(hr)) {
return hr;
}
// WAHLAP WeChat AimeDB Server
hr = dns_hook_push(L"ai.sys-all.cn", cfg->aimedb);
@ -123,8 +129,20 @@ HRESULT dns_platform_hook_init(const struct dns_config *cfg)
return hr;
}
hr = dns_hook_push(L"ai.sys-allnet.cn", cfg->aimedb);
if (FAILED(hr)) {
return hr;
}
// WAHLAP Billing
hr = dns_hook_push(L"ib.sys-all.cn", cfg->billing);
hr = dns_hook_push(L"bl.sys-all.cn", cfg->billing);
if (FAILED(hr)) {
return hr;
}
hr = dns_hook_push(L"bl.sys-allnet.cn", cfg->billing);
if (FAILED(hr)) {
return hr;