ColdFusion Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreColdFusion Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old November 1st, 2004, 11:34 AM
Noel4DMB Noel4DMB is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Posts: 221 Noel4DMB User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 16 h 23 m 44 sec
Reputation Power: 5
Hostname Lookup?

Hey yall, I'm using CFMX to output #CGI.REMOTE_ADDR#

How can I get the reverse lookup hostname? I'm doing a tracking script for a CD-ROM and i want to be able to show the client the hostnames so they can see what states people are coming from.

Reply With Quote
  #2  
Old November 1st, 2004, 12:16 PM
kiteless kiteless is offline
Moderator
Dev Shed Expert (3500 - 3999 posts)
 
Join Date: Jun 2002
Location: Raleigh, NC
Posts: 3,618 kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 1 Week 4 Days 9 h 44 m 33 sec
Reputation Power: 53
You'll need to set up a reverse DNS system, and I have no idea how you'd do that. It's totally independent of CFMX though.
__________________
Ask if you have a question, but also help answer questions that you have knowledge of! Thanks, Brian.
How to Post a Question in the Forums

Reply With Quote
  #3  
Old November 1st, 2004, 12:19 PM
bocmaxima's Avatar
bocmaxima bocmaxima is offline
Contributing User
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Aug 2004
Location: Tucson, Sonora
Posts: 1,322 bocmaxima User rank is Sergeant (500 - 2000 Reputation Level)bocmaxima User rank is Sergeant (500 - 2000 Reputation Level)bocmaxima User rank is Sergeant (500 - 2000 Reputation Level)bocmaxima User rank is Sergeant (500 - 2000 Reputation Level)bocmaxima User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 3 Days 17 h 46 m 5 sec
Reputation Power: 22
Send a message via AIM to bocmaxima
That would be pretty cool, but there's no way to do it in ColdFusion, or any language.
For one, how many people actually surf from IPs that have domain names on them? They'd have to be on a web server for this to work, and that's going to be like less than 1%.
If you're looking to get locations of people by IPs, it's virtually impossible except if you can figure out the range owned by various ISPs (good luck on getting that info from any of them). Otherwise, it's pretty random.

Hope that helps answer your question.

Reply With Quote
  #4  
Old November 1st, 2004, 12:38 PM
Noel4DMB Noel4DMB is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Posts: 221 Noel4DMB User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 16 h 23 m 44 sec
Reputation Power: 5
Quote:
Originally Posted by bocmaxima
That would be pretty cool, but there's no way to do it in ColdFusion, or any language.
For one, how many people actually surf from IPs that have domain names on them? They'd have to be on a web server for this to work, and that's going to be like less than 1%.
If you're looking to get locations of people by IPs, it's virtually impossible except if you can figure out the range owned by various ISPs (good luck on getting that info from any of them). Otherwise, it's pretty random.

Hope that helps answer your question.


In IRC you can /dns ip and get a hostname. Why cant I do it on the web?

Reply With Quote
  #5  
Old November 1st, 2004, 12:59 PM
kiteless kiteless is offline
Moderator
Dev Shed Expert (3500 - 3999 posts)
 
Join Date: Jun 2002
Location: Raleigh, NC
Posts: 3,618 kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 1 Week 4 Days 9 h 44 m 33 sec
Reputation Power: 53
You can do it on the web. Type "reverse dns" into Google and you'll see thousands of services. But they all involve running and configuring a DNS server in order to do it.

Here's a faq: http://www.dnsstuff.com/info/revdns.htm

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreColdFusion Development > Hostname Lookup?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway