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.
email@example.com (John Hasler)
Dancing Horse Hill
To UNSUBSCRIBE, email to firstname.lastname@example.org
with a subject of "unsubscribe". Trouble? Contact email@example.com