Skip to content

Commit

Permalink
Merge pull request nodejscn#719 from AmandaYi/patch-12
Browse files Browse the repository at this point in the history
Update dnspromises_resolvecname_hostname.md
  • Loading branch information
h7lin authored Jun 14, 2020
2 parents 35c1e1b + 7332183 commit 8c99b0e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions dns/dnspromises_resolvecname_hostname.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,4 @@ added: v10.6.0

* `hostname` {string}

Uses the DNS protocol to resolve `CNAME` records for the `hostname`. On success,
the `Promise` is resolved with an array of canonical name records available for
the `hostname` (e.g. `['bar.example.com']`).

使用DNS协议解析`hostname``CNAME`记录。 成功完成后,将使用一系列可用于主机名的规范名称记录来解决`Promise`(例如 `['bar.example.com'])。

0 comments on commit 8c99b0e

Please sign in to comment.