Hmm. It appears they do the same thing, or close to it. Thanks.
dns-sd -B _afpovertcp._tcp. local.
mdns -B _afpovertcp._tcp. local.
But in the docs, it says this: The dns-sd command replaces the older mDNS(1) command.
So, it's good that now I'll be using the most updated command. Thanks Joe.
Zavs-lil-iMac-2:~ zav$ dns-sd -B _afpovertcp._tcp. local. Browsing for _afpovertcp._tcp..local. Timestamp A/R Flags if Domain Service Type Instance Name 20:40:05.816 Add 3 8 local. _afpovertcp._tcp. Zav's lil iMac 20:40:05.820 Add 3 9 local. _afpovertcp._tcp. Zav's lil iMac 20:40:05.820 Add 3 6 local. _afpovertcp._tcp. Zav's 27" iMac 20:40:05.820 Add 3 6 local. _afpovertcp._tcp. Zav's lil iMac 20:40:05.820 Add 3 6 local. _afpovertcp._tcp. Zavatone's MBP 20:40:05.820 Add 2 6 local. _afpovertcp._tcp. Development MBP 13
Notice how one machine has been added three times.
What would be awesome is if I could get it iPods on bonjour as well. Of course, that leads me to Erica Sadun who has gotten bonjour on the iPhone/iPad.
Cheers.
On Apr 1, 2012, at 7:10 PM, Joe wrote: Not certain if this helps…
Quote:
Obviously, 'man dns-sd' will explain it far better than I.
This is from the man page OMM, 10.7.3: dns-sd(1) BSD General Commands Manual dns-sd(1)
NAME
dns-sd -- Multicast DNS (mDNS) & DNS Service Discovery (DNS-SD) Test Tool
SYNOPSIS
dns-sd -R name type domain port [key=value ...]
dns-sd -B type domain
dns-sd -L name type domain
DESCRIPTION
The dns-sd command is a network diagnostic tool, much like ping(8) or
traceroute(8). However, unlike those tools, most of its functionality is
not implemented in the dns-sd executable itself, but in library code that
is available to any application. The library API that dns-sd uses is
documented in /usr/include/dns_sd.h. The dns-sd command replaces the
older mDNS(1) command.
The dns-sd command is primarily intended for interactive use. <SNIP>
|