Cheers Dave,

I'll look into this,

J

-----Original Message-----
From: Dave Watts [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 03, 2002 1:26 PM
To: CF-Talk
Subject: RE: server ip and CGI vars


> What is the CGI var, that will give me the servers IP 
> on which CF is sitting

As you've discovered, there's no corresponding CGI variable for that.
Besides, CF isn't "sitting" on any IP address; if you have a machine that
has five IP addresses, CF itself isn't bound to any of them specifically,
from the web server's perspective. The web server itself must be configured
to listen on specific IP addresses.

> also how do I get ip address resolved to different domain names,
> 
> i.e. http//wwww.address1.com
>       http//wwww.address2.co.uk

You need to perform a reverse lookup against a DNS server. You can do this
from the command line on Windows using nslookup, but that would be difficult
to automate using CFEXECUTE, I think. There's a CFX here that does this, but
I haven't tried it myself:

http://www.intrafoundation.com/freeware.html#cfx_nslookup

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

______________________________________________________________________
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to