Re: apt: Uses bogus ftp password on ftp:// urls
Rob Browning writes:
> Some things I saw a while back are much clearer given this explanation.
Actually, my explanation is a bit misleading. gethostbyname() returns a
structure that contains the name, aliases, and addresses of the host. The
caller in the situations under discussion discards all but the fqdn.
However, it is gethostbyname() that decides that the second field in the
the first matching line in /etc/hosts is the fqdn.
firstname.lastname@example.org (John Hasler)
Dancing Horse Hill
To UNSUBSCRIBE, email to email@example.com
with a subject of "unsubscribe". Trouble? Contact firstname.lastname@example.org