This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug network/16077] Get canonical name from /etc/hosts for AF_INET
- From: "siddhesh at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Wed, 23 Oct 2013 14:23:54 +0000
- Subject: [Bug network/16077] Get canonical name from /etc/hosts for AF_INET
- Auto-submitted: auto-generated
- References: <bug-16077-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=16077
--- Comment #2 from Siddhesh Poyarekar <siddhesh at redhat dot com> ---
(In reply to Rich Felker from comment #1)
> How do you define "canonical" for entries from the hosts file? The first
> hostname on the matching line? For DNS, "canonical" is defined clearly by
Yes, because the hosts man page defines a hosts entry as:
IP_address canonical_hostname [aliases...]
I understand that it's not a standard definition, but I don't think there's any
such standard definition for a hosts file entry anyway.
--
You are receiving this mail because:
You are on the CC list for the bug.