Archive

Posts Tagged ‘dns’

DNS is a Hog (for DNS) on iOS

June 14th, 2014 No comments

I can’t imagine how DNS services on my iPhone could chew up 5.7 MB of data in two weeks. These are tiny little queries being made, aren’t they?

20140614-215815-79095559.jpg

Categories: Uncategorized Tags: , ,

Stream iTunes over SSH

September 28th, 2009 83 comments

Works with iTunes 10 and Lion

After (mostly unsuccessful) Googling for how to stream iTunes over SSH, I finally tracked down the difficult bits myself and put together a four three-line script:

#!/bin/sh
dns-sd -P "Home iTunes" _daap._tcp local 3689 localhost.local. \
  127.0.0.1 "Arbitrary text record" & 
trap "kill $!" 0 1 2 15
ssh -C -N -L 3689:localhost:3689 myusername@blahblahblah.dyndns.org

Update: I’ve cut this down to three lines using trap

Update: You can do this with iPhoto too.

Update: Works with OS X 10.7 Lion.

itunes-sharing

Read more…

Categories: Utility Tags: , , , , ,