Get Hostname from IP address?

wpspeedster

Well-known member
Registered
Joined
May 6, 2016
Messages
120
Points
18
Can I find the hostname of any web hosting companies or websites when knowing their IP address? Is there a way that using a command line tool which gets an IP address and returns the host name, for Linux or Windows?
 

AlbaHost

Well-known member
Moderator
Hosting Provider
Joined
Jan 18, 2017
Messages
809
Points
43
Can I find the hostname of any web hosting companies or websites when knowing their IP address? Is there a way that using a command line tool which gets an IP address and returns the host name, for Linux or Windows?
Any reason about why would you need to know hostname of hosting companies?
 

wpspeedster

Well-known member
Registered
Joined
May 6, 2016
Messages
120
Points
18
Any reason about why would you need to know hostname of hosting companies?
I am just curious and want to know how hosting providers set their hostname.

If there's a rDNS configured for it, you'll get it by doing : nslookup target_ip
Great! I can see my hostname

hostname-1.jpg

I tried to nslookup your IP address from your domain on your signature

Code:
[root@server ~]# nslookup 185.30.165.15
Server:         213.186.33.99
Address:        213.186.33.99#53

Non-authoritative answer:
15.165.30.185.in-addr.arpa      name = hyperfilter.com.

Authoritative answers can be found from:
165.30.185.in-addr.arpa nameserver = ns2.hyperfilter.com.
165.30.185.in-addr.arpa nameserver = ns1.hyperfilter.com.
But hyperfilter.com is your hostname? why you could set your hostname as your domain? is it possible?
 

24x7CSM

Well-known member
Registered
Joined
Sep 27, 2016
Messages
263
Points
28
A server hostname should be a FQDN. A Fully Qualified Domain Name. Hostname is the identity of the server and used for many services ( mostly shared hosting ). The general practice to set the hostname is .. if you have a domain registered abc.com you should set the hostname as server.abc.com or mybox.abc.com or myserver.abc.com making sure to add an A record of the hostname in order to resolve that hostname.
 
Newer Threads
Replies
1
Views
2,253
Replies
13
Views
9,955
Latest Threads
Replies
0
Views
123
Replies
1
Views
79

Latest Hosting OffersNew Reviews

Sponsors

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top