現時此頁面僅用英語顯示,繁體中文內容正在準備中。感謝您的耐心等待。
Disclaimer: This topic may be contributed by the community or involve information about third-party products. We recommend that you visit the official website of the community or third-party products for help and support. The third-party products are not supported by Alibaba Cloud after-sales service. This article is for reference only. Alibaba Cloud does not make any implied or other forms of commitment.
In the Linux ECS instance, the domain name cannot be resolved normally.
Take note of the following items:
- Before you perform high-risk operations such as modifying the specifications or data of an Alibaba Cloud instance, we recommend that you check the disaster recovery and fault tolerance capabilities of the instance to ensure data security.
- Before you modify the specifications or data of an Alibaba Cloud instance, such as an Elastic Compute Service (ECS) instance or an ApsaraDB RDS instance, we recommend that you create snapshots or enable backups for the instance. For example, you can enable log backups for an ApsaraDB RDS instance.
- If you have granted specific users the permissions on sensitive information, such as usernames and passwords, or submitted sensitive information in the Alibaba Cloud Management Console, we recommend that you modify the sensitive information at the earliest opportunity.
Use the following methods to troubleshoot and locate the problem, and then select the corresponding processing method according to the actual situation on site:
cat /etc/resolv.conf
/etc/resolv.conf
file to avoid restarting the system configuration. For more information, see How to customize DNS configuration in a Linux instance.
nameserver 223.5.5.5
nameserver 223.6.6.6
nameserver 100.100.2.136
nameserver 100.100.2.138
iptables -L
systemctl status nscd
systemctl stop nscd
command to disable the NSCD cache service.