Resolve .local domains with getaddrinfo()
authorRyan Dahl <ry@tinyclouds.org>
Wed, 30 Jun 2010 04:20:32 +0000 (21:20 -0700)
committerRyan Dahl <ry@tinyclouds.org>
Wed, 30 Jun 2010 05:15:28 +0000 (22:15 -0700)
commit0a8bd34b6993156da074ff89863f12e404e36ede
tree0da5b10e3cd756d12979dcaa93c7118e47a07baf
parent02ed0ec93bc8f6bcd7f1d629dca64ba1f335ea05
Resolve .local domains with getaddrinfo()

C-Ares doesn't go through the Name Service Switch (NSS) and thus can't
resolve certain classes of names. Generally this doesn't matter and the
whole idea of NSS is rather annoying. Nevertheless until C-Ares gets better
support, adding this hack to go through getaddrinfo() for .local domain look
up.

This reverts commit 9926dacd14c39276299712ced4a83fb043f27162.
lib/dns.js
src/node_net.cc