Skip to content

Commit

Permalink
Merge pull request #79 from dpushkarev/bugfix-not-editable-ttl
Browse files Browse the repository at this point in the history
BUGFIX Dns record ttl is not updated
  • Loading branch information
xgin authored Jun 19, 2024
2 parents 231c2f9 + 2b71119 commit 96013b8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 2.9.5

* [-] When a TTL value of a domain\'s DNS record is changed in Plesk, the corresponding record in Amazon Route53 is once again updated correctly. (EXTPLESK-2645)

# 2.9.4

* [-] The "PHP Deprecated Construction: Creation of dynamic property PleskRoute53\GuzzleHttp\Handler\CurlMultiHandler::$_mh is deprecated" error no longer appears in /var/log/plesk/panel.log in Plesk for Linux and in %plesk_dir%\admin\logs\php_error.log in Plesk for Windows. (EXTPLESK-5505)
Expand Down
2 changes: 1 addition & 1 deletion src/meta.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<description>This extension provides the functionality needed for integration with Amazon Route 53. It is a highly available and scalable Domain Name System (DNS) web service.</description>
<category>dns</category>
<category>clouds</category>
<version>2.9.4</version>
<version>2.9.5</version>
<release>4</release>
<vendor>Plesk</vendor>
<url>https://github.com/plesk/ext-route53</url>
Expand Down
2 changes: 1 addition & 1 deletion src/plib/scripts/route53.php
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@
'ResourceRecordSet' => array(
'Name' => $rr->host,
'Type' => $rr->type,
'TTL' => $recordsTTL,
'TTL' => (int)($rr->ttl ?? $recordsTTL),
'ResourceRecords' => array(),
),
);
Expand Down

0 comments on commit 96013b8

Please sign in to comment.