[core] Examples for docpath (draft-ietf-core-dns-over-coap)
Martine Sophie Lenders <martine.lenders@tu-dresden.de> Wed, 24 July 2024 20:40 UTC
Return-Path: <martine.lenders@tu-dresden.de>
X-Original-To: core@ietfa.amsl.com
Delivered-To: core@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 55F1FC14F6FD for <core@ietfa.amsl.com>; Wed, 24 Jul 2024 13:40:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.406
X-Spam-Level:
X-Spam-Status: No, score=-4.406 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=tu-dresden.de
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0ThlcKu3uV7R for <core@ietfa.amsl.com>; Wed, 24 Jul 2024 13:40:24 -0700 (PDT)
Received: from mailout4.zih.tu-dresden.de (mailout4.zih.tu-dresden.de [141.30.67.75]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 05176C14F6FE for <core@ietf.org>; Wed, 24 Jul 2024 13:40:23 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tu-dresden.de; s=dkim2022; h=Content-Type:Subject:To:From:MIME-Version:Date :Message-ID:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=BSk919mEXTyq1+7O62S0zmx7I02/5UWIjUXDqHo26YM=; b=UWXCLXpO7dURxBNuFj7dtIgOGk F8weYHdwMcoQDfl/eRtEAe+Xf7l+/fC/JnuZKbRmUIFmAHV6xRw2Cm30gE+D0E0+lz1WaZwFRdYvg po0/hJ9Q+otxPQcYh2DTA5Rhvtwwplm2/GydExzf3VScz4gxYEh/u1It2ArsNUJhypTBF0FgRm1Ey PTzlzQfpSozkS9KEg/oVLRds5dFkSYLVFMN2sA3qvY7Qh0UQtp5PxVkzVAoBfubW4RyKw0Rvdd/AU 3QZSt3JayvdMQN/+z11DJ330SK1l+4SbwmrZlNq64TdtLF4pNECuB3MA9QYtVjFjocXiulgITL/hS sThOhN4w==;
Received: from [172.26.34.117] (helo=msx.tu-dresden.de) by mailout4.zih.tu-dresden.de with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from <martine.lenders@tu-dresden.de>) id 1sWimc-00AQFH-8u for core@ietf.org; Wed, 24 Jul 2024 22:40:22 +0200
Received: from [31.133.132.183] (31.133.132.183) by msx-l317.msx.ad.zih.tu-dresden.de (172.26.34.117) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Wed, 24 Jul 2024 22:40:17 +0200
Message-ID: <510a1fb9-2307-4ca4-96da-e30e9ddf21db@tu-dresden.de>
Date: Wed, 24 Jul 2024 13:40:14 -0700
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
From: Martine Sophie Lenders <martine.lenders@tu-dresden.de>
To: "core@ietf.org" <core@ietf.org>
Content-Language: en-US
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg="sha-512"; boundary="------------ms020600020207030106070708"
X-ClientProxiedBy: MSX-L313.msx.ad.zih.tu-dresden.de (172.26.34.113) To msx-l317.msx.ad.zih.tu-dresden.de (172.26.34.117)
X-TUD-Virus-Scanned: mailout4.zih.tu-dresden.de
Message-ID-Hash: SMZDLBZCA7BNOHELFKFHCOUT7LLVHPQ7
X-Message-ID-Hash: SMZDLBZCA7BNOHELFKFHCOUT7LLVHPQ7
X-MailFrom: martine.lenders@tu-dresden.de
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-core.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
X-Mailman-Version: 3.3.9rc4
Precedence: list
Subject: [core] Examples for docpath (draft-ietf-core-dns-over-coap)
List-Id: "Constrained RESTful Environments (CoRE) Working Group list" <core.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/_6pCwL9g4irt02cUC15mideqWIc>
List-Archive: <https://mailarchive.ietf.org/arch/browse/core>
List-Help: <mailto:core-request@ietf.org?subject=help>
List-Owner: <mailto:core-owner@ietf.org>
List-Post: <mailto:core@ietf.org>
List-Subscribe: <mailto:core-join@ietf.org>
List-Unsubscribe: <mailto:core-leave@ietf.org>
Hi! Carsten asked for some examples for SVCB records during the today's meeting. Here is how a SVCB record and the resulting paths could look like for a DoC resource coaps://example.org/dns/doc. Best Martine RDATA Wire format ================= 0 1 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 +-----------------------------+ | SvcPriority = 5 | +-----------------------------+ : : : TargetName = example.org : : : +-----------------------------+ | SvcParamKey = alpn (1) | +-----------------------------+ | SvcParamValueLen = 2 | +--------------+--------------+ | 'c' | 'o' | +--------------+--------------+ | SvcParamKey = docpath (9) | +-----------------------------+ | SvcParamValueLen = 2 | +--------------+--------------+ | 0x63 | 'd' | +--------------+--------------+ | 'n' | 's' | +--------------+--------------+ | 0x63 | 'd' | +--------------+--------------+ | 'o' | 'c' | +--------------+--------------+ Zone-File Presentation Format (CBOR diagnostic notation) ======================================================== _dns.example.org. 3600 IN SVCB 5 example.org ( alpn="co" docpath="dns","doc" ) URI-Path Conversion (0x6X => '/') ================================= "/dns/doc" CoAP URI Options Conversion (0x6X & ~0x60) ========================================== +--------------+--------------+ | URI-Path=11 | Length = 3 | +--------------+--------------+ | "dns" | | +--------------+ | | URI-Path=11 | +--------------+--------------+ | Length = 3 | | +--------------+ | | "doc" | +-----------------------------+
- [core] Examples for docpath (draft-ietf-core-dns-… Martine Sophie Lenders