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
test-dgram-multicast-multi-process.js
test-dgram-send-cb-quelches-error.js
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-dns.js test: improve dns internet test case 2017-06-01 21:59:57 -04:00
test-http-dns-fail.js
test-http-https-default-ports.js
test-net-connect-timeout.js
test-net-connect-unref.js
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
testcfg.py