[Anima] DNS-SD in GRASP - draft-eckert-anima-grasp-dnssd-04

Esko Dijk <esko.dijk@iotconsultancy.nl> Tue, 22 November 2022 10:57 UTC

Return-Path: <esko.dijk@iotconsultancy.nl>
X-Original-To: anima@ietfa.amsl.com
Delivered-To: anima@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D7D49C1522C3 for <anima@ietfa.amsl.com>; Tue, 22 Nov 2022 02:57:40 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-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 (1024-bit key) header.d=iotconsultancy.nl
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 4hJhEPqbAqrb for <anima@ietfa.amsl.com>; Tue, 22 Nov 2022 02:57:36 -0800 (PST)
Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04on0713.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe0c::713]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 15FB0C1522B8 for <anima@ietf.org>; Tue, 22 Nov 2022 02:57:35 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SLiAdEBEFjR2O43JHQSqyoAgcV5jEJz38gQZoyKvZz4M+qSNz2ThE2Nxlv/emJj2fBn7uuSgPHTW+bdzXNCkR/uwRhsRUxRifl3nXlFD2M+C0UqXDrXlHScvEF7nhwWBL6Wf4HVgmF1GIQx8lKCcsmbDJxTTKT8q/UeBRguJsULMnDX3EkQNk2bRzozNrGHyR8yh5gRdXfnTtk7Vm3fTUdY8a4Uk8YgjoYfeCdR/Jl+4DuvjMg3qq9n7ZkhH9911XRpvrwFkNry8opDnxrdbLsRZNsqe/5e5i0FQp+lqzJpCI4OXVrVYqRFy1JUMJGMjDEU/c1+uqhy6QkLHDiFoyQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=ruThkzUkxN411L4zjZMWGw89EYELwTORkpDkf6s1ydM=; b=lIaBNxMpqp8qVHia0QbthkiHD1y0Boi3TmRb9B9k+tBCv6INPoJ3++U/wrePalSjRy6BXHm9YY+mxMzLVzS8o/sfTOH/T6ijLspcc33XbBzkIVUryDzi4qUUTo4rYjfk+OPib7W5c9OSgZVIKbV9C8zZJyLinzj+IVrNIOIlIM6Tc+Ea27pzU17lidJuzJJ5nIk7PT5nYFOHL27xWTc8EhKwsJfKn0VsQwCJvjRwKCt8ERg2UPGI3qvEojxdm3rZHS0JmowtU4tUZnRMBPiONnWCTageZMLw9096pD6FwW+kU7UrBOcw1Pxxzuut3xDccRG584YPGeFPMUWQwbqxNg==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=iotconsultancy.nl; dmarc=pass action=none header.from=iotconsultancy.nl; dkim=pass header.d=iotconsultancy.nl; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iotconsultancy.nl; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ruThkzUkxN411L4zjZMWGw89EYELwTORkpDkf6s1ydM=; b=iCcoq2Ro8bDIqQW46Ctmmtb68N3dfoewC1exIId725elScnsZAStwrBabKSpjtVPXvce6gQmJTjc75ybtR9uqS4/YvWXeIA3u8uYt/YQWMd/+TFyb82vBaaZVwL+ynUjiBAhvx8JFwjel/0Z7fdfleK92cmbTW1IR0H4oHWIEhE=
Received: from DU0P190MB1978.EURP190.PROD.OUTLOOK.COM (2603:10a6:10:3b9::20) by GV1P190MB2018.EURP190.PROD.OUTLOOK.COM (2603:10a6:150:5a::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5834.15; Tue, 22 Nov 2022 10:57:29 +0000
Received: from DU0P190MB1978.EURP190.PROD.OUTLOOK.COM ([fe80::90a1:12c9:de4a:6c26]) by DU0P190MB1978.EURP190.PROD.OUTLOOK.COM ([fe80::90a1:12c9:de4a:6c26%3]) with mapi id 15.20.5834.015; Tue, 22 Nov 2022 10:57:29 +0000
From: Esko Dijk <esko.dijk@iotconsultancy.nl>
To: "anima@ietf.org" <anima@ietf.org>
CC: Toerless Eckert <tte@cs.fau.de>
Thread-Topic: DNS-SD in GRASP - draft-eckert-anima-grasp-dnssd-04
Thread-Index: Adj+X9nyyMAzXB6aSeKFhxbR1ZpgSw==
Date: Tue, 22 Nov 2022 10:57:28 +0000
Message-ID: <DU0P190MB1978C2564FDEEA0F276A0602FD0D9@DU0P190MB1978.EURP190.PROD.OUTLOOK.COM>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=iotconsultancy.nl;
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: DU0P190MB1978:EE_|GV1P190MB2018:EE_
x-ms-office365-filtering-correlation-id: f897f069-0be4-407a-3699-08dacc785938
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: M11DHcVjS+ltm9DMCjqWD2LpexFrMy7/ht4wshqMFUoXPRow0mcxsWYY7LDRrpg80tCH2EWrJSozGzyqGdIkqFP+k6ERbF6Dxb7lWv9dIcbfePTCzQPFxENZMjBJZVPo9g7N0YeVgriKX5+Xq7n9jKO1vrJQ1YvyE/MqrRJiAMmywe3dbXB73uRoS9xnWAsPDIR/Tr3hM8lc702wQJJEznBVfNfAJYD4TZtqtZtIv8fyaP1onDE567P9dZc7p6BUoQ0q3gbPBBayjvsUwKfdeijEEHPgd/JLEMMoRNJk/BZp5TOWkkhME7PVoFstlfvYpp2+5W6i8oncLp7fBtzvkhP7JjiGT86ytEfib1kII78ipHSBZgkQzTXL/kvAjf1P6xSeNhHwekldpixBvqzu0WZBALgIus6iw9r8w2guOSaWE+2D6TL2sIy8E0AgcGbXbI8kpboyeuDUgR+uyZVgq695cSlTpImdUP0VfCKJ2b2TVMdJ2e+TPIp084mq13s1eJWelWK/8ksbwQ2yQ8DWCwT0DU1atatFJSKHWrxEQ9sjS5bfpSo0OOVJH72caNbmbIWSJJ+UqaUz1d7snPN9QE+j+A2ob2nETKEd9n/wuEjdBJdI9y3gt+szdFLQMiuR6PQf3VxE2Y3JYGoWYvsVkNwij5SdBZVjmKQ+11nRcfM9/jZfgPSSEiXs+7bbV/s6sjNd/eYYaidMf1AtMGTqYA==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DU0P190MB1978.EURP190.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(13230022)(366004)(346002)(396003)(39830400003)(136003)(376002)(451199015)(66899015)(33656002)(76116006)(66946007)(66476007)(41300700001)(55016003)(86362001)(2906002)(83380400001)(66446008)(122000001)(7696005)(6916009)(6506007)(38100700002)(38070700005)(52536014)(4326008)(8676002)(64756008)(44832011)(66556008)(8936002)(186003)(478600001)(316002)(5660300002)(71200400001)(9686003); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: 9GuE8D5SmikVStrE/ClCBm4tbXzmSmHvBdJMAW0LiMXS+o03xzVx7xS60x4I383kTzjCoJ9RsSTJspjHb8hJVWqprGKA2NVcNMReHxhvkOzgnY7oYPBKFm0eujP5YqARva+Ha1ntPcyU7MnSnG6KM0KggA2nMbFndlK3Nkdd8vUyavy091pRfQwMLgs5TursmVy5H3AHhl26xH2usWnp8tO4LTUUiXzRZLr7TRZNsMp+Zam8xjIqXqSh130yVHveHHqsKKWtxZrTaPhuLEaH3I5xQ1qvldW/I24DaVuXB11SNawWymBdGJ8wyCp2Cl6G2p9NF0gD/VA26XqGzOcQoUKe4uNfWZhElMJqFAvtWDesb5G+DpqknPtmewVzgm/iUab44yW7dyvcjwRnWzP0Bvs/Fbvr4B9pX04WCZPLiqIjMvgYrT7HVGDtdZoLrhL6Ek7lCREb/TxEpCzSunWwZY+KnuvDHA2lf5sxfYnQokS8S8jZKQZhuZWOTUzhXT29Gux1ODqYfNzV83ZUoa2jB5+fOpnhHN0+zFlnxj8QPqtLkt9tlygqYbn7WRmkaPXVgGlaOQ6iRueyq5WyUMgGfbieTgs7+VqwjyfLcpLZL/Ib2sR4Kg84y43B0VaWFKHNLVwUKZ3vTSFO3ksd89DpAJKc9tmC99Ahm01C/feHilr4R2zNY8u+X+URaleevt3FC9huzE2sLK9HLDz1DeVbs5k87MFuGJInFWiTiWDNfAAd5cobDZM6etnzKf7gZ+USV2DmY6Je9kp2UAJZTF3JD8gURfh1CGx+7v9ikf237eMcqpPVNJcH5obttT9FsUugiTM001J24jmQlYwLQwh9ldDa18XbsmHp98FlDTOC+TZHJ0t0g7cV5KGPHpcKfxn3PSrMa+GA029+aflf/pTlZpk2hQwtNwVXWk7tDm1MWw2cRHpeWx+CD61OhQ2YVLLVrtl/jsteaJ0fJooDrbmAprlj8k8aT4NpcTeLsng9P7mqKVsEestxUEOGn43RFxRmqEiSElTmW2QAId950kWJlX7YzbdNHn+hgpM2z7/oP40btM5N6ktMLSgeB47Gl+Qt3axSiFOUPM29nlJoYrbsX9gqourcEsiz/iAakGwYoDEtFIz/9j1NNz3Qwy/xPTPrQmqHKpCqT+X6q1WMge24PQyTM5crXK5LFPLfnnOyUPLdKBwbqVoEjPI/9GrPZpHHSKs+tB+RiKbvTRn5sgiIri8piih3hFGePo649Jdgcd38n4bG3+7QmplQPSsfX36RuxkDlu/1etrLp2uAsqEGJPrymizYNKFLxfQjTk0xnoSipgx7BedWdjZY7/TfdE4nYEa7yqzsZ0Gt6XJWMtWeBDhoT8hQw6kW3E1eBVXa2qCboQUMFY9Q8Dy3fgM4o7Ip2a6Vxpd1wZ7WXwCNEgqDDMTSHynPy1Nz/DtBQVLAaTZwjzwiCOgkg41uD5EMVKjOuYYiu6aBRlA05Jk9A0EwOuR34OF0sdjmTW+rkbci1JInFDwaopOQfl9mreRpM1qK02cD5LJbVFuZykuYel4RCwzSK+ZoSIvKjgpsozPrurq2EyU3keUBnmrMJLfw1HXsv7Y+mdD1gkROEiSh+T1QoPuaxOQf4fzc5l15NPp+vhqj/hEp1KdHvhcjZ1jt4uRHqE6Yc+iMeCJ5JNDdbmCEYA==
Content-Type: multipart/alternative; boundary="_000_DU0P190MB1978C2564FDEEA0F276A0602FD0D9DU0P190MB1978EURP_"
MIME-Version: 1.0
X-OriginatorOrg: iotconsultancy.nl
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: DU0P190MB1978.EURP190.PROD.OUTLOOK.COM
X-MS-Exchange-CrossTenant-Network-Message-Id: f897f069-0be4-407a-3699-08dacc785938
X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Nov 2022 10:57:29.0719 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 58bbf628-15d2-46bc-820b-863b6774d44b
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: e3trgXmvu5MLb0xFYoj85L4CHhryRet2443i5VO47mUCGE76o9jJLXKrELzY5YwQuRNp0lTGmf1b2ZfgD9IqaM7ssXTa4ytYFFvDeiYfzRc=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV1P190MB2018
Archived-At: <https://mailarchive.ietf.org/arch/msg/anima/fR8h-U0Or3FKHZBgh0iYGsA_sxQ>
Subject: [Anima] DNS-SD in GRASP - draft-eckert-anima-grasp-dnssd-04
X-BeenThere: anima@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Autonomic Networking Integrated Model and Approach <anima.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/anima>, <mailto:anima-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/anima/>
List-Post: <mailto:anima@ietf.org>
List-Help: <mailto:anima-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/anima>, <mailto:anima-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 22 Nov 2022 10:57:40 -0000

Hi all,

From a DNS/DNS-SD background and interest I started looking into draft-eckert-anima-grasp-dnssd-04.  Also saw some earlier list discussion on this topic (GRASP + DNS-SD).

It looks like the draft mainly aims to provide a “multi-hop mDNS like functionality over an ACP by using GRASP” with unsolicited (flooded) service announcements, plus service queries. That looks quite useful to have (looking at draft-eckert-anima-services-dns-autoconfig-02 for the motivation for this.)

First question is, why do we want to define a separate GRASP i.e. CBOR format for the DNS(-SD) information? For example in CoRE WG for constrained nodes currently the draft draft-ietf-core-dns-over-coap-01 defines the re-use of the DNS format and no specific redefinition of this format as CBOR. And this intends to work for constrained nodes (like e.g. ACPna?)   So if we still want to use a CBOR based format we should have a clear motivation for this. (I understood there may be some concerns on code size of the DNS format parser?) And ideally in case CoRE WG or another WG does start to define a CBOR-based DNS format (there was talk about this at IETF 115, opportunity for even more compact representations) then such format would ideally be equal to the one carried in GRASP, I think. Otherwise we will have so many different formats!

Re-using the existing DNS formats will save a lot of redefining things, now and in the future. If there are worries that some DNS-SD features (like e.g. ‘_sub’)  are too complex for ACP-nodes then the draft could focus on a particular constrained ‘profile’ of DNS-SD that rules out such constructs. So, a generic IETF-wide new encoding of DNS-as-CBOR is maybe useful, but doing this for GRASP specifically? I have some doubts here.

Second question is, do we need to better motivate in the draft the 100% distributed nature of the service discovery mechanism? Since the dnssd WG is now moving towards more centralized approaches, avoiding mDNS and avoiding multicast/flooding: using Service Registration Protocol (SRP). In this solution  there are 1 or a few SRP Registrars to which nodes can register their service(s); and DNS clients may discover those services again using (unicast) DNS queries to one of the SRP Registrars. Perhaps one motivation is that in the bootstrap scenario, no SRP Registrars are defined yet so hence SRP cannot be used. And the case of multiple SRP Registrars requires automatic sync’ing between Registrars which is complex / not suitable for an ACP. And a single SRP Registrar could be possible but is then a single-point-of-failure and nothing works if this drops out.

Third question, what if every ACP-node starts flooding some service(s) – is that scalable to 100s or 1000s of nodes? Maybe we want to avoid this situation. It wasn’t clear to me yet if such use cases are intended. E.g. draft-eckert-anima-services-dns-autoconfig-02 mentions “SSH server” as a service which is what every ACP-node would have.

Regards
Esko