good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Script to Notify of Public IP Changeby marto (Cardinal) |
on Nov 29, 2012 at 16:10 UTC ( [id://1006285]=note: print w/replies, xml ) | Need Help?? |
"unsure of whether or not their ISP provided them with a static or dynamic IP address" Have you tried asking them? Or having the Police ask them on your behalf, as they are the customer? I'd consider using Dynamic_DNS, rather than reply on finding out changes via a cron job. "Sometimes, it seems to fetch a "blank" when trying to resolve the IP" Add some checking in your code, ensure $ip is a valid IP address, handle any errors accordingly.
In Section
Seekers of Perl Wisdom
|
|