Skip to content

Commit b485a3e

Browse files
marsonyatargos
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 af8b385 commit b485a3e

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
@@ -448,7 +448,7 @@ added: REPLACEME
448448
Uses the DNS protocol to resolve `CAA` records for the `hostname`. The
449449
`addresses` argument passed to the `callback` function
450450
will contain an array of certification authority authorization records
451-
available for the `hostname` (e.g. `[{critial: 0, iodef:
451+
available for the `hostname` (e.g. `[{critical: 0, iodef:
452452
'mailto:pki@example.com'}, {critical: 128, issue: 'pki.example.com'}]`).
453453

454454
## `dns.resolveMx(hostname, callback)`
@@ -954,7 +954,7 @@ added: REPLACEME
954954
Uses the DNS protocol to resolve `CAA` records for the `hostname`. On success,
955955
the `Promise` is resolved with an array of objects containing available
956956
certification authority authorization records available for the `hostname`
957-
(e.g. `[{critial: 0, iodef: 'mailto:pki@example.com'},{critical: 128, issue:
957+
(e.g. `[{critical: 0, iodef: 'mailto:pki@example.com'},{critical: 128, issue:
958958
'pki.example.com'}]`).
959959

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

0 commit comments

Comments
 (0)