If you can reconfigure your DNS, then there is DNS::Config on CPAN that can help you managing zones. You should wait a notification from your friend (for example a simple cgi script that grabs remote address) and then update your DNS config file accordingly. I'm not sure, but I think there is already a packaged software that does what you need.
HTH, Valerio
| [reply] |
You probably want to use something like DynDNS, there are many clients already written to update on connect if your friend uses dialup, whenever your address changes via DHCP if they have cable, or even just check every so often. I'm not sure if you can only make a subdomain of your domain dynamic, but I know they can manage your entire domain for you (for a small donation, IIRC) or you can use one of their domains like dyndns.org, dnsalias.org, etc for free. | [reply] |