How to find a domain based on the IP address?
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------
Music by Eric Matyas
https://www.soundimage.org
Track title: Cool Puzzler LoFi
--
Chapters
00:00 How To Find A Domain Based On The Ip Address?
00:28 Answer 1 Score 1
00:49 Answer 2 Score 4
01:04 Accepted Answer Score 32
01:31 Answer 4 Score 15
01:43 Thank you
--
Full question
https://superuser.com/questions/287577/h...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#hosting
#avk47
ACCEPTED ANSWER
Score 32
Use nslookup
For example, let's find the domain for 207.46.19.254
C:\>nslookup -type=PTR 254.19.46.207.in-addr.arpa Non-authoritative answer: 254.19.46.207.in-addr.arpa name = wwwbaytest2.microsoft.com
Note that you reverse the order of the four numbers and append .in-addr.arpa
Remember that an IP-address may have multiple domains, and that the administrators do not always (but mostly should) set up the reverse mappings in DNS.
ANSWER 2
Score 15
Two things you can do. One is reverse DNS lookup.
dig -x x.x.x.x
You can also use geoiplookup to find the general area of the source.
ANSWER 3
Score 4
Wouldn't the ping -a
command also work?
That is, ping -a insert IP address here
. It's not always successful though, but it's likely the easiest method.
ANSWER 4
Score 1
ARIN WHOIS is probably the default goto for resolving IPs to the registered names, although I use SANS often also. The search box on both sites is in the upper right corner.
This will only resolve domain names on the internet, not internal domain names you may be looking for.