[Users] Hostname issue on CentOS 7.x

Jean-Pierre Abboud jpabboud at gotekky.com
Mon Nov 14 12:58:31 PST 2016


> 
> Two small quick nits...
> 
> (1) Use example.com. IANA reserves the name for the purpose.
> 
> (2) 'server.example.com' is not a FQDN.
> 
> FQDN's end in a dot '.' to indicate the top of the tree. All of these
> are fully qualified:
> 
>    * server.example.com.
>    * localhost.
>    * localhost.localdomain.

My bad you’re right, wasn’t sure how to refer to it :)


> 
> While the second might look strange, its needed on some OSes like
> Solaris. Otherwise, boots take 2x or 3x times longer while the network
> stack tries to determine its place in the DNS tree. It spews
> complaints to dmesg as its booting about lack of a fqdn.
> 

Did you have the hostname specified within /etc/hosts ? Since the network stack hasn’t loaded
it will keep trying to resolve it externally.



More information about the Users mailing list