From b485a3e2d215f8e4e78aba5e1dd2c53f4371c692 Mon Sep 17 00:00:00 2001 From: marsonya Date: Thu, 11 Feb 2021 00:09:29 +0530 Subject: [PATCH] doc: fix typo in /api/dns.md PR-URL: https://github.com/nodejs/node/pull/37312 Reviewed-By: Luigi Pinca Reviewed-By: Rich Trott Reviewed-By: Zijian Liu Reviewed-By: Pooja D P Reviewed-By: Darshan Sen Reviewed-By: Harshitha K P Reviewed-By: Colin Ihrig Reviewed-By: Benjamin Gruenbaum --- doc/api/dns.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/api/dns.md b/doc/api/dns.md index 8aa8662d6bdc16..9933e77e8a5aff 100644 --- a/doc/api/dns.md +++ b/doc/api/dns.md @@ -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)`