public inbox for libc-hacker@sourceware.org
 help / color / mirror / Atom feed
From: Ulrich Drepper <drepper@gmail.com>
To: Andreas Schwab <schwab@redhat.com>
Cc: libc-hacker@sourceware.org
Subject: Re: [PATCH] Don't use gethostbyaddr to determine canonical name
Date: Mon, 04 Jul 2011 21:54:00 -0000	[thread overview]
Message-ID: <CAOPLpQca+gt_SeHgRk+XBfAmdg_MDWXUtzvXCGiMRUQZWS5bKw@mail.gmail.com> (raw)
In-Reply-To: <m38vsru0rd.fsf@redhat.com>

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.

  reply	other threads:[~2011-07-04 21:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-22 13:12 Andreas Schwab
2011-06-22 18:41 ` Ulrich Drepper
2011-06-24  7:50   ` Andreas Schwab
2011-07-04 21:54     ` Ulrich Drepper [this message]
2011-07-05  8:12       ` Andreas Schwab

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAOPLpQca+gt_SeHgRk+XBfAmdg_MDWXUtzvXCGiMRUQZWS5bKw@mail.gmail.com \
    --to=drepper@gmail.com \
    --cc=libc-hacker@sourceware.org \
    --cc=schwab@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).