You can look up which hostnames uses a specific nameserver, mailserver or ip number
The answer will contain up to m answers.
Each one of them contains the name of a host, an array of usage type, and a timestamp when it was last fetched.
Query with an ipnumber and you will get response with which network the ip is on, as well as geographic information