|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
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
|
|||
|
|||
|
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. |
|
#2
|
|||
|
|||
|
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 |
|
#3
|
||||
|
||||
|
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. |
|
#4
|
|||
|
|||
|
Quote:
In IRC you can /dns ip and get a hostname. Why cant I do it on the web? |
|
#5
|
|||
|
|||
|
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 |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ColdFusion Development > Hostname Lookup? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|