Skip to content

Commit 4f93601

Browse files
committed
doc: add changelogs for dns
PR-URL: #11489 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Sam Roberts <[email protected]> Reviewed-By: Roman Reiss <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Italo A. Casas <[email protected]>
1 parent 5bc9349 commit 4f93601

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

doc/api/dns.md

+14
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,10 @@ resolution.
6565
## dns.lookup(hostname[, options], callback)
6666
<!-- YAML
6767
added: v0.1.90
68+
changes:
69+
- version: v1.2.0
70+
pr-url: https://github.com/nodejs/node/pull/744
71+
description: The `all` option is supported now.
6872
-->
6973

7074
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).
198202
## dns.resolve4(hostname[, options], callback)
199203
<!-- YAML
200204
added: v0.1.16
205+
changes:
206+
- version: v7.2.0
207+
pr-url: https://github.com/nodejs/node/pull/9296
208+
description: This method now supports passing `options`,
209+
specifically `options.ttl`.
201210
-->
202211

203212
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.
215224
## dns.resolve6(hostname[, options], callback)
216225
<!-- YAML
217226
added: v0.1.16
227+
changes:
228+
- version: v7.2.0
229+
pr-url: https://github.com/nodejs/node/pull/9296
230+
description: This method now supports passing `options`,
231+
specifically `options.ttl`.
218232
-->
219233

220234
Uses the DNS protocol to resolve a IPv6 addresses (`AAAA` records) for the

0 commit comments

Comments
 (0)