1

Referencing: This question

The author is asking how to change hostname when it includes the appendage ´default-string´,

If root is required to change the file in the path etc/hosts should this be changed? This is my configuration.

127.0.0.1       localhost
127.0.1.1       myhostname-Default-string

The following lines are desirable for IPv6 capable hosts

::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters

As my question asks, why am I seeing ´default-string´?

Also, is this standard formatting for hostname in the directory mentioned above?

This answer appears to say this is not the case.

Therefore, is it safe to use root to change?

By the way. I have not changed my hostname, ever.

Ubuntu 20.04.2LTS

XJMZX
  • 79

0 Answers0