Configuring DNS Servers for ECSs
Scenarios
You can configure DNS servers for ECSs in one-click mode.
When you intend to access websites outside the Chinese mainland from ECSs located within the Chinese mainland, DNS servers can help mitigate issues such as slow cross-border network access, long latency, and unstable connections.
This section describes how to configure DNS servers for ECSs.
Constraints
- Cloud Operations Center (COC) needs to be enabled and authorized.
For IAM users, permissions for COC operations need to be granted. For details, see Configuring Custom Policies for ECS Self-Service O&M.
- UniAgent must be installed. UniAgent is a unified data collection agent that supports script delivery and execution.
If UniAgent is not installed on an ECS, the DNS server cannot be modified. For details about how to install UniAgent, see Installing UniAgent on an ECS.
- DNS servers cannot be configured for ECSs in Creating state.
Procedure
- Log in to the ECS console and access the ECS list page.
- Locate the target ECS and choose More > View O&M and Monitoring > Configure DNS Server in the Operation column.
- (Optional) On the Enable COC and Grant Permissions page, read and agree to the service statement, and click Enable and Authorize.
This page is displayed if COC is not enabled and authorized.
- On the Configure DNS Server page, set DNS server addresses for the ECS as instructed.
A UniAgent is required for DNS server configuration. If a message is displayed indicating that the UniAgent is not installed or failed to be installed, install it by referring to Installing UniAgent on an ECS.
If you select a non-Huawei Cloud DNS server, the system sets the Huawei Cloud DNS server as the alternative DNS server by default to prevent private network access failures.
Figure 1 Configuring the DNS server - Click OK to complete the DNS server configuration for the ECS.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot