tjfontaine / node-dns

Replacement dns module in pure javascript for node.js
MIT License
585 stars 154 forks source link

Fix exceptions when no nameservers are defined on platform #82

Closed bobvanderlinden closed 9 years ago

bobvanderlinden commented 9 years ago

When resolv.conf was empty, node-dns would give exceptions when resolving names. The exception happened in Resolve._fillServers and once that was fixed an exception was happened in Resolve.start.

I've tested the unit test with some additional fixes, so that some of the existing tests pass. I'll do a seperate PR for these unit test fixes.

bobvanderlinden commented 9 years ago

Thank you!