Re: [dnsoverhttp] Survey of DNS over HTTP

Martin Thomson <martin.thomson@gmail.com> Fri, 16 September 2016 16:17 UTC

Return-Path: <martin.thomson@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 B00DD12B2C8 for <dnsoverhttp@ietfa.amsl.com>; Fri, 16 Sep 2016 09:17:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level:
X-Spam-Status: No, score=-2.7 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, 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 BDHU5bUxzl-l for <dnsoverhttp@ietfa.amsl.com>; Fri, 16 Sep 2016 09:17:14 -0700 (PDT)
Received: from mail-qk0-x230.google.com (mail-qk0-x230.google.com [IPv6:2607:f8b0:400d:c09::230]) (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 F02E112B2E0 for <dnsoverhttp@ietf.org>; Fri, 16 Sep 2016 09:17:13 -0700 (PDT)
Received: by mail-qk0-x230.google.com with SMTP id z190so92910512qkc.3 for <dnsoverhttp@ietf.org>; Fri, 16 Sep 2016 09:17:13 -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=B6deLPUuw/UB91G6L4lcNlw5GIWwBb8GRPEVINvZX3s=; b=YiSGaXcWsqqyImqeGnowU92BRlry0seBDl+j5DtweBxYi0UckZxg1EPDDnWJ9XGoCF 5CJLzNKdUgzq9pGLdCV7jmTZLeoVRgr7JP62Y7SYYXCR5MiEuFWzRclnQlX2lNVQpATp ekBGT4IAJE5zbt3U+jpx9AtprKE8lWZ4KAsirx0L4hyqcAN0+jFFdrpCcPgxxHtyA62l 9XK81Sk7MD8PgUzOSZGu6g44MyVKc8BEMKX2Zmqt5RBxbqRUaPv5xhbyH+Z7PqDmCvqS rScbIdMYtlO+N/fzma5td9zN5bMDIOfWOtRsnhwvuQoFN2BLSjVtE9rn7kop1kvsOAHt 1Z6w==
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=B6deLPUuw/UB91G6L4lcNlw5GIWwBb8GRPEVINvZX3s=; b=grNZc98xlNHv/Zd1ctqfPU4Ziw/wH8+iql16hnEovSyz3C+3vha39p0woLYqM3Uy63 3OyC2GvcZfPRFLtAlPeIjmk8wMQ1vJdr7zzkFPRo2CxHhqse9uYmh3DTz1h8B99/+6xr 8pyCfqrMFArjViizbMFKWS63ereHaqU39a7QeVfHkPoMCWaJV5lPxtdPHKx4ndyDddWu Aac+bbK6kmvm+gCFRpcCC1R3AABKLdpniSYzIriD5INraEIbio5meR8ZRT2k+EuubcxM Co4DUjY53N8LdAYOtHe8pbGBkoiMMd3+/k2tXXYrVAiQCeEW82AJq2Q7L86XIuGOmGNu efwQ==
X-Gm-Message-State: AE9vXwM3pXFHDkq0CDzTRq3+78R0EJQuj8zte0XyWSHth0pENw71EsxduOVsxvc6pNdW6elBPzVnGpPgSmzE+w==
X-Received: by 10.55.204.155 with SMTP id n27mr7231673qkl.311.1474042633145; Fri, 16 Sep 2016 09:17:13 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.140.22.146 with HTTP; Fri, 16 Sep 2016 09:17:12 -0700 (PDT)
In-Reply-To: <20160916120958.1d9c0a81@pallas.home.time-travellers.org>
References: <20160914150428.2bc82011@pallas.home.time-travellers.org> <CA+9kkMAXKUo-H1==pyVjo7wt6RQcs8hQjHvgk=kLPb6+DERkoQ@mail.gmail.com> <20160916120958.1d9c0a81@pallas.home.time-travellers.org>
From: Martin Thomson <martin.thomson@gmail.com>
Date: Fri, 16 Sep 2016 09:17:12 -0700
Message-ID: <CABkgnnW9C=RY3Uy6hgx=dUX-zw3pc-LbLqv5qE5ivsYyEoe3hQ@mail.gmail.com>
To: Shane Kerr <shane@time-travellers.org>
Content-Type: text/plain; charset=UTF-8
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsoverhttp/p4F-lmlJ473ss5S-HmpVD2ed69k>
Cc: dnsoverhttp@ietf.org, Ted Hardie <ted.ietf@gmail.com>
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: Fri, 16 Sep 2016 16:17:19 -0000

On 16 September 2016 at 03:09, Shane Kerr <shane@time-travellers.org> wrote:
>> 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).
>
> I'm not sure that I understand the syntax. Can you give some examples?

Ted is suggesting that you could construct a URI that entirely
encapsulated a DNS request.  I'm not certain that that is possible,
but it would be one way of constructing a protocol.

For instance, a MX request might be formulated by sending a GET to
dns:IN:MX:time-traveler.org

(Personally, I'm inclined to drop IN from the protocol, but that's just me.)