When an SMC migration task fails with "Customer.Client.Network.ResolveHostFailed", the source system cannot resolve a required domain name. Use the following steps to diagnose and fix the DNS resolution failure.
Problem description
An SMC migration task fails with the error message "Customer.Client.Network.ResolveHostFailed".
Cause
DNS resolution fails on the source system, preventing it from reaching the required domain.
Solution
-
Identify the domain name that failed to resolve in the error message.
For example, in
Could not resolve host: smc.aliyuncs.com, the domain name that failed to resolve issmc.aliyuncs.com. -
Verify that the DNS configuration file
/etc/resolv.confin the source system is properly configured.For example, if the Alibaba Cloud DNS server is
223.5.5.5, you need to addnameserver 223.5.5.5to this configuration file. -
Check the firewall, proxy, and other network configurations on the source system to ensure it can resolve and reach the failed domain name.