O'Reilly logo

Mac OS X Tiger in a Nutshell by Jason McIntosh, Chuck Toporek, Chris Stone, Andy Lester

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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).

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required