<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>Ellipsis: Looking up IPs with mDNS and dns-sd on Mac OS X 10.4</title>
    <link>http://typo.pburkholder.com/articles/2008/01/02/looking-up-ips-with-mdns-and-dns-sd-on-mac-os-x-10-4</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>...</description>
    <item>
      <title>Looking up IPs with mDNS and dns-sd on Mac OS X 10.4</title>
      <description>&lt;p&gt;I forgot the IP address of my printer on my local area network at home.&lt;/p&gt;


	&lt;p&gt;And my Mac quite cleverly only had the mdns name in the DeviceURI, but for setting up an older Windows system I really wanted the IP. Here&amp;#8217;s how:&lt;/p&gt;


	&lt;ul&gt;
	&lt;li&gt;Browse for printers: &lt;code&gt;dns-sd -B _printers._tcp&lt;/code&gt; .. :&lt;pre&gt;&lt;code&gt;
  Timestamp     A/R Flags if Domain                   Service Type             Instance Name
21:56:43.972  Add     2  7 local.                   _printer._tcp.           Brother HL-2070N series&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;
		&lt;li&gt;Lookup the service info for the printer you&amp;#8217;ve found: &lt;code&gt; dns-sd -L "Brother HL-2070N series" _printer._tcp&lt;/code&gt;:&lt;pre&gt;&lt;code&gt;
21:58:30.695  Brother\032HL-2070N\032series._printer._tcp.local. can be reached at BRN-7E6301.local.:515 ...&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;
		&lt;li&gt;Query on the domain name: &lt;code&gt;dns-sd -Q BRN-7E6301.local.&lt;/code&gt;:&lt;pre&gt;&lt;code&gt;
Timestamp     A/R Flags if Name                             T   C Rdata
21:59:52.553  Add     2  7 BRN-7E6301.local.                1   1 192.168.15.103&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;
	&lt;/ul&gt;


	&lt;p&gt;The reason to bother documenting this?  Because the Mac Os X man page for &lt;code&gt;dns-sd&lt;/code&gt; doesn&amp;#8217;t document the use of the -Q switch.&lt;/p&gt;


	&lt;p&gt;Grrrrrrrrr.&lt;/p&gt;</description>
      <pubDate>Wed, 02 Jan 2008 18:54:00 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:7971475d-4ecb-4b8b-823e-1d85dc8b847b</guid>
      <author>Peter Burkholder</author>
      <link>http://typo.pburkholder.com/articles/2008/01/02/looking-up-ips-with-mdns-and-dns-sd-on-mac-os-x-10-4</link>
      <category>System Administration</category>
      <category>macosx</category>
    </item>
    <item>
      <title>"Looking up IPs with mDNS and dns-sd on Mac OS X 10.4" by rssnewsdigest</title>
      <description>urls to the latest world news. 
&lt;a href="http://rssnewsdigest.com" rel="nofollow"&gt;http://rssnewsdigest.com&lt;/a&gt;</description>
      <pubDate>Tue, 08 Apr 2008 01:28:20 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:486d7ca5-cd91-467a-992e-a081457ce365</guid>
      <link>http://typo.pburkholder.com/articles/2008/01/02/looking-up-ips-with-mdns-and-dns-sd-on-mac-os-x-10-4#comment-3999</link>
    </item>
  </channel>
</rss>
