Coder Social home page Coder Social logo

rouralberto / alicloud-php-dns-updater Goto Github PK

View Code? Open in Web Editor NEW
26.0 3.0 20.0 21 KB

PHP7+ DNS updater for Alibaba Cloud/Alicloud/Aliyun/Alidns

Home Page: https://albertoroura.com/dynamic-dns-using-alibaba-cloud-dns-api/

License: GNU General Public License v3.0

PHP 100.00%
aliyun alibabacloud alicloud php dynamicdns dns dns-record updaterecord api

alicloud-php-dns-updater's Issues

if RR record more then 20 get error RR not found.

add 'RRKeyWord' => $this->rR, then work fine

public function getRecordId(): string
{
    $queries = [
        'AccessKeyId' => $this->accessKeyId,
        'Action' => 'DescribeDomainRecords',
        'DomainName' => $this->domainName,
        
		
        'Format' => 'json',
		'RRKeyWord' => $this->rR,

random_int() expects parameter 2 to be int

While running this on my local machine I found this error in the error log file.

[Tue Sep 29 21:20:21.908468 2020] [php7:error] [pid 13717] [client ::1:54442] PHP Fatal error: Uncaught TypeError: random_int() expects parameter 2 to be int, float given in /var/www/html/dyndns-updater/alicloud-php-updaterecord/V20150109/AlicloudUpdateRecord.php:228\nStack trace:\n#0 /var/www/html/dyndns-updater/alicloud-php-updaterecord/V20150109/AlicloudUpdateRecord.php(100): random_int(1000000000, 9999999999)\n#1 /var/www/html/dyndns-updater/index.php(20): Roura\Alicloud\V20150109\AlicloudUpdateRecord->sendRequest()\n#2 {main}\n thrown in /var/www/html/dyndns-updater/alicloud-php-updaterecord/V20150109/AlicloudUpdateRecord.php on line 100

new issue

i try your code get this =

Parse error: syntax error, unexpected ':', expecting ';' or '{' in /home/tripjek99/public_html/alidns/alicloud-php-updaterecord/V20150109/AlicloudUpdateRecord.php on line 62

how fix it?

Can support AAAA DNSR?

Is there any way to modify the AAAA DNSR of IPv6?
有没有办法修改IPv6的AAAA解析呢?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.