17
- 1 - Jaehoon (Paul) Jeong and Sejun Lee Sungkyunkwan University DNSNA: DNS N ame A utoconfiguration for Internet of Things Devices (draft-jeong-6man-iot-dns-autoconf-00) http://datatracker.ietf.org/doc/draft-jeong-6man-iot-dns-autoconf/ IETF 94, Yokohama, Japan November 4, 2015 Jung-Soo Park ETRI

DNSNA: DNS Name Autoconfiguration for Internet of Things Devices

  • Upload
    buidieu

  • View
    246

  • Download
    2

Embed Size (px)

Citation preview

Page 1: DNSNA: DNS Name Autoconfiguration for Internet of Things Devices

-1-

Jaehoon (Paul) Jeong and Sejun Lee

Sungkyunkwan University

DNSNA: DNS Name Autoconfiguration for

Internet of Things Devices(draft-jeong-6man-iot-dns-autoconf-00)

http://datatracker.ietf.org/doc/draft-jeong-6man-iot-dns-autoconf/

IETF 94, Yokohama, Japan

November 4, 2015

Jung-Soo Park

ETRI

Page 2: DNSNA: DNS Name Autoconfiguration for Internet of Things Devices

-2-

Text-based Display of Devices

by AllSeen Alliance

Image-based Display of Devices

by DNSNA and Localization

Motivation: IoT Location-Based Service

Goal• Global (or Local) DNS Name Configuration for IoT Device DNS Name

Can be automated without the intervention of a network administrator

(or home users).

Applicability Domains• Home, Office, Smart grid, Road network, Mall (e.g., Wal-Mart and

Best Buy), and Factory (e.g., GM and Hyundai) 2

Living RoomBedroom-1

Bedroom-2

Study Room

Bath

roomKitchen

StorageEntry

Airconditioner-1

Airconditioner-2

Airconditioner-3

Robot Cleaner

DNS Server

Home IoT Device List

Smart TV

Refrigerator

Airconditioner-1

Airconditioner-2

Airconditioner-3

Robot Cleaner

Page 3: DNSNA: DNS Name Autoconfiguration for Internet of Things Devices

-3-

DNS Name Format

3

DNS Name Format 1:

• unique_id: Unique identifier to guarantee the uniqueness

• device_model: Product model of manufacturer name

• device_category: Device category name

• location: Physical location of the device (e.g., kitchen)

• domain_name: Representation and use of domain name (e.g., home, skku.edu)

DNS Name Format 2:

• unique_id: Unique identifier to guarantee the uniqueness

• object_identifier: Object identifier standardized by ITU-T and ISO/IEC Node Indication ID + Manufacturer ID + Model ID + Serial Number ID

• location: Physical location of the device (e.g., kitchen)

• domain_name: Representation and use of domain name (e.g., home, skku.edu)

unique_id.object_identifier.location.domain_name

unique_id.device_model.device_category.location.domain_name

Page 4: DNSNA: DNS Name Autoconfiguration for Internet of Things Devices

-4-

Protocol of DNS Name Autoconfiguration

4

1. DNS Name Generation 2. DNS Name Registration

Generation and Registration of IoT Device’s DNS Name

DNS Server

Router

Smartphone Access Point

IPv6 Host

Refrigerator

DAD for DNS Name

RA Option (DNS Search List)

DHCP Option (DNS Search List)

DNS Search List:

.home

1

2

3

Refrigerator generates its DNS name as

refrigerator1.samsung_RH269LP.refrigerator.kitchen.home

DNS Server

Router

Smartphone Access Point

IPv6 Host

Refrigerator

Get DNS Name

List for Devices

NI Query (DNS Name Collection)

Remote Control

by Device Icon

NI Reply (DNS Name & IPv6 Address)

Dynamic Update

(DNS Name)What is your DNS Name ?

1

2

4

3

5

My DNS name is

refrigerator1.samsung_RH269LP.refrigerator.kitchen.home

Page 5: DNSNA: DNS Name Autoconfiguration for Internet of Things Devices

-5-

Appendix Slides

Page 6: DNSNA: DNS Name Autoconfiguration for Internet of Things Devices

-6-

RA

(DNSSL Option)

DAD

Remote Control

by Device Icon

DNS Name

Generation

NI Query (DNS Name?)

NI Reply(DNS Name &

IPv6 Address)

IoT Device Router DNS Server

DNS Dynamic Update(DNS Name & IPv6 Address)

User Device

Get Device List

Put Device List

DNS Query(DNS Name?)

DNS Response

(No Such DNS Name)

6

Time Sequence Diagram of DNSNA

1. DNS Name Generation

2. DNS Name Collection

3. DNS Name Registration

4. IoT Device List

Retrieval

Page 7: DNSNA: DNS Name Autoconfiguration for Internet of Things Devices

-7-

DNS Name Resolution at mDNS DNS Name Resolution at DNSNA

Network Topology Comparison between mDNS & DNSNA in terms of DNS Traffic

for DNS Name Resolution in a Multi-link Network

7

Page 8: DNSNA: DNS Name Autoconfiguration for Internet of Things Devices

-8- 8

DNSNA vs. mDNS (RFC6762) Approaches DNSNA mDNS

Packet Forwarding Unicasting Multicasting

Authoritative

DNS ServerYes

No

(host itself is server)

Naming Scope Global, Local Local

Target Networks Small, Large Small

Socket RAW/IPv6 UDP/IPv6

Host Implementation A little extension of NDmDNS implementation

required

Code Size Hundreds lines Thousands lines

Target Devices Constrained Devices Apple Equipment

