resolveNsAsync

external fun resolveNsAsync(hostname: String): <Error class: unknown class><<Error class: unknown class><String>>(source)

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']).

Since

v10.6.0