Skip to Content
Mac OS X Panther in a Nutshell, 2nd Edition
book

Mac OS X Panther in a Nutshell, 2nd Edition

by Chuck Toporek, Chris Stone, Jason McIntosh
June 2004
Intermediate to advanced
1056 pages
39h 58m
English
O'Reilly Media, Inc.
Content preview from Mac OS X Panther in a Nutshell, 2nd Edition

Name

mDNS

Synopsis

mDNS [-E | -F | -A | -U | -N | -T | -M]
mDNS -B type domain
mDNS -L service_name _app_protocol._transport_protocol domain
mDNS -R service_name _app_protocol._transport_protocol domain port [string]...

A basic client for Rendezvous multicast DNS (mDNS), primarily used for testing local mDNS service. When invoked with no arguments, it prints a usage statement to standard error. In most instances, the command doesn’t return on its own, so you’ll need to use Ctrl-C to break out.

When registering or looking up a name like website._http._tcp.local., website is the service_name, http is the app_protocol, tcp is the transport_protocol, and local is the domain. For example, to register such a service:

% mDNS -R website _http._tcp local 80 "my web site"

Options

-A

Test mDNS by repeatedly adding, updating, and then deleting an HINFO resource record for Test._testupdate._tcp.local..

-B

Browse for services (although this doesn’t seem to work).

-E

Discover and list domains recommended for registration of services.

-F

Discover and list domains recommended for browsing of services.

-L

Look up a service, displaying its host address, port number, and TXT records if found.

-M

Test mDNS by registering a service (Test._testdualtxt._tcp.local.) with multiple TXT resource records.

-N

Test mDNS by registering a service (Test._testupdate._tcp.local.) with a large NULL resource record.

-R

Register a service.

-T

Test mDNS by registering a service (Test._testlargetxt._tcp.local.) with a large ...

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

Mac OS X Tiger in a Nutshell

Mac OS X Tiger in a Nutshell

Andy Lester, Chris Stone, Chuck Toporek, Jason McIntosh

Publisher Resources

ISBN: 0596006063