What is wrong about below configuration?
Code: Select all
$ hostname
mydomain.example
$ hostnamectl
Static hostname: mydomain
Transient hostname: mydomain.example
Operating System: CentOS Linux 8 (Core)
CPE OS Name: cpe:/o:centos:centos:8
Kernel: Linux 4.18.0-193.14.2.el8_2.x86_64
Architecture: x86-64
$ cat /etc/hosts
192.168.1.1 www.mydomain.example mydomain.example
$ cat /etc/hostname
mydomain
Thank you.