Am 16.07.2015 um 14:02 schrieb Rowland Penny:> /etc/hosts should be: > > 127.0.0.1 localhost.localdomain localhostuhm no - you want 127.0.0.1 normally resolved to localhost and hence 127.0.0.1 localhost localhost.localdomain -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 181 bytes Desc: OpenPGP digital signature URL: <lists.samba.org/pipermail/samba/attachments/20150716/57408f24/signature.sig>
On 16/07/15 13:27, Reindl Harald wrote:> > > Am 16.07.2015 um 14:02 schrieb Rowland Penny: >> /etc/hosts should be: >> >> 127.0.0.1 localhost.localdomain localhost > > uhm no - you want 127.0.0.1 normally resolved to localhost and hence > 127.0.0.1 localhost localhost.localdomain > > > >Ah NO, only if you are using a brain dead OS like red-hat :-) From 'man hosts' For each host a single line should be present with the following information: IP_address canonical_hostname [aliases...] Optional aliases provide for name changes, alternate spellings, shorter hostnames, or generic hostnames (for example, localhost). Rowland
Am 16.07.2015 um 17:18 schrieb Rowland Penny:> On 16/07/15 13:27, Reindl Harald wrote: >> >> Am 16.07.2015 um 14:02 schrieb Rowland Penny: >>> /etc/hosts should be: >>> >>> 127.0.0.1 localhost.localdomain localhost >> >> uhm no - you want 127.0.0.1 normally resolved to localhost and hence >> 127.0.0.1 localhost localhost.localdomain > > Ah NO, only if you are using a brain dead OS like red-hat :-) > > From 'man hosts' > > For each host a single line should be present with the following > information: > > IP_address canonical_hostname [aliases...] > > Optional aliases provide for name changes, alternate spellings, shorter > hostnames, or generic hostnames (for example, localhost)you quote exactly what i said gethostbyaddr will answer the canonical_hostname and not a random alias the real name for 127.0.0.1 is always localhost and hence that should not be the alias, frankly nobody needs the localhost.localdomain at all -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 181 bytes Desc: OpenPGP digital signature URL: <lists.samba.org/pipermail/samba/attachments/20150716/1c2d4dde/signature.sig>