0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/test/internet
XadillaX 27de36926b
dns: add resolveAny support
`dns.resolveAny` and `dns.resolve` with `"ANY"` has the similar behavior
like `$ dig <domain> any` and returns an array with several types of
records.

`dns.resolveAny` parses the result packet by several rules in turn.

Supported types:

* A
* AAAA
* CNAME
* MX
* NAPTR
* NS
* PTR
* SOA
* SRV
* TXT

Fixes: https://github.com/nodejs/node/issues/2848
PR-URL: https://github.com/nodejs/node/pull/13137
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
2017-06-09 19:09:28 +02:00
..
test-dgram-broadcast-multi-process.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
test-dgram-multicast-multi-process.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
test-dgram-send-cb-quelches-error.js test: remove common.fail() 2017-04-12 14:25:33 -07:00
test-dns-any.js dns: add resolveAny support 2017-06-09 19:09:28 +02:00
test-dns-cares-domains.js test: reduce string concatenations 2017-05-05 17:39:05 +03:00
test-dns-ipv4.js dns: support promisified lookup(Service) 2017-05-09 15:01:46 +02:00
test-dns-ipv6.js test: reduce string concatenations 2017-05-05 17:39:05 +03:00
test-dns-regress-6244.js test: refactor test-dns-regress-6244.js 2017-05-18 23:02:31 +02:00
test-dns-setserver-in-callback-of-resolve4.js dns: fix crash using dns.setServers after resolve4 2017-05-18 23:09:08 +02:00
test-dns-txt-sigsegv.js test: s/assert.equal/assert.strictEqual/ 2017-01-11 14:19:26 +00:00
test-dns.js test: improve dns internet test case 2017-06-01 21:59:57 -04:00
test-http-dns-fail.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
test-http-https-default-ports.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
test-net-connect-timeout.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
test-net-connect-unref.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
test-tls-add-ca-cert.js test: reduce string concatenations 2017-05-05 17:39:05 +03:00
test-tls-connnect-melissadata.js
test-tls-reuse-host-from-socket.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
testcfg.py