summaryrefslogtreecommitdiff
path: root/templates/service/dns
diff options
context:
space:
mode:
authorAlex Harpin <development@landsofshadow.co.uk>2015-02-08 19:33:14 +0000
committerAlex Harpin <development@landsofshadow.co.uk>2015-02-08 20:08:35 +0000
commit935deedc1499e1446fad6e153f761f11817be201 (patch)
treeccdb6227cbe50ee550d98998fbcbc416ec77cbf4 /templates/service/dns
parenta0df6222dcf9a8d2a2d6f02b28ede4858d3a5c17 (diff)
downloadvyatta-cfg-system-935deedc1499e1446fad6e153f761f11817be201.tar.gz
vyatta-cfg-system-935deedc1499e1446fad6e153f761f11817be201.zip
vyatta-cfg-system: allow dynamic dns updating from behind nat
Add a couple of configuration options to DDNS, to allow the use=web option from ddclient when determining the external IP address. This will allow DDNS to be correctly updated when behind a NAT device. Syntax: set service dns dynamic interface eth0 use-web url (url to use) set service dns dynamic interface eth0 use-web skip (search for this) Bug #455 http://bugzilla.vyos.net/show_bug.cgi?id=455
Diffstat (limited to 'templates/service/dns')
-rw-r--r--templates/service/dns/dynamic/interface/node.tag/use-web/node.def1
-rw-r--r--templates/service/dns/dynamic/interface/node.tag/use-web/skip/node.def2
-rw-r--r--templates/service/dns/dynamic/interface/node.tag/use-web/url/node.def2
3 files changed, 5 insertions, 0 deletions
diff --git a/templates/service/dns/dynamic/interface/node.tag/use-web/node.def b/templates/service/dns/dynamic/interface/node.tag/use-web/node.def
new file mode 100644
index 00000000..f1b86b6d
--- /dev/null
+++ b/templates/service/dns/dynamic/interface/node.tag/use-web/node.def
@@ -0,0 +1 @@
+help: Web check used for obtaining the external IP address
diff --git a/templates/service/dns/dynamic/interface/node.tag/use-web/skip/node.def b/templates/service/dns/dynamic/interface/node.tag/use-web/skip/node.def
new file mode 100644
index 00000000..f316a4b5
--- /dev/null
+++ b/templates/service/dns/dynamic/interface/node.tag/use-web/skip/node.def
@@ -0,0 +1,2 @@
+help: Skip everything before this on the given URL
+type: txt
diff --git a/templates/service/dns/dynamic/interface/node.tag/use-web/url/node.def b/templates/service/dns/dynamic/interface/node.tag/use-web/url/node.def
new file mode 100644
index 00000000..164ddde4
--- /dev/null
+++ b/templates/service/dns/dynamic/interface/node.tag/use-web/url/node.def
@@ -0,0 +1,2 @@
+help: URL to obtain the current external IP address
+type: txt