Skip to content

Commit cdd2fe5

Browse files
marsonyadanielleadams
authored andcommitted
doc: fix typo in /api/dns.md
PR-URL: #37312 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Zijian Liu <[email protected]> Reviewed-By: Pooja D P <[email protected]> Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: Harshitha K P <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]>
1 parent a483c28 commit cdd2fe5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/api/dns.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ added: v15.0.0
450450
Uses the DNS protocol to resolve `CAA` records for the `hostname`. The
451451
`addresses` argument passed to the `callback` function
452452
will contain an array of certification authority authorization records
453-
available for the `hostname` (e.g. `[{critial: 0, iodef:
453+
available for the `hostname` (e.g. `[{critical: 0, iodef:
454454
'mailto:[email protected]'}, {critical: 128, issue: 'pki.example.com'}]`).
455455

456456
## `dns.resolveMx(hostname, callback)`
@@ -968,7 +968,7 @@ added: v15.0.0
968968
Uses the DNS protocol to resolve `CAA` records for the `hostname`. On success,
969969
the `Promise` is resolved with an array of objects containing available
970970
certification authority authorization records available for the `hostname`
971-
(e.g. `[{critial: 0, iodef: 'mailto:[email protected]'},{critical: 128, issue:
971+
(e.g. `[{critical: 0, iodef: 'mailto:[email protected]'},{critical: 128, issue:
972972
'pki.example.com'}]`).
973973

974974
### `dnsPromises.resolveCname(hostname)`

0 commit comments

Comments
 (0)