I run a mail server so have the same issue with having a dynamically-assigned IP addy.
I have created a free account with the kind folks at www.dyndns.org and have the 'domain name' of reason.dyndns.org. I use the ezipupdate package that has been compiled for use with Bering, etc, and find that 'it just works'. (Ezipupdate informs the name-resolution servers at dyndns.org whenever my IP addy changes, so that reason.dyndns.org always resolves properly to my numeric IP addy).
If you can bear to change your paradigm a tad, this might be a more elegant solution.
scott; canada
Brad Klinghagen wrote:
Currently I have an ISP that provides an IP address via DHCP, and the
address occasionally changes. What I want to do is to retrieve the IP
address of the Internet side interface (eth0) of my firewall without
manual intervention, and stuff that value into a variable. I need the
value for additional DNAT rules because I have a web server and email
server on my LAN.
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html
