Help Center > > FAQs> ECS Management> Changing Hostnames> Is an ECS Hostname with Suffix .novalocal Normal?

Is an ECS Hostname with Suffix .novalocal Normal?

Updated at: Dec 16, 2019 GMT+08:00

Symptom

Hostnames of some ECSs have the suffix .novalocal.

For example, the hostname is set to abc during ECS creation. Table 1 lists the hostnames (obtained by running the hostname command) of ECSs created using different images and those displayed after the ECSs are restarted.

Table 1 Hostnames of ECSs created from different images

Image

Hostname Before ECS Restart

Hostname After ECS Restart

CentOS 6.8

abc

abc.novalocal

CentOS 7.3

abc.novalocal

abc.novalocal

Ubuntu 16

abc

abc

Hostnames of ECSs created based on some types of images have the suffix .novalocal, while others do not.

Troubleshooting

This is a normal phenomenon.

The static hostname of a Linux ECS is user defined and injected using Cloud-Init during the ECS creation. According to the test results, Cloud-Init adapts to OSs differently. As a result, hostnames of some ECSs have suffix .novalocal, while others do not.

If you do not need suffix .novalocal in obtained hostnames, change the hostnames. For details, see "How Can a Changed Static Hostname Take Effect Permanently?"

Did you find this page helpful?

Submit successfully!

Thank you for your feedback. Your feedback helps make our documentation better.

Failed to submit the feedback. Please try again later.

Which of the following issues have you encountered?







Please complete at least one feedback item.

Content most length 200 character

Content is empty.

OK Cancel