summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarsonya <akhil.marsonya27@gmail.com>2021-02-11 00:09:29 +0530
committerAntoine du Hamel <duhamelantoine1995@gmail.com>2021-02-13 18:10:52 +0100
commite511c0b9ed1c49a7021748f3eec25e6bece1fd17 (patch)
treee808bdfae51c143a1068d23521beb81c8480cc80
parenta803d4aedbff123fb3be381605958a8b6200779f (diff)
downloadnode-new-e511c0b9ed1c49a7021748f3eec25e6bece1fd17.tar.gz
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>
-rw-r--r--doc/api/dns.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/dns.md b/doc/api/dns.md
index baa8b8bfde..c85bf71242 100644
--- a/doc/api/dns.md
+++ b/doc/api/dns.md
@@ -450,7 +450,7 @@ added: v15.0.0
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)`
@@ -968,7 +968,7 @@ added: v15.0.0
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)`