CoRE Resource Directory: DNS-SD mapping
draft-ietf-core-rd-dns-sd-01

Document Type Active Internet-Draft (core WG)
Last updated 2018-03-14 (latest revision 2018-03-05)
Replaces draft-lynn-core-discovery-mapping
Stream IETF
Intended RFC status (None)
Formats plain text pdf html bibtex
Stream WG state WG Document
Document shepherd No shepherd assigned
IESG IESG state I-D Exists
Consensus Boilerplate Unknown
Telechat date
Responsible AD (None)
Send notices to (None)
CoRE                                                             K. Lynn
Internet-Draft                                           P. van der Stok
Intended status: Standards Track                             Consultants
Expires: September 6, 2018                                     M. Koster
                                                             SmartThings
                                                              C. Amsuess
                                             Energy Harvesting Solutions
                                                          March 05, 2018

                CoRE Resource Directory: DNS-SD mapping
                      draft-ietf-core-rd-dns-sd-01

Abstract

   Resource and service discovery are complimentary.  Resource discovery
   provides fine-grained detail about the content of a server, while
   service discovery can provide a scalable method to locate servers in
   large networks.  This document defines a method for mapping between
   CoRE Link Format attributes and DNS-Based Service Discovery fields to
   facilitate the use of either method to locate RESTful service
   interfaces (APIs) in mixed HTTP/CoAP environments.

Status of This Memo

   This Internet-Draft is submitted in full conformance with the
   provisions of BCP 78 and BCP 79.

   Internet-Drafts are working documents of the Internet Engineering
   Task Force (IETF).  Note that other groups may also distribute
   working documents as Internet-Drafts.  The list of current Internet-
   Drafts is at https://datatracker.ietf.org/drafts/current/.

   Internet-Drafts are draft documents valid for a maximum of six months
   and may be updated, replaced, or obsoleted by other documents at any
   time.  It is inappropriate to use Internet-Drafts as reference
   material or to cite them other than as "work in progress."

   This Internet-Draft will expire on September 6, 2018.

Copyright Notice

   Copyright (c) 2018 IETF Trust and the persons identified as the
   document authors.  All rights reserved.

   This document is subject to BCP 78 and the IETF Trust's Legal
   Provisions Relating to IETF Documents
   (https://trustee.ietf.org/license-info) in effect on the date of

Lynn, et al.            Expires September 6, 2018               [Page 1]
Internet-Draft   CoRE Resource Directory: DNS-SD mapping      March 2018

   publication of this document.  Please review these documents
   carefully, as they describe your rights and restrictions with respect
   to this document.  Code Components extracted from this document must
   include Simplified BSD License text as described in Section 4.e of
   the Trust Legal Provisions and are provided without warranty as
   described in the Simplified BSD License.

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   2
     1.1.  Terminology . . . . . . . . . . . . . . . . . . . . . . .   3
     1.2.  Resource Discovery  . . . . . . . . . . . . . . . . . . .   3
     1.3.  Resource Directories  . . . . . . . . . . . . . . . . . .   4
     1.4.  DNS-Based Service Discovery . . . . . . . . . . . . . . .   4
   2.  New Link-Format Attributes  . . . . . . . . . . . . . . . . .   5
     2.1.  Resource Instance attribute "ins" . . . . . . . . . . . .   6
     2.2.  Export attribute "exp"  . . . . . . . . . . . . . . . . .   6
   3.  Mapping CoRE Link Attributes to DNS-SD Record Fields  . . . .   6
     3.1.  Mapping Resource Instance attribute "ins" to <Instance> .   6
     3.2.  Mapping Resource Type attribute "rt" to <ServiceType> . .   7
     3.3.  Domain mapping  . . . . . . . . . . . . . . . . . . . . .   7
     3.4.  TXT Record key=value strings  . . . . . . . . . . . . . .   7
     3.5.  Importing resource links into DNS-SD  . . . . . . . . . .   8
   4.  Examples  . . . . . . . . . . . . . . . . . . . . . . . . . .   9
     4.1.  DNS entries . . . . . . . . . . . . . . . . . . . . . . .   9
   5.  IANA considerations . . . . . . . . . . . . . . . . . . . . .   9
   6.  Security considerations . . . . . . . . . . . . . . . . . . .   9
   7.  References  . . . . . . . . . . . . . . . . . . . . . . . . .   9
     7.1.  Normative References  . . . . . . . . . . . . . . . . . .   9
     7.2.  Informative References  . . . . . . . . . . . . . . . . .  10
   Acknowledgements  . . . . . . . . . . . . . . . . . . . . . . . .  11
   Authors' Addresses  . . . . . . . . . . . . . . . . . . . . . . .  11

1.  Introduction

   The Constrained RESTful Environments (CoRE) working group aims at
   realizing the REST architecture in a suitable form for the most
   constrained devices (e.g. 8-bit microcontrollers with limited RAM and
   ROM) and networks (e.g. 6LoWPAN).  CoRE is aimed at machine-to-
   machine (M2M) applications such as smart energy and building
   automation.  The main deliverable of CoRE is the Constrained
   Application Protocol (CoAP) specification [RFC7252].

   Automated discovery of resources hosted by a constrained server is
Show full document text