From 5007c2d054ae5418cf30f31057726c0f6af4743b Mon Sep 17 00:00:00 2001
From: Thomas Waldmann
Date: Sun, 29 Sep 2013 20:08:50 +0200
Subject: [PATCH] content for help page
---
nsupdate/main/templates/main/help.html | 56 +++++++++++++++++++++++++-
1 file changed, 54 insertions(+), 2 deletions(-)
diff --git a/nsupdate/main/templates/main/help.html b/nsupdate/main/templates/main/help.html
index 1a654f1..a6e5264 100644
--- a/nsupdate/main/templates/main/help.html
+++ b/nsupdate/main/templates/main/help.html
@@ -2,6 +2,58 @@
{% load bootstrap %}
{% block content %}
-Help
-This is the help page
+Help / FAQ
+ Standards used?
+
+ We use:
+
+ - Frontend Update-API: dyndns2 protocol
+
+
+ - Backend: dynamic DNS update (see RFC2136)
+
+
+ Easy update URLs
+
+ Explanation of parameters:
+
+ - hostname: your fully qualified hostname, something like example.nsupdate.info
+ - yoursecret: the secret you have configured for this hostname
+ - IP addresses: we use the v4 and v6 localhost addresses in the examples, but
+ of course you need to use your real public IP instead of that.
+
+
+ For browser / interactive use (will ask for username (give your hostname) and password (give yoursecret)):
+
+ - http://nsupdate.info/nic/update (updates hostname to point to remote ipv4 or ipv6 address)
+ - http://ipv4.nsupdate.info/nic/update (updates hostname to point to remote ipv4 address)
+ - http://ipv6.nsupdate.info/nic/update (updates hostname to point to remote ipv6 address)
+
+ For browser / interactive use (give http basic auth username and password in URL):
+
+ - http://hostname:yoursecret@nsupdate.info/nic/update (updates hostname to point to remote ipv4 or ipv6 address)
+ - http://hostname:yoursecret@ipv4.nsupdate.info/nic/update (updates hostname to point to remote ipv4 address)
+ - http://hostname:yoursecret@ipv6.nsupdate.info/nic/update (updates hostname to point to remote ipv6 address)
+
+ For browser / interactive use as above, but manually specifying the IP address:
+
+ - http://hostname:yoursecret@nsupdate.info/nic/update?myip=127.0.0.1 (updates hostname to point to ipv4 127.0.0.1)
+ - http://hostname:yoursecret@nsupdate.info/nic/update?myip=::1 (updates hostname to point to ipv6 ::1)
+
+ For routers or other dyndns2 compatible clients:
+
+ - They must send a http basic auth header with hostname / yoursecret.
+ - They must send a GET request to our server: nsupdate.info, path: /nic/update
+ - We support http on port 80 (and soon also https on port 443).
+ - URL args (all are optional):
+
+ - myip=127.0.0.1 or myip=::1 (if not given: autodetect from remote_addr)
+ - hostname=hostname (if not given: autodetect from http basic auth)
+
+
+
+
{% endblock %}