cotfessi
01-13-2001, 10:11 PM
I'm running Mandrake v7.2 right now. I was reading through the "How I did it" section here on the forums about getting a true domain name with a dynamic IP(http://www.linuxnewbie.org/ubb/Forum12/HTML/000363.html)
The author explains how to set up an account on www.centralinfo.net (http://www.centralinfo.net) to handle a registered domain name. The last piece of the puzzle is getting neoupdate to update centralinfo.net with your dynamic IP - a perl script that determines the IP and sends it to centralinfo.net
This script gives me a few options to determine my IP. Nothing seems to work! Anyone know how I can determine my IP address using some sort of a Perl script?
this is what I've tried:
#!/usr/bin/perl
use CGI qw( :standard);
print "Content-type: text/html\n\n";
print "$ENV{REMOTE_ADDR}";
and this is what I get back:
Content-type: text/html
help?!?.......
The author explains how to set up an account on www.centralinfo.net (http://www.centralinfo.net) to handle a registered domain name. The last piece of the puzzle is getting neoupdate to update centralinfo.net with your dynamic IP - a perl script that determines the IP and sends it to centralinfo.net
This script gives me a few options to determine my IP. Nothing seems to work! Anyone know how I can determine my IP address using some sort of a Perl script?
this is what I've tried:
#!/usr/bin/perl
use CGI qw( :standard);
print "Content-type: text/html\n\n";
print "$ENV{REMOTE_ADDR}";
and this is what I get back:
Content-type: text/html
help?!?.......