dns.resolveNs(hostname, callback)


使用DNS协议处理名称服务器主机名记录(NS记录)。adresses为有效的名称服务器记录主机名数组(eg:['ns1.example.com', 'ns2.example.com'])。

Uses the DNS protocol to resolve name server records (NS records) for the hostname. The addresses argument passed to the callback function will contain an array of name server records available for hostname (e.g. ['ns1.example.com', 'ns2.example.com']).