Why Are Internet or Internal Domain Names in the Cloud Inaccessible Through Domain Names When My ECS Has Multiple NICs?

When an ECS has more than one NIC, if different DNS server addresses are configured for the subnets used by the NICs, the ECS cannot access the Internet or domain names in the cloud.

You can resolve this issue by configuring the same DNS server address for the subnets used by the same ECS. You can perform the following steps to modify DNS server addresses of subnets in a VPC:

  1. Log in to the management console.

  1. On the console homepage, under Network, click Virtual Private Cloud.

  2. In the navigation pane on the left, choose Virtual Private Cloud > Subnets.

  3. In the subnet list, locate the target subnet and click its name.

  4. On the subnet details page, change the DNS server address of the subnet.

  5. Click OK.