0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/lib
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
..
internal child_process: reduce nextTick() usage 2017-06-09 01:38:58 -04:00
_http_agent.js http: overridable keep-alive behavior of Agent 2017-06-07 14:41:22 -04:00
_http_client.js https: support rejectUnauthorized for unix sockets 2017-06-08 13:40:20 -04:00
_http_common.js lib: implement async_hooks API in core 2017-05-10 22:22:29 +02:00
_http_incoming.js http: suppress data event if req aborted 2017-05-31 10:39:17 +02:00
_http_outgoing.js http: improve outgoing string write performance 2017-05-26 06:35:36 -04:00
_http_server.js errors,http_server: migrate to use internal/errors.js 2017-06-01 20:09:30 -07:00
_stream_duplex.js stream: add destroy and _destroy methods. 2017-05-22 08:34:14 +02:00
_stream_passthrough.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
_stream_readable.js stream: support Uint8Array input to methods 2017-05-27 11:19:39 +02:00
_stream_transform.js stream: improve multiple callback error message 2017-05-22 11:54:53 -04:00
_stream_wrap.js stream: avoid using forEach 2017-03-17 11:09:10 -07:00
_stream_writable.js stream: support Uint8Array input to methods 2017-05-27 11:19:39 +02:00
_tls_common.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
_tls_legacy.js test,lib,doc: use function declarations 2017-05-01 15:56:58 -07:00
_tls_wrap.js tls: accept lookup option for tls.connect() 2017-05-15 17:25:44 -04:00
.eslintrc.yaml tools: rename eslintrc to an undeprecated format 2017-01-18 09:48:52 +05:30
assert.js assert: fix deepEqual similar sets and maps bug 2017-06-05 18:33:49 -04:00
async_hooks.js async_hooks: minor refactor to callback invocation 2017-06-08 23:58:48 +02:00
buffer.js lib,src: refactor buffer out of range index 2017-05-27 21:11:26 -07:00
child_process.js child_process: support promisified exec(File) 2017-05-09 15:01:45 +02:00
cluster.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
console.js errors: migrate lib/console 2017-05-27 09:28:07 +02:00
constants.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
crypto.js test,lib,doc: use function declarations 2017-05-01 15:56:58 -07:00
dgram.js dgram: convert to using internal/errors 2017-05-24 10:16:46 -04:00
dns.js dns: add resolveAny support 2017-06-09 19:09:28 +02:00
domain.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
events.js lib: "iff" changed to "if and only if" 2017-06-06 14:38:28 -04:00
fs.js fs: expose Stats times as Numbers 2017-06-07 16:15:45 -04:00
http.js http: use more efficient module.exports pattern 2017-03-20 16:01:31 -07:00
https.js http: destroy sockets after keepAliveTimeout 2017-05-26 19:05:53 +03:00
inspector.js inspector: allow --inspect=host:port from js 2017-06-06 14:41:17 -07:00
module.js inspector: --debug* deprecation and invalidation 2017-05-29 11:33:59 -04:00
net.js lib: return this from net.Socket.end() 2017-06-07 12:54:00 -07:00
os.js os: refactor os structure, add Symbol.toPrimitive 2017-05-01 11:44:56 -07:00
path.js path: use internal/errors.js 2017-06-06 17:20:23 -04:00
process.js
punycode.js
querystring.js querystring: improve unescapeBuffer() performance 2017-05-26 18:39:14 +02:00
readline.js readline: clean up event listener in onNewListener 2017-06-01 16:20:03 -07:00
repl.js repl: remove unused function convertToContext 2017-06-05 13:30:05 +03:00
stream.js stream: support Uint8Array input to methods 2017-05-27 11:19:39 +02:00
string_decoder.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
sys.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
timers.js timers: do not use user object call/apply 2017-05-12 22:18:18 -07:00
tls.js tls: support Uint8Arrays for protocol list buffers 2017-03-27 02:08:49 +02:00
tty.js errors,tty: migrate to use internal/errors.js 2017-06-06 11:55:15 -04:00
url.js url: move to module.exports = {} pattern 2017-04-29 10:24:18 -07:00
util.js errors,util: migrate to use internal/errors.js 2017-06-02 10:54:30 -07:00
v8.js v8: refactor struture of v8 module 2017-04-28 14:29:45 -07:00
vm.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
zlib.js zlib: revert back to Functions 2017-06-05 10:56:52 -07:00