From 8c839b0d4ee423697484310e980efdf75f904b62 Mon Sep 17 00:00:00 2001 From: zaphkito Date: Wed, 3 Jul 2024 18:04:21 +0000 Subject: [PATCH] dns: added WAHLAP billing DNS block China have another company named universal service WACCA, but they use same PowerOn and Download Order domain with SEGA official, so we need express `sys-all.cn` is only used for WAHLAP, not all China SEGA games. WAHLAP have a unused billing domain, just in case, we blocked it now --- platform/dns.c | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/platform/dns.c b/platform/dns.c index 2e8f64b..ab7574a 100644 --- a/platform/dns.c +++ b/platform/dns.c @@ -109,17 +109,23 @@ HRESULT dns_platform_hook_init(const struct dns_config *cfg) return hr; } - // CHN - // PowerOn + // WAHLAP PowerOn hr = dns_hook_push(L"at.sys-all.cn", cfg->startup); if (FAILED(hr)) { return hr; } - // WeChat AimeDB Server + // WAHLAP WeChat AimeDB Server hr = dns_hook_push(L"ai.sys-all.cn", cfg->aimedb); + if (FAILED(hr)) { + return hr; + } + + // WAHLAP Billing + hr = dns_hook_push(L"ib.sys-all.cn", cfg->billing); + if (FAILED(hr)) { return hr; }