dnsPromises.resolveNs(hostname)
hostname<string>
使用 DNS 协议解析 hostname 的名称服务器记录(NS 记录)。成功时,Promise 会被解析为一个包含 hostname 可用名称服务器记录的数组(例如 ['ns1.example.com', 'ns2.example.com'])。
【Uses the DNS protocol to resolve name server records (NS records) for the
hostname. On success, the Promise is resolved with an array of name server
records available for hostname (e.g.
['ns1.example.com', 'ns2.example.com']).】