On 05/03/2012 01:25 PM, Terry Shepherd wrote:
For a project at work, I need to have my development machine here at
my house reachable via a name.
I don't have static IP from my ISP (they offer it, but it's an
expensive add-on).
I have the router configured so that if you go to
http://205.178.x../mypage you get to my server, but I need to have it
reachable via http://somehost.mydomain.com/
How can I do this with PERL? I looked up "Dynamic DNS" on
search.cpan.org and did not find anything that seemed appropriate.
this isn't actually a perl problem but a perl based company has the
solution you need. contact dyndns.com for a free dns name for your dhcp
(dynamic ip address). many routers (mine from verizon) actually have
built in support to update the dns servers at dyndns (they invented this
protocol). if you don't have the support, you can download a short perl
program from dyndns that will do it and it runs under cron to update the
ip regularly.
there wouldn't be a module for this since the protocol is so easy and
you can download complete scripts to do it. but regardless of that you
need an external dns service so you can have a fixed name (a subdomain
of dyndns) that you use to get outside access to your box. also you will
likely need to enable ssh access in your firewall (again, easy in most
routers) and enable ssh service on your box.
uri
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/