<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:admin="http://webns.net/mvcb/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:html="http://www.w3.org/1999/html" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>Ross Burton</title><link>http://www.burtonini.com/blog</link><description>A potted account of Ross' life</description><language>en</language><ttl>60</ttl><dc:creator>Ross Burton</dc:creator><admin:generatorAgent rdf:resource="http://pyblosxom.sourceforge.net/"/><admin:errorReportsTo rdf:resource="mailto:ross@burtonini.com"/><item><title>mDNS Name Resolution</title><guid isPermaLink="false">computers/mdns-2005-03-03-14-26</guid><link>http://www.burtonini.com/blog/computers/mdns-2005-03-03-14-26</link><description>Today I made mDNS name resolution work, but first a little background about my network. I have a desktop PC ...</description><content:encoded><![CDATA[    <p>
      Today I made mDNS name resolution work, but first a little background
      about my network.  I have a desktop PC called <tt>eddie</tt>, a laptop
      called <tt>hactar</tt>, a Netwinder cunning called <tt>netwinder</tt>, and
      an iPaq h5500 called <tt>ipaq</tt>.  All of these machines connect to a
      wireless ADSL router and ask it for an IP address using DHCP, it gives
      them one and the DNS server, and all is good... until I want to
      <tt>ssh</tt> into the Netwinder from my laptop, and then <tt>scp</tt>
      files onto the iPaq, as I don't know the IP addresses.
    </p>
    <p>
      Until now my solution has been to do a broadcast ping with <tt>ping -b
      192.168.10.255</tt> and try the IPs which respond, but now I've finally
      found a sane <a href="http://0pointer.de/lennart/projects/nss-mdns/">mDNS
      name resolution plugin for NSS</a>.  This is trivially installed and
      configured (add <tt>mdns4</tt> to the <tt>hosts</tt> line in
      <tt>/etc/nsswitch.conf</tt>), but depends on a mDNS responder to be
      running on each machine.  Luckily, Howl is currently in Debian (though not
      for long), so after quickly installing it on all of the machines to my surprise it Just Worked:
    </p>
    <pre>
ross@hactar ~
$ getent hosts netwinder.local
192.168.10.104  netwinder.local
$ getent hosts ipaq.local
192.168.10.105  ipaq.local
    </pre>
    <p>
      Excellent!
    </p>
    <p>
      <small>NP: <cite>Vertigo</cite>, Groove Armada</small>
    </p>
]]></content:encoded><category domain="http://www.burtonini.com">/computers</category><dc:date>2005-03-03T14:26:00Z</dc:date></item></channel></rss>