OT: Detecting router IP

2001-05-02 Thread Daniel J O'Keefe

Is there anyway to dynamically retrieve the IP assigned to a router,
which is getting its IP from a DSL line in ColdFusion?

Dan


~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: OT: Detecting router IP

2001-05-02 Thread Len Conrad


Is there anyway to dynamically retrieve the IP assigned to a router,
which is getting its IP from a DSL line in ColdFusion?

IF the router uses the same hostname for its inside ip address as it does 
for its outside address (the DHCP assigned address you´re after), then 
doing a PTR query (get hostname by ip) on the fixed inside ip address will 
answer with a hostname.  Then do an A query to an outside, public DNS with 
that hostname to see the outside ip address.

hmmm, not real confident about  all that.  The first IF is a biggy.

Len


http://MenAndMice.com/DNS-training : SFO,CA; 7,8 May
http://BIND8NT.MEIway.com : ISC BIND 8.2.3 NT3 for NT4  W2K
http://IMGate.MEIway.com  : Build free, hi-perf, anti-abuse mail gateways


~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists