dns.reverse(ip, callback)


执行一个反向DNS查询返回IPv4或IPv6地址的主机名的数组。

出错情况下,err是一个Error对象,err.code代码错误码。错误码列表:here.

Performs a reverse DNS query that resolves an IPv4 or IPv6 address to an array of hostnames.

On error, err is an Error object, where err.code is one of the DNS error codes.