name cheap support https now

From name cheap it seems http is supported now.
https://www.namecheap.com/support/knowledgebase/article.aspx/29/11/how-to-use-the-browser-to-dynamically-update-hosts-ip

Since the password was send on plaintext, https should be used
This commit is contained in:
Wujun Zhou 2018-05-17 02:29:23 -04:00
parent 3dd2054124
commit 1da21d82e1

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";