Pavel Lang
2ad98725d6
DNS: Support NAPTR queries
They were previously removed in a90bc78534
.
12 years ago
Xidorn Quan
009ba02e18
dns: fix ReferenceError in resolve() error path
A typo in the variable name makes it throw a ReferenceError instead of
the expected "Unknown type" error when dns.resolve() is passed a bad
record type argument.
Fixes the following exception:
ReferenceError: type is not defined
at Object.exports.resolve (dns.js:189:40)
at /Users/bnoordhuis/src/master/test/simple/test-c-ares.js:48:9
<snip>
12 years ago
Ben Noordhuis
12d0f0bd3a
lib, src: remove errno global
Remove the errno global. It's a property on the process object now.
Fixes #3095 .
12 years ago
Dan Milon
7295bb9435
dns: make error message match errno
12 years ago
isaacs
a90bc78534
Revert "DNS: Support NAPTR queries"
This reverts commit 91bf18fcc5
.
13 years ago
ssuda
91bf18fcc5
DNS: Support NAPTR queries
Adding support for NAPTR records
fixes #3170
13 years ago
Erik Dubbelboer
ecfe32e3a0
dns: add more error codes
13 years ago
Ben Noordhuis
b7b7b29f50
dns: remove unused functions
13 years ago
isaacs
0cdf85e28d
Lint all the JavaScripts.
13 years ago
Ryan Dahl
d5a21a29f8
getaddrinfo returns ENOTFOUND for invalid domain names
change test-http-dns-error to reflect this.
13 years ago
Ryan Dahl
c83dda89a4
dns.lookup uses cares_wrap::GetAddrInfo
13 years ago
Ryan Dahl
58e892dadd
Remove dns_legacy
13 years ago
Colton Baker
87286cc737
Fixed a lot of jslint errors.
Fixes #1831
13 years ago
Ryan Dahl
16b3f2c3ff
Fix dns_uv.lookup order
14 years ago
Ryan Dahl
2876141c42
dns_uv: add localhost hack for windows
14 years ago
koichik
485d5b5dff
dns: Force the DNS module to invoke callbacks asynchronously.
Fixes #1164 .
14 years ago
Ryan Dahl
b5e7b7870a
Revert "net_uv: fix localhost resolution - was defaulting to ::1 on OSX"
Breaks test/internet/test-dns.js
This reverts commit 6d8b082eed
.
14 years ago
Ryan Dahl
6d8b082eed
net_uv: fix localhost resolution - was defaulting to ::1 on OSX
14 years ago
Ryan Dahl
c0d3f1f485
uv: exception.code isntead of exception.errno
14 years ago
Bert Belder
858f23094e
Bindings for libuv-integrated c-ares
14 years ago