mirror of
https://github.com/nodejs/node.git
synced 2026-11-25 23:01:06 -05:00
doc: fix typo in /api/dns.md
PR-URL: https://github.com/nodejs/node/pull/37312 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Zijian Liu <lxxyxzj@gmail.com> Reviewed-By: Pooja D P <Pooja.D.P@ibm.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Harshitha K P <harshitha014@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
This commit is contained in:
1 parent
af8b3852a8
commit
b485a3e2d2
1 file changed
+2
-2
+2
-2
@@ -448,7 +448,7 @@ added: REPLACEME
|
||||
Uses the DNS protocol to resolve `CAA` records for the `hostname`. The
|
||||
`addresses` argument passed to the `callback` function
|
||||
will contain an array of certification authority authorization records
|
||||
available for the `hostname` (e.g. `[{critial: 0, iodef:
|
||||
available for the `hostname` (e.g. `[{critical: 0, iodef:
|
||||
'mailto:pki@example.com'}, {critical: 128, issue: 'pki.example.com'}]`).
|
||||
|
||||
## `dns.resolveMx(hostname, callback)`
|
||||
@@ -954,7 +954,7 @@ added: REPLACEME
|
||||
Uses the DNS protocol to resolve `CAA` records for the `hostname`. On success,
|
||||
the `Promise` is resolved with an array of objects containing available
|
||||
certification authority authorization records available for the `hostname`
|
||||
(e.g. `[{critial: 0, iodef: 'mailto:pki@example.com'},{critical: 128, issue:
|
||||
(e.g. `[{critical: 0, iodef: 'mailto:pki@example.com'},{critical: 128, issue:
|
||||
'pki.example.com'}]`).
|
||||
|
||||
### `dnsPromises.resolveCname(hostname)`
|
||||
|
||||
Reference in new issue
Block a user