dns.reverse()

dns.reverse(ip, callback)

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

The callback function has arguments (err, hostnames), where hostnames is an array of resolved hostnames for the given ip.

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

doc_Nodejs
2016-04-30 04:38:58
Comments
Leave a Comment

Please login to continue.