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

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


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

Re: [PATCH] Don't use gethostbyaddr to determine canonical name


On Fri, Jun 24, 2011 at 03:49, Andreas Schwab <schwab@redhat.com> wrote:
> $ getent ahosts www.google.de | head -1
> 2a00:1450:8007::6a STREAM www.l.google.com
> $ getent ahostsv4 www.google.de | head -1
> 74.125.39.106 Â STREAM fx-in-f106.1e100.net

I cannot reproduce this.  Must have been on IPv6-day!?

What is the exact situation?  The patch isn't correct.  If anything is
wrong then it might be that we need to use the gethostbyname-based
implementation in even fewer situations or the getcanon implementation
has a problem.

The 1e100.net address obviously also belongs to Google.  Therefore I'm
not really sure there is a problem.  They might have directed IPv4 and
IPv6 traffic to completely different machines.


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