Name

dns-sd

Synopsis

dns-sd [-E | -F | -A | -I | -M | -N | -T | -U]
dns-sd -B _app_protocol._transport_protocol domain
dns-sd -L service_name _app_protocol._transport_protocol domain
dns-sd -R service_name _app_protocol._transport_protocol domain port [key=value]...
dns-sd -P service_name _app_protocol._transport_protocol domain port hostname ip_addr [key=value]...
dns-sd -Q fqdn rr_type [rr_class]

This command is the same as mDNS (see the entry later in this section), with the addition of the -P and -Q options.

Options

-P

As -R, but registers a service provided by a different host than the one on which dns-sd is run. It also creates a multicast DNS address record for that host.

-Q

Queries for arbitrary DNS resource records. The arguments are the fully qualified domain name of what you want to learn about, an RR type (such as A, PTR, TXT, SRV, etc.), and optionally an RR class (which defaults to 0, the IN class).

Get Mac OS X Tiger in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.