From 2fb3b9bd391e32e13b7e5d404fd124fcf2040a31 Mon Sep 17 00:00:00 2001 From: Tyler Szabo Date: Wed, 17 Apr 2019 20:09:47 -0700 Subject: [PATCH] Fix AzureV6 DynDNS client `AAAARecords` in the Azure DNS API is case sensitive Documentation: https://docs.microsoft.com/en-us/rest/api/dns/recordsets/createorupdate (cherry picked from commit 1ca156ea0875014b5175855c9fe8459950173d0b) --- src/etc/inc/dyndns.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/etc/inc/dyndns.class b/src/etc/inc/dyndns.class index aa481ab072..f2515b4dbb 100644 --- a/src/etc/inc/dyndns.class +++ b/src/etc/inc/dyndns.class @@ -1100,7 +1100,7 @@ // Update the DNS record if ($this->_useIPv6) { $url = "https://management.azure.com" . $resourceid . "/AAAA/" . $hostname . "?api-version=2017-09-01"; - $body = '{"properties":{"TTL":"' . $newttl . '", "AaaaRecords":[{"ipv6Address":"' . $newip . '"}]}}'; + $body = '{"properties":{"TTL":"' . $newttl . '", "AAAARecords":[{"ipv6Address":"' . $newip . '"}]}}'; } else { $url = "https://management.azure.com" . $resourceid . "/A/" . $hostname . "?api-version=2017-09-01"; $body = '{"properties":{"TTL":"' . $newttl . '", "ARecords":[{"ipv4Address":"' . $newip . '"}]}}';