Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Know server name from IP address

Tags:

ip

I have an IP address and I want to know what is the server name corresponding to that address. How can I do that?

for example: 10.x.x.x to www. something

like image 507
Rookie Avatar asked Dec 11 '25 09:12

Rookie


1 Answers

Use nslookup [IP] [some DNS server]

For internal networks (like 10.x.x.x), something like this:

> nslookup 10.1.1.10    10.1.1.1
Server:     10.1.1.1
Address:    10.1.1.1#53

10.1.1.10.in-addr.arpa  name = my-ip-10.1.1.10.domain.com
like image 131
Tisho Avatar answered Dec 13 '25 08:12

Tisho