hosts.tmpl: Fix hosts syntax (ip fqdn name)

The inversion of fqdn/name cause strange problems with hostname
(and sysctl/core)