Re: [dnsoverhttp] Survey of DNS over HTTP

Ted Hardie <ted.ietf@gmail.com> Thu, 15 September 2016 22:00 UTC

Return-Path: <ted.ietf@gmail.com>
X-Original-To: dnsoverhttp@ietfa.amsl.com
Delivered-To: dnsoverhttp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C454612B071 for <dnsoverhttp@ietfa.amsl.com>; Thu, 15 Sep 2016 15:00:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level:
X-Spam-Status: No, score=-2.699 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 m9VG_yDvpVZK for <dnsoverhttp@ietfa.amsl.com>; Thu, 15 Sep 2016 15:00:28 -0700 (PDT)
Received: from mail-oi0-x231.google.com (mail-oi0-x231.google.com [IPv6:2607:f8b0:4003:c06::231]) (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 99DA412B00C for <dnsoverhttp@ietf.org>; Thu, 15 Sep 2016 15:00:28 -0700 (PDT)
Received: by mail-oi0-x231.google.com with SMTP id r126so89562693oib.0 for <dnsoverhttp@ietf.org>; Thu, 15 Sep 2016 15:00:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=rWVzxACoRcpsHsMKRMKt5Wh5c5/801CYjqa3CDYWizk=; b=DuOonKBN3x+BzmdYPc03dZjXD7qGt8OFb5nQ3eQBdy73wBN1YPfmMyGNhl3NuH4TdO XliO1AUQICd7/k1XXzE35hq5AnvhYhB8zD7/V4fvLFIeQrQH5iS7KqGi4LaPqkDXS+K5 EHRqLgujc5K6pcuUsiJG/CZWZxMHl4xvJxCg9qIaibHt7JHWHgC9gHTDnQNdE5JuY0bA x9pCNQUZFylbQYsiftxs6vvQmRjiHck+8OUY+kxgC4ET7UQXxnsqbFsgejmMlXTczKDC onfpQ6K+kpIZeFfk2Zs6FK0Pb5a4KLIk7Tskp2oePf6P3nSSwjKaHjeJWrwyUiRifTn+ xMiw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=rWVzxACoRcpsHsMKRMKt5Wh5c5/801CYjqa3CDYWizk=; b=BZOIkezc65fWvb2MvOWOxvKN+tRV2KPluILGHWSRFkoImXu0f1Q5SwsXGhCXhYxWlI uNAzKjpUqiZK5LCua5aik8SEhldmAsjoyRBkel1gtOmqJspb8ER/JChwMoMBVX67DJym mH7M0692KKede+ATokJERQLhfBRk+O3Khj1K/AGSILdZ/BNAIHWmxmw2Qn7DchnPFMj1 tGLULDPEZURaXCux3GNsLfrLKcUh27vAlnWVLTAmY7Ou3XI8yHMSKNvxb9Kp3kiO5Dir ShClxz2ghwWANya2HHl9jCSCoL4qcq46KtEoeQdkuBIGuMHAQ5dfpPRVRGgDCPKWLEu3 5SUw==
X-Gm-Message-State: AE9vXwNFFhk3FpgqRObFlnUw9rnqrFKEOTipY/SgfQVlZwsg7AnmSA9kiesbHI4iYrREn72Erw0VYI67d/bYmg==
X-Received: by 10.202.73.133 with SMTP id w127mr9687282oia.24.1473976827949; Thu, 15 Sep 2016 15:00:27 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.202.79.78 with HTTP; Thu, 15 Sep 2016 14:59:57 -0700 (PDT)
In-Reply-To: <20160914150428.2bc82011@pallas.home.time-travellers.org>
References: <20160914150428.2bc82011@pallas.home.time-travellers.org>
From: Ted Hardie <ted.ietf@gmail.com>
Date: Thu, 15 Sep 2016 14:59:57 -0700
Message-ID: <CA+9kkMAXKUo-H1==pyVjo7wt6RQcs8hQjHvgk=kLPb6+DERkoQ@mail.gmail.com>
To: Shane Kerr <shane@time-travellers.org>
Content-Type: multipart/alternative; boundary=001a113dae863cc00d053c92f9cc
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsoverhttp/7Kt4NeVQTFKLvN77vx4XfuArkNk>
Cc: dnsoverhttp@ietf.org
Subject: Re: [dnsoverhttp] Survey of DNS over HTTP
X-BeenThere: dnsoverhttp@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Discussion of DNS over HTTP <dnsoverhttp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dnsoverhttp>, <mailto:dnsoverhttp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dnsoverhttp/>
List-Post: <mailto:dnsoverhttp@ietf.org>
List-Help: <mailto:dnsoverhttp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dnsoverhttp>, <mailto:dnsoverhttp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 15 Sep 2016 22:00:31 -0000

Hi Shane,

Thanks for the doc.  One approach to add is using dns URIs as the target of
HTTP methods, returning the dns data using the relevant mime type.  In that
approach, you send the message over HTTP(S) with something like

GET  dns:[//authority/]domain[?CLASS=class;TYPE=type]

(See RFC 4501 for the full set of permitted syntax for DNS URIs)

and return either application/dns or text/dns records for the result (See
RFC 4027 for the specification of the MIME types).

This treats the server to whom you are speaking as it if were an HTTP
intermediary acting like a proxy, under a loose reading of RFC 7230's
description:

   A "proxy" is a message-forwarding agent that is selected by the
   client, usually via local configuration rules, to receive requests
   for some type(s) of absolute URI and attempt to satisfy those
   requests via translation through the HTTP interface.

In this case the type of absolute URI is a DNS URI.

regards,

Ted

On Wed, Sep 14, 2016 at 6:04 AM, Shane Kerr <shane@time-travellers.org>
wrote:

> Hello,
>
> I thought that people interested in this topic might find a draft
> written by my colleagues and myself useful. It is a survey of various
> DNS over HTTP techniques:
>
> https://datatracker.ietf.org/doc/draft-shane-review-dns-over-http/
>
> It needs to be updated, to reference Paul Hoffman's recent update to
> his DNS JSON draft if nothing else:
>
> https://tools.ietf.org/html/draft-hoffman-dns-in-json/
>
> Cheers,
>
> --
> Shane
>
> _______________________________________________
> dnsoverhttp mailing list
> dnsoverhttp@ietf.org
> https://www.ietf.org/mailman/listinfo/dnsoverhttp
>
>