• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Do shell script question - timeouts
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Do shell script question - timeouts


  • Subject: Re: Do shell script question - timeouts
  • From: Alex Zavatone <email@hidden>
  • Date: Sun, 01 Apr 2012 20:50:43 -0400

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.  

http://ericasadun.com/ftp/Erica Utilities for iPhone 2.0/

Cheers.


On Apr 1, 2012, at 7:10 PM, Joe wrote:

Not certain if this helps…

The link you provided led me to a comment here:   http://www.macupdate.com/app/mac/13388/bonjour-browser

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>

On Apr 1, 2012, at 11:48 AM, Alex Zavatone wrote:

Here's the background email that I'm referencing with notes on mDNS

http://lists.apple.com/archives/applescript-users/2004/Oct/msg00465.html


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >Do shell script question - timeouts (From: Alex Zavatone <email@hidden>)
 >Re: Do shell script question - timeouts (From: Doug McNutt <email@hidden>)
 >Re: Do shell script question - timeouts (From: Alex Zavatone <email@hidden>)
 >Re: Do shell script question - timeouts (From: Joe <email@hidden>)

  • Prev by Date: Re: Do shell script question - timeouts
  • Next by Date: ichat on message received handler
  • Previous by thread: Re: Do shell script question - timeouts
  • Next by thread: ichat on message received handler
  • Index(es):
    • Date
    • Thread