Skip to content

Commit e511c0b

Browse files
marsonyaaduh95
authored andcommitted
doc: fix typo in /api/dns.md
PR-URL: #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>
1 parent a803d4a commit e511c0b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/api/dns.md

Lines changed: 2 additions & 2 deletions
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:pki@example.com'}, {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:pki@example.com'},{critical: 128, issue:
971+
(e.g. `[{critical: 0, iodef: 'mailto:pki@example.com'},{critical: 128, issue:
972972
'pki.example.com'}]`).
973973

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

0 commit comments

Comments
 (0)