summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
authorDaniel Becker <razzfazz@gmail.com>2013-07-07 15:40:16 -0700
committerDaniel Becker <razzfazz@gmail.com>2013-07-10 19:05:42 -0700
commitb54b997d2d05eb8ac8dff73dc86a8832c2e9936e (patch)
treee5608ae7003a8d222b27f3eafa5004c4491a3a23 /etc/inc
parentc3101e14c0389ff7b78a5fbc2cb55815f8f8b8f5 (diff)
downloadpfsense-b54b997d2d05eb8ac8dff73dc86a8832c2e9936e.zip
pfsense-b54b997d2d05eb8ac8dff73dc86a8832c2e9936e.tar.gz
Add support for custom IPv6 DDNS.
Diffstat (limited to 'etc/inc')
-rw-r--r--etc/inc/dyndns.class9
-rw-r--r--etc/inc/services.inc4
2 files changed, 10 insertions, 3 deletions
diff --git a/etc/inc/dyndns.class b/etc/inc/dyndns.class
index e1f7b03..c85829e 100644
--- a/etc/inc/dyndns.class
+++ b/etc/inc/dyndns.class
@@ -19,11 +19,13 @@
* - OpenDNS (opendns.com)
* - Namecheap (namecheap.com)
* - HE.net (dns.he.net)
+ * - HE.net IPv6 (dns.he.net)
* - HE.net Tunnelbroker IP update (ipv4.tunnelbroker.net)
* - SelfHost (selfhost.de)
* - Amazon Route 53 (aws.amazon.com)
* - DNS-O-Matic (dnsomatic.com)
* - Custom DDNS (any URL)
+ * - Custom DDNS IPv6 (any URL)
* +----------------------------------------------------+
* Requirements:
* - PHP version 4.0.2 or higher with the CURL Library and the PCRE Library
@@ -55,7 +57,8 @@
* DNSexit - Last Tested: 20 July 2008
* OpenDNS - Last Tested: 4 August 2008
* Namecheap - Last Tested: 31 August 2010
- * HE.net - Last Tested: NEVER
+ * HE.net - Last Tested: 7 July 2013
+ * HE.net IPv6 - Last Tested: 7 July 2013
* HE.net Tunnel - Last Tested: 28 June 2011
* SelfHost - Last Tested: 26 December 2011
* Amazon Route 53 - Last tested: 01 April 2012
@@ -154,6 +157,7 @@
switch ($dnsService) {
case 'he-net-v6':
+ case 'custom-v6':
$this->_useIPv6 = true;
break;
default:
@@ -211,6 +215,7 @@
case 'staticcling':
case 'dnsexit':
case 'custom':
+ case 'custom-v6':
case 'opendns':
case 'namecheap':
case 'he-net':
@@ -574,6 +579,7 @@
$this->_checkStatus(0, $result);
break;
case 'custom':
+ case 'custom-v6':
if ($this->_dnsVerboseLog)
log_error("Custom DDNS ({$this->_dnsHost}): DNS update() starting.");
if (strstr($this->dnsUpdateURL, "%IP%")) {$needsIP = TRUE;} else {$needsIP = FALSE;}
@@ -991,6 +997,7 @@
$successful_update = true;
break;
case 'custom':
+ case 'custom-v6':
$successful_update = false;
if ($this->_dnsResultMatch == "") {
$successful_update = true;
diff --git a/etc/inc/services.inc b/etc/inc/services.inc
index 7ed1b0a..a486f04 100644
--- a/etc/inc/services.inc
+++ b/etc/inc/services.inc
@@ -38,8 +38,8 @@
pfSense_MODULE: utils
*/
-define('DYNDNS_PROVIDER_VALUES', 'dnsomatic dyndns dyndns-static dyndns-custom dhs dyns easydns noip noip-free ods zoneedit loopia freedns dnsexit opendns namecheap he-net he-net-v6 he-net-tunnelbroker selfhost route53 custom');
-define('DYNDNS_PROVIDER_DESCRIPTIONS', 'DNS-O-Matic,DynDNS (dynamic),DynDNS (static),DynDNS (custom),DHS,DyNS,easyDNS,No-IP,No-IP (free),ODS.org,ZoneEdit,Loopia,freeDNS,DNSexit,OpenDNS,Namecheap,HE.net,HE.net (v6),HE.net Tunnelbroker,SelfHost,Route 53,Custom');
+define('DYNDNS_PROVIDER_VALUES', 'dnsomatic dyndns dyndns-static dyndns-custom dhs dyns easydns noip noip-free ods zoneedit loopia freedns dnsexit opendns namecheap he-net he-net-v6 he-net-tunnelbroker selfhost route53 custom custom-v6');
+define('DYNDNS_PROVIDER_DESCRIPTIONS', 'DNS-O-Matic,DynDNS (dynamic),DynDNS (static),DynDNS (custom),DHS,DyNS,easyDNS,No-IP,No-IP (free),ODS.org,ZoneEdit,Loopia,freeDNS,DNSexit,OpenDNS,Namecheap,HE.net,HE.net (v6),HE.net Tunnelbroker,SelfHost,Route 53,Custom,Custom (v6)');
/* implement ipv6 route advertising deamon */
function services_radvd_configure() {
OpenPOWER on IntegriCloud