Browse Source

doc: add changelogs for dns

PR-URL: https://github.com/nodejs/node/pull/11489
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Italo A. Casas <me@italoacasas.com>
v6
Anna Henningsen 8 years ago
parent
commit
049a63601f
No known key found for this signature in database GPG Key ID: D8B9F5AEAE84E4CF
  1. 14
      doc/api/dns.md

14
doc/api/dns.md

@ -65,6 +65,10 @@ resolution.
## dns.lookup(hostname[, options], callback)
<!-- YAML
added: v0.1.90
changes:
- version: v1.2.0
pr-url: https://github.com/nodejs/node/pull/744
description: The `all` option is supported now.
-->
Resolves a hostname (e.g. `'nodejs.org'`) into the first found A (IPv4) or
@ -198,6 +202,11 @@ one of the error codes listed [here](#dns_error_codes).
## dns.resolve4(hostname[, options], callback)
<!-- YAML
added: v0.1.16
changes:
- version: v7.2.0
pr-url: https://github.com/nodejs/node/pull/9296
description: This method now supports passing `options`,
specifically `options.ttl`.
-->
Uses the DNS protocol to resolve a IPv4 addresses (`A` records) for the
@ -215,6 +224,11 @@ will contain an array of IPv4 addresses (e.g.
## dns.resolve6(hostname[, options], callback)
<!-- YAML
added: v0.1.16
changes:
- version: v7.2.0
pr-url: https://github.com/nodejs/node/pull/9296
description: This method now supports passing `options`,
specifically `options.ttl`.
-->
Uses the DNS protocol to resolve a IPv6 addresses (`AAAA` records) for the

Loading…
Cancel
Save