1

We know the domain can resolve to a IP address. and we can use the nslookup tool to get a domain's IP address.

Is there a tool for get the domain of a IP? when I provide a IP, then I can get the domain.

1
  • You might have difficulty finding a tool that will reliably report a domain name against an IP address. Virtual hosts can share IP addresses and there's no way for a local tool to determine the hostnames used on those IP addresses.There are a lot of virtual hosts out there. Jun 4, 2019 at 11:18

1 Answer 1

2

You can use nslookup and whois for this as well.

The nslookup on an IP will return RDNS info (reverse DNS). This if often used for spam fighting, etc. Note that the owner of the IP or subnet the IP is in will need to configure this.

The whois on an IP will return back the information as to the person/group that "owns" the subnet. Note that on a large subnet (say, 64.0.0.0/8) it will be broken up into smaller and smaller subnets, so while Sprint or AT&T or whoever owns the entire /8 subnet, "ownership" of extremely small pieces may be transferred to other entities.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.