Coerce more canonicalname resolves to use ProcTask

DnsClient doesn't handle cannonname very well (see, so some logic was added a while back to force
ProcTask for such cases by setting HostResolverSource::SYSTEM when the
HOST_RESOLVER_CANONNAME flag is set. But this didn't affect the newer
HostResolver::CreateRequest() API, as that has callers directly set the
source and doesn't directly use ProcTask flags.

Bug: 872665
Change-Id: I709959911ec299118369f1f995ea5802df7a92f9
Reviewed-by: Asanka Herath <>
Commit-Queue: Eric Orth <>
Cr-Commit-Position: refs/heads/master@{#623815}
2 files changed