Format
This commit is contained in:
parent
b066538182
commit
327b1e5161
2 changed files with 14 additions and 20 deletions
16
ddclient
16
ddclient
|
|
@ -4731,14 +4731,10 @@ sub nic_dnsexit_update {
|
|||
# Set the URL that we're going to update
|
||||
my $url;
|
||||
$url = "http://$config{$h}{'server'}$config{$h}{'script'}";
|
||||
$url .= "?login=";
|
||||
$url .= $config{$h}{'login'};
|
||||
$url .= "&password=";
|
||||
$url .= $config{$h}{'password'};
|
||||
$url .= "&host=";
|
||||
$url .= $h;
|
||||
$url .= "&myip=";
|
||||
$url .= $ip;
|
||||
$url .= "?login=$config{$h}{'login'}";
|
||||
$url .= "&password=$config{$h}{'password'}";
|
||||
$url .= "&host=$h";
|
||||
$url .= "&myip=$ip";
|
||||
|
||||
# Try to get URL
|
||||
my $reply = geturl(opt('proxy'), $url);
|
||||
|
|
@ -4757,9 +4753,7 @@ sub nic_dnsexit_update {
|
|||
$config{$h}{'mtime'} = $now;
|
||||
$config{$h}{'status'} = 'good';
|
||||
success("updating %s: good: IP address set to %s", $h, $ip);
|
||||
}
|
||||
else
|
||||
{
|
||||
} else {
|
||||
my @reply = split /\n/, $reply;
|
||||
my $returned = pop(@reply);
|
||||
$config{$h}{'status'} = 'failed';
|
||||
|
|
|
|||
|
|
@ -244,7 +244,7 @@ ssl=yes # use ssl-support. Works with
|
|||
##
|
||||
## dnsexit (www.dnsexit.com)
|
||||
##
|
||||
#protocol=dnsexit
|
||||
#login=myusername
|
||||
#password=mypassword
|
||||
#subdomain-1.domain.com,subdomain-2.domain.com,subdomain-3.domain.com
|
||||
#protocol=dnsexit, \
|
||||
#login=myusername, \
|
||||
#password=mypassword, \
|
||||
#subdomain-1.domain.com,subdomain-2.domain.com
|
||||
|
|
|
|||
Loading…
Reference in a new issue