Message Number

2ⅹ#hops of the path

from client to DNS

server

#links in the network +

#hops from target to

client

Page 9: DNSNA: DNS Name Autoconfiguration for Internet of Things Devices

-9- 9

AMI Server

DB

Local network

Utility local network

3G/4G-LTE

Mobile network base station

Internet Wi-SUN

Gateway

G-type watt-hour meter

Standard watt-hour meter External watt-hour meter

Wireless section

Wi-SUN

Wi-SUN

Wi-SUN

Wi-SUN

Wi-SUN

Smart Grid Constrained Device List

𝑮𝒂𝒕𝒆𝒘𝒂𝒚 𝒈𝒂𝒕𝒆𝒘𝒂𝒚. 𝒔𝒎𝒂𝒓𝒕_𝒈𝒓𝒊𝒅𝟏. 𝒈𝒓𝒊𝒅

𝑺𝒕𝒂𝒏𝒅𝒂𝒓𝒅_𝒎𝒆𝒕𝒆𝒓𝟏 𝒔𝒕𝒂𝒏𝒅𝒂𝒓𝒅_𝒎𝒆𝒕𝒆𝒓𝟏.𝒔𝒎𝒂𝒓𝒕_𝒈𝒓𝒊𝒅𝟐.𝒈𝒓𝒊𝒅

𝑺𝒕𝒂𝒏𝒅𝒂𝒓𝒅_𝒎𝒆𝒕𝒆𝒓𝟐 𝒔𝒕𝒂𝒏𝒅𝒂𝒓𝒅_𝒎𝒆𝒕𝒆𝒓𝟐.𝒔𝒎𝒂𝒓𝒕_𝒈𝒓𝒊𝒅𝟐.𝒈𝒓𝒊𝒅

𝑬𝒙𝒕𝒆𝒓𝒏𝒂𝒍_𝒎𝒆𝒕𝒆𝒓1 𝒆𝒙𝒕𝒆𝒓𝒏𝒂𝒍_𝒎𝒆𝒕𝒆𝒓𝟏.𝒔𝒎𝒂𝒓𝒕_𝒈𝒓𝒊𝒅3.𝒈𝒓𝒊𝒅

𝑬𝒙𝒕𝒆𝒓𝒏𝒂𝒍_𝒎𝒆𝒕𝒆𝒓2 𝒆𝒙𝒕𝒆𝒓𝒏𝒂𝒍_𝒎𝒆𝒕𝒆𝒓2.𝒔𝒎𝒂𝒓𝒕_𝒈𝒓𝒊𝒅3.𝒈𝒓𝒊𝒅

𝑮_𝒕𝒚𝒑𝒆_𝒎𝒆𝒕𝒆𝒓1 𝒈_𝒕𝒚𝒑𝒆_𝒎𝒆𝒕𝒆𝒓𝟏.𝒔𝒎𝒂𝒓𝒕_𝒈𝒓𝒊𝒅4.𝒈𝒓𝒊𝒅

3G/4G-LTE

Applicability Domain: Smart Grid in Korea Electric

Power Corporation (KEPCO) for Pilot Service

smart_grid2 smart_grid3

smart_grid4

IPv6/6lo/Wi-SUN

smart_grid1

Page 10: DNSNA: DNS Name Autoconfiguration for Internet of Things Devices

-10- 10

Demonstration Devices (1/2)System Environment

Page 11: DNSNA: DNS Name Autoconfiguration for Internet of Things Devices

-11- 11

Demonstration Devices (2/2)Gateway

Meter (Constrained Device)

Page 12: DNSNA: DNS Name Autoconfiguration for Internet of Things Devices

-12- 12

DNSNA Configuration

Parameter Gateway Meter

OS Linux FreeRTOS

CPU ARM Cortex-A5 ARM Cortex-M4

RAM DDR2 256 Mbyte 64K-byte embedded SRAM

Flash Memory 256 Mbyte 256/512 Kbytes

Features

The Configuration of Router Advertisement Daemon (radvd)Interface wisun0

{

AdvSendAdvert on;

MinRtrAdvInterval 600;

MaxRtrAdvInterval 1800;

Prefix 2001:2c8:ee:100::/64

{

AdvOnLink on;

AdvAutonomous on;

AdvRouterAddr off;

};

RDNSS 2001:2c8::1

{

AdvRDNSSLifetime 3600;

};

DNSSL secter1.grid

{

AdvDNSSLifetime 3600;

};

};

Page 13: DNSNA: DNS Name Autoconfiguration for Internet of Things Devices

-13- 13

Demonstration of DNSNA (1/5)

Gateway

Meter 1

Meter 2

Router Advertisement (One Gateway and Two Meters)

Page 14: DNSNA: DNS Name Autoconfiguration for Internet of Things Devices

-14- 14

Demonstration of DNSNA (2/5)

Meter 1

Meter 2

Duplicate Address Detection (DAD) for DNS Names

Page 15: DNSNA: DNS Name Autoconfiguration for Internet of Things Devices

-15- 15

Demonstration of DNSNA (3/5)

Gateway

Meter 1

Meter 2

Node Information Query for DNS Name Collection

Page 16: DNSNA: DNS Name Autoconfiguration for Internet of Things Devices

-16- 16

Demonstration of DNSNA (4/5)

Gateway

Meter 1

Meter 2

Node Information Reply for DNS Name Collection

Page 17: DNSNA: DNS Name Autoconfiguration for Internet of Things Devices

-17- 17

Demonstration of DNSNA (5/5) DNS Dynamic Update

DNS Name Lookup

Gateway

Client PC