Post by André BergerPost by Dale StanbroughSorry, I didn't ask that question very well. DNSUpdater notifies a web
site about your external IP address. I was wondering if there is someway
to programmatically get the IP address.
I'm not sure if that clarifies things, or not.
In Terminal.app, run
host yourhost.dyndns.org
I think I need to clarify the problem a bit more.
I've got non-"yourhost.dyndns.org" sites - they are .com, .com.au and
.net.au sites.
At the moment I've got this scenario...
Internet------ISP--------Mac (running DynDNS Updater)
DynDNS updater can get the external address simply by querying the Mac
that it is running on.
I would like to have this scenario set up this scenario
Internet------ISP-----AirportExpress------Mac (running DynDNS Updater)
When the AE gets an IP address from my ISP, the Mac needs to find out
what the address is, and let dyndns.org know about it so that web
requests come to my machine. DynDNS updater needs to query the router
for it's address. Alternatively I need to write a small program to query
the AE itself (if possible) and update dyndns myself (or modify DynDNS).
I had previously tried using "External" in DynDNS updater when I was
using a Netgear WNR854T router but it was never able to successfully get
the IP address from it. Would it be more successful with an AE?
I'm on cable and my ISP doesn't provide static IP addresses.
Running "host yourhost.dyndns.org" will (i think) only tell me what I've
already told dyndns my IP address is (but it's not the correct type of
domain anyway).
I agree that I get the same address from my ISP most of the time, but I
was hoping to automate this so that it doesn't have to worry about it at
all.
Thanks for your help so far, much appreciated.
Dale
--
***@spam.o.matic.bigpond.net.au