Re: [Doh] gethostbyname?

Erik Kline <ek@loon.co> Thu, 04 April 2019 22:47 UTC

Return-Path: <ek@google.com>
X-Original-To: doh@ietfa.amsl.com
Delivered-To: doh@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7F656120273 for <doh@ietfa.amsl.com>; Thu, 4 Apr 2019 15:47:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.498
X-Spam-Level:
X-Spam-Status: No, score=-9.498 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_SPF_WL=-7.5] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=loon.co
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id r3p0bUpYwpa3 for <doh@ietfa.amsl.com>; Thu, 4 Apr 2019 15:47:26 -0700 (PDT)
Received: from mail-io1-xd31.google.com (mail-io1-xd31.google.com [IPv6:2607:f8b0:4864:20::d31]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E7F6212019A for <doh@ietf.org>; Thu, 4 Apr 2019 15:47:25 -0700 (PDT)
Received: by mail-io1-xd31.google.com with SMTP id v10so3432587iom.8 for <doh@ietf.org>; Thu, 04 Apr 2019 15:47:25 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=loon.co; s=google; h=mime-version:references:in-reply-to:reply-to:from:date:message-id :subject:to:cc; bh=XsISN9ARDGPJo+tgCRt2orvggva/4xgdYZnQnd4QlOw=; b=HswUedSkm5hpOlPJXNAImTFYW0ajNf8AwRjacllTqqxywq3s8czwUuobBG2i6nBzIs OVBZ4h2e8LnloVANFZrA7G3erOiNEpPZOsViOLa/OGjNNgF/lDXJR94ZD50zy62yS0Ml kfjPK+qSdJYANo3tMjPibC4IDxCEVIlutXj+4=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:reply-to :from:date:message-id:subject:to:cc; bh=XsISN9ARDGPJo+tgCRt2orvggva/4xgdYZnQnd4QlOw=; b=pbPxgQL/rPB8n2/0x2C4pNKhPmRP0JvHKmgKUpmOp5YW9H3Pns2cBwGWX2EDYZTxbM q0zaPWRYf0cdoCsn0cMg8cprP/gguyj1EKXTBZQq6E+ffkiJ+GtGem6Jr2twZlj92eE8 JwBFkaFzzHuGWRZDkZQ3FLSFMWWs8AFpPz2GWoyLUQYXK2++T5g60Jd0TiyCPJqpUnRW +m6oVxN3+HklY7MJGGAWZk9spQHtI5MvBREPELlkyyUtfW1IdWGEm2v5cVW+oyaTXdWY ArhwCK9SGxe+Vsa/il5CbzmaR4j53HxObo2wi9AxyxqaAWgea5C5dmS78PSjhC9Y98pd JFhQ==
X-Gm-Message-State: APjAAAXTiCONNLJps3qSjgGwidN8TXLRmFy5SHrPmDz7nGC94dZDQ9kd avwDNl/518Ct5Xzm1ZhOC/QdHBevyM95RLrTI2Tr5g==
X-Google-Smtp-Source: APXvYqyHb5/ouos9AoAf9tstrek79U4gWPhVgL4bUD/2DVSXKGDzyBEPi2Kx9c1yjXsptJeBKHZoGQ5ir6TB9yxqdn0=
X-Received: by 2002:a6b:b258:: with SMTP id b85mr6044761iof.122.1554418044856; Thu, 04 Apr 2019 15:47:24 -0700 (PDT)
MIME-Version: 1.0
References: <7D357986-AD33-4619-8037-8BCD59687AF0@gmail.com> <CAHbrMsAvbj95kve3WQCEmt-BS70XafyKFJCg14L02Gndf4NR+Q@mail.gmail.com> <CAJE_bqekTfkEvbX5+MEBFuhmbruADk_NmfOwgTJfS=Obbivy8Q@mail.gmail.com>
In-Reply-To: <CAJE_bqekTfkEvbX5+MEBFuhmbruADk_NmfOwgTJfS=Obbivy8Q@mail.gmail.com>
Reply-To: ek@loon.co
From: Erik Kline <ek@loon.co>
Date: Thu, 4 Apr 2019 15:47:13 -0700
Message-ID: <CAAedzxpNUhXya=aUCEaB3CTUF3kW4eLe4Tb9TdNnwFFFdWi2hg@mail.gmail.com>
To: =?UTF-8?B?56We5piO6YGU5ZOJ?= <jinmei@wide.ad.jp>
Cc: Ben Schwartz <bemasc=40google.com@dmarc.ietf.org>, DoH WG <doh@ietf.org>, Fred Baker <fredbaker.ietf@gmail.com>
Content-Type: multipart/alternative; boundary="00000000000065bf8e0585bc2740"
Archived-At: <https://mailarchive.ietf.org/arch/msg/doh/2mCshSNuCyKiiVU6v4DeFW8FAbI>
Subject: Re: [Doh] gethostbyname?
X-BeenThere: doh@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DNS Over HTTPS <doh.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/doh>, <mailto:doh-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/doh/>
List-Post: <mailto:doh@ietf.org>
List-Help: <mailto:doh-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/doh>, <mailto:doh-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 Apr 2019 22:47:30 -0000

On Thu, 4 Apr 2019 at 15:20, 神明達哉 <jinmei@wide.ad.jp> wrote:

> At Tue, 26 Mar 2019 07:26:49 -0400,
> Ben Schwartz <bemasc=40google.com@dmarc.ietf.org> wrote:
>
> > Please avoid casting aspersions on other working group participants, even
> > in jest, as it might be misconstrued and cause offense.
>
> Perhaps the wording wasn't very appropriate, but I think it's
> generally a good practice to have any IETF work assume the use of
> IPv6.  It's also consistent with the overall trend to IPv6-awareness
> in the IETF, e.g., as described in
> https://www.iab.org/2016/11/07/iab-statement-on-ipv6/
>
> The actual draft text doesn't seem to be so problematic in that sense:
>
>    Browsers which cannot get the IP address(es) of the resolver
>    configured by the operating system using APIs are still able to use
>    an operating system function such as gethostbyname() or its
>    equivalents to convert host names into IP addresses through the stub
>    resolver in the operating system on which they are running.
>
> since it only refers to gethostbyname() as an example and also says
> "or its equivalents", and I also don't think the author lives in the
> previous century given that he was involved in the development of a
> modern DNS library; but I don't think changing gethostbyname() to
> getaddrinfo() (or at least gethostbyname2()) doesn't do any harm
> either, if it's not an improvement.  I've just sent a pull request for
> this change on github:
> https://github.com/dohwg/draft-ietf-doh-resolver-associated-doh/pull/6
>
>
You could even add a reference to rfc3493#section-6.1, I would think.