platform/dns.c: Intercept router host names

This commit is contained in:
Tau
2019-09-07 13:49:04 -04:00
parent 29d9561a28
commit 0242c5efc8
3 changed files with 21 additions and 0 deletions

View File

@ -17,6 +17,18 @@ HRESULT dns_platform_hook_init(const struct dns_config *cfg)
return S_FALSE;
}
hr = dns_hook_push(L"tenporouter.loc", cfg->router);
if (FAILED(hr)) {
return hr;
}
hr = dns_hook_push(L"bbrouter.loc", cfg->router);
if (FAILED(hr)) {
return hr;
}
hr = dns_hook_push(L"naominet.jp", cfg->startup);
if (FAILED(hr)) {