DNS-SD for publishing AVDECC Entities



Similar documents
Using Bonjour Across Subnets

New DNS Technologies in the LAN

Copyright

Joe Davies. Principal Writer Windows Server Information Experience. Presented at: Seattle Windows Networking User Group June 1, 2011

Back to My Mac 77 th IETF, Anaheim

Network Load Balancing

IPv6.marceln.org.

NetIQ Advanced Authentication Framework - MacOS Client

How to Configure the Windows DNS Server

Accelerating Service Discovery in Ad-hoc Zero Configuration Networking

Lab 2. CS-335a. Fall 2012 Computer Science Department. Manolis Surligas

Computer Networks. Introduc)on to Naming, Addressing, and Rou)ng. Week 09. College of Information Science and Engineering Ritsumeikan University

IP - The Internet Protocol

How to Add Domains and DNS Records

Network layer: Overview. Network layer functions IP Routing and forwarding

Automatic Configuration and Service Discovery for Networked Smart Devices

Use Domain Name System and IP Version 6

Introduction to IP v6

Motivation. Domain Name System (DNS) Flat Namespace. Hierarchical Namespace

FAQ (Frequently Asked Questions)

Guide to Network Defense and Countermeasures Third Edition. Chapter 2 TCP/IP

Procedure: You can find the problem sheet on Drive D: of the lab PCs. 1. IP address for this host computer 2. Subnet mask 3. Default gateway address

Implementing DHCPv6 on an IPv6 network

Fasthosts Internet Parallels Plesk 10 Manual

DNS. Computer Networks. Seminar 12

DNS Resolving using nslookup

Domain Name System :49:44 UTC Citrix Systems, Inc. All rights reserved. Terms of Use Trademarks Privacy Statement

Presto User s Manual. Collobos Software Version Collobos Software, Inc

Recent advances in IPv6 insecurities Marc van Hauser Heuse Deepsec 2010, Vienna Marc Heuse

Wireless LAN Apple Bonjour Deployment Guide

Copyright

Presto User s Manual. Collobos Software Version Collobos Software, Inc!

Connection Broker The Leader in Managing Hosted Desktop Infrastructures and Virtual Desktop Infrastructures (HDI and VDI) DNS Setup Guide

IPv6 Trace Analysis using Wireshark Nalini Elkins, CEO Inside Products, Inc.

Networking Domain Name System

DNS Conformance Test Specification For Client

1 Data information is sent onto the network cable using which of the following? A Communication protocol B Data packet

The Extreme Networks Solution for Apple Bonjour Traffic Management A SOLUTION WHITE PAPER

Security of IPv6 and DNSSEC for penetration testers

SSSD DNS Improvements in AD Environment

Course Overview: Learn the essential skills needed to set up, configure, support, and troubleshoot your TCP/IP-based network.

How-to: DNS Enumeration

Operational Problems in IPv6: Fallback and DNS issues

Java Secure Application Manager

Symantec Endpoint Protection 11.0 Network Threat Protection (Firewall) Overview and Best Practices White Paper

Cisco DNS-AS Troubleshooting

Configuration Notes 0215

Contents. Introduction to Bonjour Overview 5. About Bonjour 6. Domain Naming Conventions 14. Bonjour Operations 18

DNS ActiveX Control for Microsoft Windows. Copyright Magneto Software All rights reserved

Bonjour. Connect computers and electronic devices automatically, without any configuration. Features. Instant Networking and Dynamic Service Discovery

IP Addressing and Subnetting. 2002, Cisco Systems, Inc. All rights reserved.

Personal Firewall Default Rules and Components

Getting started with IPv6 on Linux

DC Agent Troubleshooting

IP-Telephony Real-Time & Multimedia Protocols

3. The Domain Name Service

IP Routing Features. Contents

IP address format: Dotted decimal notation:

EXPLORER. TFT Filter CONFIGURATION

8.2 The Internet Protocol

IPv6 Addressing. Awareness Objective. IPv6 Address Format & Basic Rules. Understanding the IPv6 Address Components

Apache and Zeroconf Networking

Contents. About Bonjour 5. Bonjour Concepts 8. Domain Naming Conventions 17. Bonjour API Architecture 21

IP addressing. Interface: Connection between host, router and physical link. IP address: 32-bit identifier for host, router interface

Guide to TCP/IP, Third Edition. Chapter 3: Data Link and Network Layer TCP/IP Protocols

Introduction to Network Operating Systems

How to set up the Integrated DNS Server for Inbound Load Balancing

SolarWinds Log & Event Manager

IPv6 Associated Protocols

PowerLink Bandwidth Aggregation Redundant WAN Link and VPN Fail-Over Solutions

WSNetServer User Manual. Date: July

Teldat Router. DNS Client

DEPLOYMENT GUIDE Version 1.4. Configuring IP Address Sharing in a Large Scale Network: DNS64/NAT64

How To Configure Voice Vlan On An Ip Phone

Internet Engineering Task Force. Intended status: Experimental Expires: September 6, 2012 March 5, 2012

Port Scanning and Vulnerability Assessment. ECE4893 Internetwork Security Georgia Institute of Technology

Lab - Observing DNS Resolution

Guideline for setting up a functional VPN

TCP/IP Basis. OSI Model

DNS and DHCP. 14 October 2008 University of Reading

Generalised Socket Addresses for Unix Squeak

Installation Guide Advanced Authentication - Linux PAM Client. Version 5.3

DNS (Domain Name System) is the system & protocol that translates domain names to IP addresses.

Chapter 8 Advanced Configuration

Hands-on Network Traffic Analysis Cyber Defense Boot Camp

How To - Configure Virtual Host using FQDN How To Configure Virtual Host using FQDN

ICS 351: Today's plan

Introduction to TCP/IP

what s in a name? taking a deeper look at the domain name system mike boylan penn state mac admins conference

Introduction to Analyzer and the ARP protocol

netkit lab dns Università degli Studi Roma Tre Dipartimento di Informatica e Automazione Computer Networks Research Group Version Author(s)

Configuration Network Management Card-2

Ethernet. Ethernet. Network Devices

Section 1 Overview Section 2 Home... 5

Voice over IP: RTP/RTCP The transport layer

Chapter 6 Configuring the SSL VPN Tunnel Client and Port Forwarding

Transcription:

DNS-SD for publishing AVDECC Entities IEEE P1722.1 F2F - Detroit - Oct 21, 2014 Jeff Koftinoff jeff.koftinoff@gmail.com

Service Discovery Service Discovery is a solved problem using the Domain Name System 2

IP transport of 1722 / 1722.1 IEEE P1722 Draft 10 Annex J specifies how to transport AVTPDU s via UDP Enables transport of AVTP and AVDECC protocols via UDP on IPv4 and IPv6 networks Destination UDP port 17220 is used for streams ( Continuous ) Destination UDP port 17221 is used for control ( Discrete ) UDP payload for both contains a 32 bit extended sequence number followed by the AVTPDU payload starting with the subtype field 3

DNS-SD DNS Based Service Discovery (DNS-SD) is defined in RFC 6763 DNS-SD is independent of Multicast DNS (MDNS) and does not require MDNS. DNS-SD works with all DNS Servers DNS-SD scales just as DNS does, across the Internet DNS-SD allows services to be grouped together logically without regards to subnets. i.e. the subdomain north.building.example.com. can contain all of the entities on the north side of the building even if each floor uses a different subnet and subdomains. 4

Enabling DNS-SD service browsing on a DNS server Add the PTR records to allow browsing services: b._dns-sd._udp.<domainname>. IN PTR <domainname>. lb._dns-sd._udp.<domainname>. IN PTR <domainname>. See RFC6763 Section 11 for details and further options 5

Listing service types in a domain with DNS-SD The _services._dns-sd._udp PTR records point to all of the services advertised in the domain. Each protocol type has a record for each service of that type. Example for the AVDECC UDP protocol: _services._dns-sd._udp.<domainname>. PTR _avdecc._udp.<domainname>. 6

Listing AVDECC services in a domain with DNS-SD The _avdecc._udp PTR records point to the SRV (service) records representing the servers of that type in the domain. Example: _avdecc._udp.<domainname>. PTR mixer._avdecc._udp.<domainname>. _avdecc._udp.<domainname>. PTR stagebox1._avdecc._udp.<domainname>. _avdecc._udp.<domainname>. PTR stagebox2._avdecc._udp.<domainname>. 7

Listing AVDECC Service details in a domain with DNS-SD Each *._avdecc._udp SRV record contains the priority, weight, UDP port, and host name for a specific AVDECC Service. Example: mixer._avdecc._udp.<domainname>. SRV 0 0 17221 mixer.<domainname>. stagebox1._avdecc._udp.<domainname>. SRV 0 0 17221 stagebox1.<domainname>. stagebox2._avdecc._udp.<domainname>. SRV 0 0 17221 stagebox2.<domainname>. Each *._avdecc._udp SRV record is required to also have an associated TXT record. Example: mixer._avdecc._udp.<domainname>. TXT txtvers=1 stagebox1._avdecc._udp.<domainname>. TXT txtvers=1 stagebox2._avdecc._udp.<domainname>. TXT txtvers=1 8

Listing AVDECC Service Host Names in a domain with DNS-SD Each A record contains an IPv4 address of a service. Each AAAA record contains an IPv6 address of a service. A single service may be accessible via multiple IPv4 and IPv6 addresses. Example: stagebox1.<domainname>. A 192.168.147.5 stagebox1.<domainname>. A 192.168.147.6 mixer.<domainname>. A 192.168.147.7 mixer.<domainname>. mixer.<domainname>. AAAA fe80::3e15:c2ff:fee7:3a0 AAAA fd57:2bb3:a4bf:d6af:79ba:23b5:ffa5:4ecc 9

Looking up AVDECC Entities with DNS-SD Once the DNS records are in place, you can find the details of all the AVDECC Entities in a (sub)domain. On Mac OS X: $ dns-sd -B _avdecc._udp <domainname>. Timestamp A/R Flags if Domain Service Type Instance Name 5:27:08.098 Add 3 4 <domainname>. _avdecc._udp. mixer 5:27:08.098 Add 3 4 <domainname>. _avdecc._udp. stagebox1 5:27:08.098 Add 2 4 <domainname>. _avdecc._udp. stagebox2 $ dns-sd -L mixer _avdecc._udp <domainname>. Lookup mixer._avdecc._udp.<domainname>. 5:27:14.404 mixer._avdecc._udp.<domainname>. at mixer.<domainname>.:17221 Flags: 2 txtvers=1 On Linux with avahi ( see www.avahi.org ) $ avahi-browse -d <domainname>. -r _avdecc._udp 10

Details of the AVDECC DNS-SD lookup Using the ubiquitous nslookup tool do an actual query for PTR records at _avdecc._udp.statusbar.info. and each returned record points to one SRV record and a TXT record, and follow the SRV for the connection info (actual console log): $ nslookup -query=ptr _avdecc._udp.statusbar.info. _avdecc._udp.statusbar.info name = mixer._avdecc._udp.statusbar.info. _avdecc._udp.statusbar.info name = stagebox1._avdecc._udp.statusbar.info. _avdecc._udp.statusbar.info name = stagebox2._avdecc._udp.statusbar.info. $ nslookup -query=srv mixer._avdecc._udp.statusbar.info. mixer._avdecc._udp.statusbar.info service = 0 0 17221 mixer.statusbar.info. $ nslookup -query=txt mixer._avdecc._udp.statusbar.info. mixer._avdecc._udp.statusbar.info text = "txtvers=1" $ nslookup -query=a mixer.statusbar.info. Address: 192.168.147.7 11

Enumeration At this point, the Controller knows to send AECP AEM GET_DESCRIPTOR commands to 192.168.147.7 UDP port 17221 to enumerate the mixer entity The Controller repeats this process with the other Talkers and Listeners in the domain 12

Creating the DNS-SD Records The DNS-SD records can be created by the IT administrator for the domain using the normal DNS tools Another option is for the Entities to be configured to use RFC2845 to do secure remote updates of DNS records of the DNS servers. All of this functionality is also compatible with Multicast DNS (aka Bonjour, RFC 6762) and Wide Area Bonjour A good reference on DNS-SD is Stuart Cheshire s book: Zero Configuration Networking: The Definitive Guide, ISBN: 978-0-596-10100-8 13

Publishing Streams with DNS-SD While it is definitely possible to publish _avtp._udp. services via DNS-SD, with properties in the TXT records, it is not desirable since: Stream properties and availability can change dynamically and DNS records have long TTL in order to reduce pressure The typically very large number of streams adds pressure on the DNS server due to the multitude of PTR, SRV, TXT and A records DNS TXT records for stream properties is duplication of some AVDECC functionality yet insufficient to fully replace AVDECC enumeration, configuration, stream management and diagnostics. An AVDECC Controller does this better. 14