diff options
author | Vse Mozhet Byt <vsemozhetbyt@gmail.com> | 2018-04-29 20:46:41 +0300 |
---|---|---|
committer | Vse Mozhet Byt <vsemozhetbyt@gmail.com> | 2018-05-03 02:12:07 +0300 |
commit | 7588ceaf353af0f257d4d832bace4600edac704e (patch) | |
tree | cd01b69085d5c1134c43e61d8acc84586d1a188d /doc/api/dns.md | |
parent | bdf5be98dd901f6c312938198439dbda0b20d517 (diff) |
doc: add more missing backticks
Also, fix some other nits in passing
(formatting, punctuation, typos, redundancy, obsoleteness).
PR-URL: https://github.com/nodejs/node/pull/20438
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'doc/api/dns.md')
-rw-r--r-- | doc/api/dns.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/api/dns.md b/doc/api/dns.md index 46d8995fe99..e8932be9e38 100644 --- a/doc/api/dns.md +++ b/doc/api/dns.md @@ -194,7 +194,7 @@ dns.lookup('example.com', options, (err, addresses) => ``` If this method is invoked as its [`util.promisify()`][]ed version, and `all` -is not set to `true`, it returns a Promise for an object with `address` and +is not set to `true`, it returns a `Promise` for an `Object` with `address` and `family` properties. ### Supported getaddrinfo flags @@ -238,7 +238,7 @@ dns.lookupService('127.0.0.1', 22, (err, hostname, service) => { ``` If this method is invoked as its [`util.promisify()`][]ed version, it returns a -Promise for an object with `hostname` and `service` properties. +`Promise` for an `Object` with `hostname` and `service` properties. ## dns.resolve(hostname[, rrtype], callback) <!-- YAML @@ -593,8 +593,8 @@ Each DNS query can return one of the following error codes: - `dns.NONAME`: Given hostname is not numeric. - `dns.BADHINTS`: Illegal hints flags specified. - `dns.NOTINITIALIZED`: c-ares library initialization not yet performed. -- `dns.LOADIPHLPAPI`: Error loading iphlpapi.dll. -- `dns.ADDRGETNETWORKPARAMS`: Could not find GetNetworkParams function. +- `dns.LOADIPHLPAPI`: Error loading `iphlpapi.dll`. +- `dns.ADDRGETNETWORKPARAMS`: Could not find `GetNetworkParams` function. - `dns.CANCELLED`: DNS query cancelled. ## Implementation considerations |