Revision b2cb7364
Added by Jason McCormick over 8 years ago
src/etc/inc/dyndns.class | ||
---|---|---|
650 | 650 |
case 'route53': |
651 | 651 |
require_once("r53.class"); |
652 | 652 |
$r53 = new Route53($this->_dnsUser, $this->_dnsPass); |
653 |
list($r53_regionId, $r53_zoneId) = split('/', $this->_dnsZoneID); |
|
654 |
$apiurl = $r53->getApiUrl($r53_zoneId); |
|
653 |
$apiurl = $r53->getApiUrl($this->_dnsZoneID); |
|
655 | 654 |
$xmlreq = $r53->getRequestBody($this->_dnsHost, $this->_dnsIP, $this->_dnsTTL); |
656 |
$httphead = $r53->getHttpPostHeaders($r53_zoneId, $r53_regionId, hash("sha256",$xmlreq));
|
|
655 |
$httphead = $r53->getHttpPostHeaders($r53_zoneId, "us-east-1", hash("sha256",$xmlreq));
|
|
657 | 656 |
curl_setopt($ch, CURLOPT_HTTPHEADER, $httphead); |
658 | 657 |
if($this->_dnsVerboseLog){ |
659 | 658 |
log_error(sprintf("Sending reuquest to: %s", $apiurl)); |
Also available in: Unified diff
revert parsing of config field for region