新增于: v10.6.0
使用域名系统协议解析 hostname
的指针记录(PTR
记录)。
当成功时,Promise
使用包含回复记录的字符串数组进行解决。
Added in: v10.6.0
Uses the DNS protocol to resolve pointer records (PTR
records) for the
hostname
. On success, the Promise
is resolved with an array of strings
containing the reply records.