diff options
author | Vse Mozhet Byt <vsemozhetbyt@gmail.com> | 2017-07-20 21:01:51 +0300 |
---|---|---|
committer | Vse Mozhet Byt <vsemozhetbyt@gmail.com> | 2017-07-23 22:10:59 +0300 |
commit | 4d1e0862ced8134b1b4e57480bbd46ca14e61d0f (patch) | |
tree | d2b4c7d04d205bd4b806dd79478b86a8815dad99 /doc/api/dns.md | |
parent | 69f653dff902bf385dfa0ed0e89be3d0e1f57391 (diff) | |
download | android-node-v8-4d1e0862ced8134b1b4e57480bbd46ca14e61d0f.tar.gz android-node-v8-4d1e0862ced8134b1b4e57480bbd46ca14e61d0f.tar.bz2 android-node-v8-4d1e0862ced8134b1b4e57480bbd46ca14e61d0f.zip |
doc: fix some links
PR-URL: https://github.com/nodejs/node/pull/14400
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
Reviewed-By: Khaidi Chu <i@2333.moe>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'doc/api/dns.md')
-rw-r--r-- | doc/api/dns.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/api/dns.md b/doc/api/dns.md index b4d078bbb8..d0d3071cc8 100644 --- a/doc/api/dns.md +++ b/doc/api/dns.md @@ -191,7 +191,7 @@ added: v0.1.27 - `rrtype` {string} Resource record type. Default: `'A'`. - `callback` {Function} - `err` {Error} - - `records` {string[] | Object[] | string[][] | Object} + - `records` {string[] | Object[] | Object} Uses the DNS protocol to resolve a hostname (e.g. `'nodejs.org'`) into an array of the resource records. The `callback` function has arguments @@ -422,7 +422,7 @@ added: v0.1.27 - `hostname` {string} - `callback` {Function} - `err` {Error} - - `addresses` {string[][]} + - `addresses` {string[]} Uses the DNS protocol to resolve text queries (`TXT` records) for the `hostname`. The `addresses` argument passed to the `callback` function is @@ -436,7 +436,7 @@ treated separately. - `hostname` {string} - `callback` {Function} - `err` {Error} - - `ret` {Object[][]} + - `ret` {Object[]} Uses the DNS protocol to resolve all records (also known as `ANY` or `*` query). The `ret` argument passed to the `callback` function will be an array containing |