This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug network/16077] Get canonical name from /etc/hosts for AF_INET


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]