You can have multiple lines in /etc/hosts that name the same ip address and it will match on any of them. It should be noted that the syntax of hosts lines is
ip-address f.q.d.n alias1 alias2 aliasN
Python giving wrong FQDN
Re: Python giving wrong FQDN
CentOS 8 died a premature death at the end of 2021 - migrate to Rocky/Alma/OEL/Springdale ASAP.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are dead, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are dead, do not use them.
Use the FAQ Luke
Re: Python giving wrong FQDN
Appendix G of RFC 6762 ( https://datatracker.ietf.org/doc/html/r ... appendix-G ) recommends use of one of of the following top level domain names:You could call her "fred.localdomain"
- .intranet.
- .internal.
- .private.
- .corp.
- .home.
- .lan.