From 8b1441958787e3842fdbfe2c5537ec43d42daf12 Mon Sep 17 00:00:00 2001 From: Johan Pramming Date: Sun, 26 Jan 2020 16:48:05 +0100 Subject: [PATCH] GratisDNS URL updated --- dns/dyndns/src/etc/inc/plugins.inc.d/dyndns/phpDynDNS.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dns/dyndns/src/etc/inc/plugins.inc.d/dyndns/phpDynDNS.inc b/dns/dyndns/src/etc/inc/plugins.inc.d/dyndns/phpDynDNS.inc index afa798a59..5a2784c5a 100644 --- a/dns/dyndns/src/etc/inc/plugins.inc.d/dyndns/phpDynDNS.inc +++ b/dns/dyndns/src/etc/inc/plugins.inc.d/dyndns/phpDynDNS.inc @@ -82,7 +82,7 @@ * CloudFlare - Last Tested: 16 April 2019 * CloudFlare IPv6 - Last Tested: 16 April 2019 * Eurodns - Last Tested: 25 July 2018 - * GratisDNS - Last Tested: 15 August 2012 + * GratisDNS - Last Tested: 26 January 2020 * OVH DynHOST - Last Tested: NEVER * City Network - Last Tested: 13 November 2013 * Duck DNS - Last Tested: 04 March 2015 @@ -818,10 +818,10 @@ class updatedns curl_setopt($ch, CURLOPT_URL, $server . $port . '?hostname=' . $this->_dnsHost . '&myip=' . $this->_dnsIP); break; case 'gratisdns': - $server = "https://ssl.gratisdns.dk/ddns.phtml"; + $server = "https://admin.gratisdns.com/ddns.php"; curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, true); list($hostname, $domain) = explode(".", $this->_dnsHost, 2); - curl_setopt($ch, CURLOPT_URL, $server . '?u=' . urlencode($this->_dnsUser) . '&p=' . $this->_dnsPass . '&h=' . $this->_dnsHost . '&d=' . $domain); + curl_setopt($ch, CURLOPT_URL, $server . '?u=' . urlencode($this->_dnsUser) . '&p=' . $this->_dnsPass . '&h=' . $this->_dnsHost . '&d=' . $domain . '&i=' . $this->_dnsIP); break; case 'ovh-dynhost': if (isset($this->_dnsWildcard) && $this->_dnsWildcard != "OFF") {