Cette page n'est pas encore disponible dans votre langue. Nous nous efforçons d'ajouter d'autres langues. Nous vous remercions de votre compréhension.

On this page

Show all

Help Center/ Elastic Cloud Server/ Troubleshooting/ Configuring the Network/ What Can I Do If resolv.conf Gets Reset?

What Can I Do If resolv.conf Gets Reset?

Updated on 2023-03-30 GMT+08:00

Symptom

The resolv.conf file you have modified gets reset after you restart the ECS.

Solution

Add the i attribute to the file, which allows only user root to modify the file.

chattr +i /etc/resolv.conf

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback