Skip to Content
Zero Configuration Networking: The Definitive Guide
book

Zero Configuration Networking: The Definitive Guide

by Daniel H Steinberg, Stuart Cheshire
December 2005
Intermediate to advanced
252 pages
8h 55m
English
O'Reilly Media, Inc.
Content preview from Zero Configuration Networking: The Definitive Guide

Chapter 6. Getting Started with Bonjour/Zeroconf

The previous chapters presented an overview of how the Zeroconf infrastructure works. The remainder of the book contains information on creating Zeroconf applications in a variety of settings. This chapter introduces the dns-sd command-line test tool, which lets you, the human user, perform common DNS-SD operations such as advertising services, browsing, and resolving. The dns-sd tool is not something you’d ever use in a shipping product, and it’s not intended to be used from shell scripts; it’s provided as a testing, development, and troubleshooting tool. It serves three main purposes.

First, if you’re a developer toying with the idea of adding Zeroconf to your product, the dns-sd tool allows you to experiment with “what if” scenarios, without writing a single line of code. If your product is a network camera that already supports RTSP and RTP video streaming, then the dns-sd tool lets you create a proxy advertisement for that camera, so that you can make it appear in the Open URL...menu in QuickTime Player 7, so you can get a feel for how the user experience could be for end users if the product had native Zeroconf support. When making a project proposal to management, being able to show a demo like this, interoperating with existing real-world software, is very compelling.

Second, when you’re ready to add Zeroconf to your product, the source code for the dns-sd tool (available from the Darwin open source repository) provides useful ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Zero Trust Networks

Zero Trust Networks

Evan Gilman, Doug Barth
Understanding and Troubleshooting Cisco Catalyst 9800 Series Wireless Controllers

Understanding and Troubleshooting Cisco Catalyst 9800 Series Wireless Controllers

Nicolas Darchis, Simone Arena, Francisco Sedano Crippa, Sudha Katgeri
SSH, The Secure Shell: The Definitive Guide, 2nd Edition

SSH, The Secure Shell: The Definitive Guide, 2nd Edition

Daniel J. Barrett, Richard E. Silverman, Robert G. Byrnes

Publisher Resources

ISBN: 0596101007Errata Page