Contents

dnssd

Discover, publish, and resolve network services on a local area or wide area network.

Overview

The DNS Service Discovery API helps you to perform three main tasks:

  • Registering a service.

  • Browsing for services.

  • Resolving service names to host names.

In support of these main tasks, this API can directly assist you in performing two subsidiary tasks:

  • Enumerating domains (finding recommended service domains).

  • Updating registrations (changing your DNS registration data dynamically).

Most apps shouldn’t use this API, and instead should use a higher-level service discovery API like NetService. Use dnssd if you’re writing BSD-style applications or cross-platform programs that don’t need to link to higher-level frameworks. You can also use dnssd if you need specific lower-level functionality exposed by this API.

Topics

Reference

Variables