diff --git a/doc/api/dns.md b/doc/api/dns.md index baa8b8bfde4eb3..c85bf7124292f9 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)`