Timothy J Fontaine
7b72e15665
test: update test-dns.js after a60a9b0
resolveTxt now returns a 2-d array for all the chunks string chunks
relating to the record
11 years ago
Timothy J Fontaine
98a0909da0
test: internet/test-dns disable implicit ipv6
This ends up being too difficult to test across different deployments
11 years ago
Timothy J Fontaine
265fdc8e91
test: internet/test-dns handle ESERVFAIL
ESERVFAIL is also an acceptable error code when failing to resolve a
domain.
11 years ago
Tuğrul Topuz
bddea032b7
dns: add resolveSoa and 'SOA' rrtype
You can now query for SOA records by either passing 'SOA' to `resolve`
or by using the new `resolveSoa`
11 years ago
Ben Noordhuis
a2d1cbef6b
dns: set hostname property on error object
Make debugging and logging easier: when a DNS lookup for a hostname
fails, set the hostname as a property on the error object.
Fixes #5393 .
11 years ago
Ben Noordhuis
4ffa943c3f
test: fix up internet/test-dns after api change
* The test calls an internal API that changed in commit ca9eb71
.
* Trying to reverse-lookup a bogus hostname now returns EINVAL rather
than the (bogus!) status code ENOTIMP.
11 years ago
Pavel Lang
2ad98725d6
DNS: Support NAPTR queries
They were previously removed in a90bc78534
.
12 years ago
Dan Milon
7295bb9435
dns: make error message match errno
12 years ago
Bert Belder
b5db5fc9dc
test: pick another CNAME record to test dns queries
Google.com no longer has a CNAME record.
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
Ben Noordhuis
7f4aba91d3
test: include common.js in all tests
13 years ago
Andreas Madsen
4865063924
Tests: fix jslint issues
13 years ago
Ryan Dahl
be2320d408
Add binding to uv_getaddrinfo
13 years ago
Ryan Dahl
9631e29933
Remove tests relying on !process.features.uv
13 years ago
Colton Baker
87286cc737
Fixed a lot of jslint errors.
Fixes #1831
13 years ago
Ben Noordhuis
976c6b0826
test: add TXT DNS record lookup test
13 years ago
Ben Noordhuis
aa0308d618
process: add process.features, remove process.useUV
Partially fixes #1385 .
13 years ago
Bert Belder
72e18d7f19
dns_uv: match the old api better, fix tests
14 years ago
Bert Belder
858f23094e
Bindings for libuv-integrated c-ares
14 years ago