From de0053cc3280bdf72c9010f383290f79120a1e98 Mon Sep 17 00:00:00 2001 From: Vse Mozhet Byt Date: Mon, 2 Apr 2018 08:38:48 +0300 Subject: doc: fix various nits MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Replace 2 hyphens (--) by spaced m-dashes (—) as per STYLE_GUIDE.md. * Space infix operators. * Unify quotes in inline code spans (use only single quotes). * Unify `* Returns:` (eliminate deviations). * Dedupe spaces. PR-URL: https://github.com/nodejs/node/pull/19743 Reviewed-By: James M Snell Reviewed-By: Trivikram Kamat --- doc/api/dns.md | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'doc/api/dns.md') diff --git a/doc/api/dns.md b/doc/api/dns.md index 27c41bbf4b..d4fca7af84 100644 --- a/doc/api/dns.md +++ b/doc/api/dns.md @@ -141,7 +141,7 @@ changes: - `all` {boolean} When `true`, the callback returns all resolved addresses in an array. Otherwise, returns a single address. **Default:** `false`. - `verbatim` {boolean} When `true`, the callback receives IPv4 and IPv6 - addresses in the order the DNS resolver returned them. When `false`, + addresses in the order the DNS resolver returned them. When `false`, IPv4 addresses are placed before IPv6 addresses. **Default:** currently `false` (addresses are reordered) but this is expected to change in the not too distant future. @@ -499,16 +499,16 @@ will be present on the object: | Type | Properties | |------|------------| -| `"A"` | `address` / `ttl` | -| `"AAAA"` | `address` / `ttl` | -| `"CNAME"` | `value` | -| `"MX"` | Refer to [`dns.resolveMx()`][] | -| `"NAPTR"` | Refer to [`dns.resolveNaptr()`][] | -| `"NS"` | `value` | -| `"PTR"` | `value` | -| `"SOA"` | Refer to [`dns.resolveSoa()`][] | -| `"SRV"` | Refer to [`dns.resolveSrv()`][] | -| `"TXT"` | This type of record contains an array property called `entries` which refers to [`dns.resolveTxt()`][], eg. `{ entries: ['...'], type: 'TXT' }` | +| `'A'` | `address` / `ttl` | +| `'AAAA'` | `address` / `ttl` | +| `'CNAME'` | `value` | +| `'MX'` | Refer to [`dns.resolveMx()`][] | +| `'NAPTR'` | Refer to [`dns.resolveNaptr()`][] | +| `'NS'` | `value` | +| `'PTR'` | `value` | +| `'SOA'` | Refer to [`dns.resolveSoa()`][] | +| `'SRV'` | Refer to [`dns.resolveSrv()`][] | +| `'TXT'` | This type of record contains an array property called `entries` which refers to [`dns.resolveTxt()`][], eg. `{ entries: ['...'], type: 'TXT' }` | Here is an example of the `ret` object passed to the callback: -- cgit v1.2.3