Running Dynamic DNS and having problems with zoneclient.py and also with ddclient because I can't install some needed modules.
Therefore I am updating the site using the url which works fine, but I want to put it in cron. So my question is how do you execute a URL from a script so it will update the IP if the dynamic IP changes?
I've tried this but not sure it really runs it:
Therefore I am updating the site using the url which works fine, but I want to put it in cron. So my question is how do you execute a URL from a script so it will update the IP if the dynamic IP changes?
I've tried this but not sure it really runs it:
Code:
#!/usr/bin/perl
use LWP::Simple;
my $url = '[URL unfurl="true"]http://dynamicdns-park-your-domain.com/update?host=yadda&domain=example.com&password=123456abcdef';[/URL]
my $content = get $url;
print $content;