From 1c2c08bd3444d749c759cd992d37aa1e77014a50 Mon Sep 17 00:00:00 2001 From: exii1988 Date: Sat, 2 Jul 2016 11:29:48 +0200 Subject: spdns.de renamed to spdyn.de The service renamed there addresses --- src/etc/inc/dyndns.class | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'src') diff --git a/src/etc/inc/dyndns.class b/src/etc/inc/dyndns.class index e53bfe1..10887a7 100644 --- a/src/etc/inc/dyndns.class +++ b/src/etc/inc/dyndns.class @@ -34,8 +34,8 @@ * - DNSimple (dnsimple.com) * - Google Domains (domains.google.com) * - DNS Made Easy (www.dnsmadeeasy.com) - * - SPDNS (spdns.de) - * - SPDNS IPv6 (spdns.de) + * - SPDYN (spdyn.de) + * - SPDYN IPv6 (spdyn.de) * +----------------------------------------------------+ * Requirements: * - PHP version 4.0.2 or higher with the CURL Library and the PCRE Library @@ -83,8 +83,8 @@ * DNSimple - Last Tested: 09 February 2015 * Google Domains - Last Tested: 27 April 2015 * DNS Made Easy - Last Tested: 27 April 2015 - * SPDNS - Last Tested: 04 December 2015 - * SPDNS IPv6 - Last Tested: 04 December 2015 + * SPDYN - Last Tested: 02 July 2016 + * SPDYN IPv6 - Last Tested: 02 July 2016 * +====================================================+ * * @author E.Kristensen @@ -195,7 +195,7 @@ switch ($dnsService) { case 'he-net-v6': case 'custom-v6': - case 'spdns-v6': + case 'spdyn-v6': case 'freedns-v6': $this->_useIPv6 = true; break; @@ -274,8 +274,8 @@ case 'dnsimple': case 'googledomains': case 'dnsmadeeasy': - case 'spdns': - case 'spdns-v6': + case 'spdyn': + case 'spdyn-v6': $this->_update(); if ($this->_dnsDummyUpdateDone == true) { // If a dummy update was needed, then sleep a while and do the update again to put the proper address back. @@ -792,11 +792,11 @@ $server = "https://cp.dnsmadeeasy.com/servlet/updateip"; curl_setopt($ch, CURLOPT_URL, $server . '?username=' . $this->_dnsUser . '&password=' . $this->_dnsPass . '&id=' . $this->_dnsHost . '&ip=' . $this->_dnsIP); break; - case 'spdns': - case 'spdns-v6': + case 'spdyn': + case 'spdyn-v6': $needsIP = FALSE; curl_setopt($ch, CURLOPT_USERPWD, $this->_dnsUser.':'.$this->_dnsPass); - $server = "https://update.spdns.de/nic/update"; + $server = "https://update.spdyn.de/nic/update"; $port = ""; if ($this->_dnsServer) { $server = $this->_dnsServer; @@ -1405,8 +1405,8 @@ break; } break; - case 'spdns': - case 'spdns-v6': + case 'spdyn': + case 'spdyn-v6': if (preg_match('/notfqdn/i', $data)) { $status = $status_intro . $error_str . gettext("Not A FQDN!"); } else if (preg_match('/nohost/i', $data)) { -- cgit v1.1