Eggheads: get own ip

Dariusz Kulinski takeda at eggheads.w.pl
Wed Aug 6 09:19:54 CST 2003


Hello Martin,

Saturday, August 2, 2003, 3:51:25 PM, you wrote:

> when I do 
> set my-ip "<external ip>"
> I need to change it by any reconnect with the internet :(
> I don't have a static ip :'(

In this case don't set my-ip and register host address for dynamic
IPs, then instead of my-ip set my-hostname to your host address.
Whenever bot will need my-ip it'll try to resolve hostname and use
resulting IP.

If it's windows you could try to put computer name in my-hostname, but
I think above solution works better.

-- 
Best regards,
 Dariusz                            mailto:takeda at eggheads.w.pl
SCSA, SCNA, LPI, CCNA, MCP certified




More information about the Eggheads mailing list