name cheap support https now

Merge pull request #55 from wjzhou/wzhou/namecheap-https
This commit is contained in:
wimpunk 2018-05-23 12:21:24 +02:00 committed by GitHub
commit c176457e12
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3616,9 +3616,10 @@ EoEXAMPLE
##
## written by Dan Boardman
##
## based on http://www.namecheap.com/resources/help/index.asp?t=dynamicdns
## based on https://www.namecheap.com/support/knowledgebase/
## article.aspx/29/11/how-to-use-the-browser-to-dynamically-update-hosts-ip
## needs this url to update:
## http://dynamicdns.park-your-domain.com/update?host=host_name&
## https://dynamicdns.park-your-domain.com/update?host=host_name&
## domain=domain.com&password=domain_password[&ip=your_ip]
##
######################################################################
@ -3634,7 +3635,7 @@ sub nic_namecheap_update {
verbose("UPDATE:","updating %s", $h);
my $url;
$url = "http://$config{$h}{'server'}/update";
$url = "https://$config{$h}{'server'}/update";
my $domain = $config{$h}{'login'};
$url .= "?host=$h";
$url .= "&domain=$domain";