title: Raspberry PI mdns getaddrinfo 3008 error
body: <p>I've this sample Node.js script:</p>
  
  <pre><code>var mdns = require('mdns');
  
  var browser = mdns.createBrowser(mdns.tcp('http'));
  browser.on('error', function (error) {
      console.log("error");
      console.log(error);
  });
  browser.on('serviceUp', function (service) {
      console.log("serviceUp");
      console.log(service);
  });
  browser.start();
  </code></pre>
  
  <p>On my Mac it's working fine, and two services is found. If I run the exact same script on my <em>Raspberry PI 2</em> running <em>Raspbean</em> (connected to the same network), I get this output:</p>
  
  <pre><code>pi@raspberrypi ~ $ node mdns.js 
  *** WARNING *** The program 'node' uses the Apple Bonjour compatibility layer of Avahi.
  *** WARNING *** Please fix your application to use the native API of Avahi!
  *** WARNING *** For more information see &lt;http://0pointer.de/avahi-compat?s=libdns_sd&amp;e=node&gt;
  *** WARNING *** The program 'node' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi.
  *** WARNING *** Please fix your application to use the native API of Avahi!
  *** WARNING *** For more information see &lt;http://0pointer.de/avahi-compat?s=libdns_sd&amp;e=node&amp;f=DNSServiceRegister&gt;
  error
  { [Error: getaddrinfo -3008] code: -3008, errno: -3008, syscall: 'getaddrinfo' }
  error
  { [Error: getaddrinfo -3008] code: -3008, errno: -3008, syscall: 'getaddrinfo' }
  </code></pre>
  
  <p>A <a href="https://github.com/agnat/node_mdns/issues/129">issue on the mdns GitHub</a>, states that it's fair to ignore the warnings.</p>
  
  <p>But what about the two errors? Is that some kind of configuration issue on my <em>Raspberry PI</em>?</p>