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
Fedor Indutny
5977cba985
tls: reuse hostname from underlying net.Socket
When `tls.connect()` is called with `socket` option, it should try to
reuse hostname previously passed to `net.connect()` and only after that
fall back to `'localhost'`.
fix #6409
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.
12 years ago
Koichi Kobayashi
72ad2c94df
https: fix default port
https.get('https://github.com/ ') should use port 443, not 80.
12 years ago
Ben Noordhuis
14f45ba739
test: move two tests from simple/ to internet/
Fixes #5876 .
12 years ago
Pavel Lang
2ad98725d6
DNS: Support NAPTR queries
They were previously removed in a90bc78534
.
12 years ago
isaacs
1b870b6127
test: Move test-net-connect-timeout to test/internet
It is not a valid test unless you're connected to the internet, and causes
a lot of spurious failures on Linux anyway, as it's highly dependent on
timing of things that we don't have any control over.
12 years ago
Ben Noordhuis
a39f669bc7
test: move simple/test-http-dns-fail to test/internet
The test times out when the upstream DNS resolver takes too long to
respond.
See #4672 .
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 .
14 years ago
Bert Belder
72e18d7f19
dns_uv: match the old api better, fix tests
14 years ago
Ryan Dahl
e8542b6220
Fix internet testcase config
14 years ago
Bert Belder
1e29fe65c3
Fix `make test-internet`
14 years ago
Bert Belder
858f23094e
Bindings for libuv-integrated c-ares
14 years ago
Ryan Dahl
97255c2651
Fix test harness for Linux
Mostly just upgraded tools/test.py to the latest one that's in V8. But also
fixing the before and after hooks to preserve the test/tmp directory so that
running tests manually usually works.
14 years ago
arlolra
04fac19822
Split tests.
15 years ago