LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-13-2010, 08:11 AM   #1
wpfan
LQ Newbie
 
Registered: Jul 2009
Posts: 3

Rep: Reputation: 0
command to determine where domain is hosted


Is there a linux/unix command that will return where a domain is hosted at? Basically, the command that is used for whoishostingthis.com?
 
Old 06-13-2010, 09:01 AM   #2
teebones
Member
 
Registered: Aug 2005
Location: /home/teebones
Distribution: sometimes this, sometimes that..
Posts: 502

Rep: Reputation: 56
no

but there are other ways..
quite simple too (to see who is actually providing the dataservices/upstream for the domain:

do a ping to the domain, fetch the IP address
or do a nslookup the reverse record associated with the ip address.
(e.g. a domain can be bonded to an IP address, which itself is officially bonded to another (sub)domain.
since the ipaddress is not owned by the domain host itself, but by the provider.

then go to (for europe based addresses):

http://www.db.ripe.net/whois?form_ty...&submit=Search

or go to (for american bases addresses):
https://ws.arin.net/whois/

or go to (Latin American / Caribbean addresses):
http://lacnic.net/cgi-bin/lacnic/whois

or go to (Asia / Pacific addresses):
http://wq.apnic.net/apnic-bin/whois.pl

or go to (African addresses):
http://www.afrinic.net/cgi-bin/whois

in either of these search engines, type the ip address, and it will come back with a result.
(if it's found in the database, if not, you need to go to another search from the one i mentioned)
the result should contain a netblock/inetnum (pool of ipaddresses, a.k.a Assigned PA/PI space)
and address information.

good luck
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
View all domain names hosted on an IP address L1nuxn00b703 Linux - Newbie 5 10-21-2009 05:09 PM
Sendmail - route mail off server for hosted domain SystemOverload Linux - Server 4 07-21-2008 11:32 PM
I cannot ping hosted domain (site) at server Peon1 Linux - Newbie 4 10-06-2007 05:39 AM
I cannot ping hosted domain (site) at server Peon1 Linux - Networking 3 10-05-2007 10:21 PM
home hosted domain name? is this possable? Ian_Hawdon Linux - Networking 7 12-18-2005 10:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration