I currently have @home cable modem, and a static IP through them. I have a broadband router and inside that three Macs, including my trusty rev. B iMac which is the Web and file server. I bought a domain name to make such things easier, but as of tomorrow Comcast is forcing us to use DHCP for dynamic IP addresses. Dynamic DNS is too expensive, but I'm spoiled by having my own Web/FTP/AFP server at my own domain -- very handy when I'm at work and realize I need a file or three that I left at home.
Now with the router taking care of getting and renewing an IP from DHCP I figure (but don't know for sure yet) that I'll be able to keep the same IP for semi-extended lengths of time. And I can administer my domain name online and change the IP in the domain record as needed; however, this is only really useful when I'm at home and can check my IP from inside my LAN.
So here's what I want to accomplish: I want to somehow get an e-mail from the iMac, look at the headers, determine the new IP, and fix the domain record. I'm not sure of the best approach, nor the best tools. One idea I had is to be able to send an e-mail that would trigger a response from the iMac, maybe by sending to a POP box elsewhere that the iMac checks every X minutes or something. Another would be to have the iMac send out a blank e-mail to me at intervals, though that's less desireable as I don't want to have dozens of blank e-mails from myself every day.
I figure this has got to be possible somehow, but I don't have enough UNIX know-how to know where to begin. Also, I may be thinking about it totally wrong, so perhaps someone else has a better approach sans e-mail. I would prefer to keep the overhead low and do it all terminal-side if possible, though I'm not entirely opposed to using something in Aqua as long as it's fairly unobtrusive since the iMac isn't as peppy as it once was.
I would love to be able to get this to work. But some outside help is definitely required.
Now with the router taking care of getting and renewing an IP from DHCP I figure (but don't know for sure yet) that I'll be able to keep the same IP for semi-extended lengths of time. And I can administer my domain name online and change the IP in the domain record as needed; however, this is only really useful when I'm at home and can check my IP from inside my LAN.
So here's what I want to accomplish: I want to somehow get an e-mail from the iMac, look at the headers, determine the new IP, and fix the domain record. I'm not sure of the best approach, nor the best tools. One idea I had is to be able to send an e-mail that would trigger a response from the iMac, maybe by sending to a POP box elsewhere that the iMac checks every X minutes or something. Another would be to have the iMac send out a blank e-mail to me at intervals, though that's less desireable as I don't want to have dozens of blank e-mails from myself every day.
I figure this has got to be possible somehow, but I don't have enough UNIX know-how to know where to begin. Also, I may be thinking about it totally wrong, so perhaps someone else has a better approach sans e-mail. I would prefer to keep the overhead low and do it all terminal-side if possible, though I'm not entirely opposed to using something in Aqua as long as it's fairly unobtrusive since the iMac isn't as peppy as it once was.
I would love to be able to get this to work. But some outside help is definitely required.