Skip to content

Commit

Permalink
doc: add changelogs for dns
Browse files Browse the repository at this point in the history
PR-URL: #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>
  • Loading branch information
addaleax committed Feb 24, 2017
1 parent 5bc9349 commit 4f93601
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions doc/api/dns.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 4f93601

Please sign in to comment.