Merge branch 'master' of github.com:asmaps/nsupdate.info
This commit is contained in:
commit
f13894fd9c
@ -3,57 +3,27 @@
|
|||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<h1>Help / FAQ</h1>
|
<h1>Help / FAQ</h1>
|
||||||
<h2>Standards used?</h2>
|
<div class="row">
|
||||||
<p>
|
<div class="col-lg-5">
|
||||||
We use:
|
<div class="well">
|
||||||
<ul>
|
<h2>Standards used?</h2>
|
||||||
<li>Frontend Update-API: dyndns2 protocol
|
We use:
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="http://dyn.com/support/developers/api/">dyndns2 api description on dyn.com</a></li>
|
<li>Frontend Update-API: dyndns2 protocol
|
||||||
<li><a href="http://www.noip.com/integrate/">dyndns2 api description on noip.com</a></li>
|
<ul>
|
||||||
</ul>
|
<li><a href="http://dyn.com/support/developers/api/">dyndns2 api description on dyn.com</a></li>
|
||||||
</li>
|
<li><a href="http://www.noip.com/integrate/">dyndns2 api description on noip.com</a></li>
|
||||||
<li>Backend: dynamic DNS update (see <a href="http://www.ietf.org/rfc/rfc2136.txt">RFC2136</a>)</li>
|
</ul>
|
||||||
</ul>
|
</li>
|
||||||
</p>
|
<li>Backend: dynamic DNS update (see <a href="http://www.ietf.org/rfc/rfc2136.txt">RFC2136</a>)</li>
|
||||||
<h2>Easy update URLs</h2>
|
</ul>
|
||||||
<p>
|
</div>
|
||||||
Explanation of parameters:
|
</div>
|
||||||
<ul>
|
<div class="col-lg-7">
|
||||||
<li>hostname: your fully qualified hostname, something like example.nsupdate.info</li>
|
<div class="well">
|
||||||
<li>yoursecret: the secret you have configured for this hostname</li>
|
<h3>How to configure your router?</h3>
|
||||||
<li>IP addresses: we use the v4 and v6 localhost addresses in the examples, but
|
{% include "main/includes/tabbed_router_configuration.html" with host=object %}
|
||||||
of course you need to use your real public IP instead of that.
|
</div>
|
||||||
</li>
|
</div>
|
||||||
</ul>
|
</div>
|
||||||
For browser / interactive use (will ask for username (give your hostname) and password (give yoursecret)):
|
|
||||||
<ul>
|
|
||||||
<li>http://nsupdate.info/nic/update (updates hostname to point to remote ipv4 or ipv6 address)</li>
|
|
||||||
<li>http://ipv4.nsupdate.info/nic/update (updates hostname to point to remote ipv4 address)</li>
|
|
||||||
<li>http://ipv6.nsupdate.info/nic/update (updates hostname to point to remote ipv6 address)</li>
|
|
||||||
</ul>
|
|
||||||
For browser / interactive use (give http basic auth username and password in URL):
|
|
||||||
<ul>
|
|
||||||
<li>http://hostname:yoursecret@nsupdate.info/nic/update (updates hostname to point to remote ipv4 or ipv6 address)</li>
|
|
||||||
<li>http://hostname:yoursecret@ipv4.nsupdate.info/nic/update (updates hostname to point to remote ipv4 address)</li>
|
|
||||||
<li>http://hostname:yoursecret@ipv6.nsupdate.info/nic/update (updates hostname to point to remote ipv6 address)</li>
|
|
||||||
</ul>
|
|
||||||
For browser / interactive use as above, but manually specifying the IP address:
|
|
||||||
<ul>
|
|
||||||
<li>http://hostname:yoursecret@nsupdate.info/nic/update?myip=127.0.0.1 (updates hostname to point to ipv4 127.0.0.1)</li>
|
|
||||||
<li>http://hostname:yoursecret@nsupdate.info/nic/update?myip=::1 (updates hostname to point to ipv6 ::1)</li>
|
|
||||||
</ul>
|
|
||||||
For routers or other dyndns2 compatible clients:
|
|
||||||
<ul>
|
|
||||||
<li>They must send a http basic auth header with hostname / yoursecret.</li>
|
|
||||||
<li>They must send a GET request to our server: nsupdate.info, path: /nic/update</li>
|
|
||||||
<li>We support http on port 80 (and soon also https on port 443).</li>
|
|
||||||
<li>URL args (all are optional):
|
|
||||||
<ul>
|
|
||||||
<li>myip=127.0.0.1 or myip=::1 (if not given: autodetect from remote_addr)</li>
|
|
||||||
<li>hostname=hostname (if not given: autodetect from http basic auth)</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</p>
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
@ -1,11 +1,12 @@
|
|||||||
<ul class="nav nav-tabs" id="myTab">
|
<ul class="nav nav-tabs" id="myTab">
|
||||||
<li class="active"><a href="#generic" data-toggle="tab">Generic</a></li>
|
<li class="active"><a href="#generic" data-toggle="tab">General</a></li>
|
||||||
<li><a href="#avm" data-toggle="tab">AVM Fritz!Box</a></li>
|
<li><a href="#avm" data-toggle="tab">AVM Fritz!Box</a></li>
|
||||||
|
<li><a href="#browser" data-toggle="tab">Browser</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<div class="tab-content">
|
<div class="tab-content">
|
||||||
<div class="tab-pane active" id="generic">
|
<div class="tab-pane active" id="generic">
|
||||||
<h4>Generic configuration hints</h4>
|
<h4>General configuration hints</h4>
|
||||||
<hr>
|
<hr>
|
||||||
Your router/script needs to call the following url for IPv4-Updates:
|
Your router/script needs to call the following url for IPv4-Updates:
|
||||||
<div class="well well-sm">
|
<div class="well well-sm">
|
||||||
@ -34,6 +35,18 @@
|
|||||||
<li>Code 401: Authorization Required <i class="icon-long-arrow-right"></i> Incorrect or no authentication data</li>
|
<li>Code 401: Authorization Required <i class="icon-long-arrow-right"></i> Incorrect or no authentication data</li>
|
||||||
</ul>
|
</ul>
|
||||||
</ul>
|
</ul>
|
||||||
|
For routers or other dyndns2 compatible clients:
|
||||||
|
<ul>
|
||||||
|
<li>They must send a http basic auth header with hostname / yoursecret.</li>
|
||||||
|
<li>They must send a GET request to our server: nsupdate.info, path: /nic/update</li>
|
||||||
|
<li>We support http on port 80 (and soon also https on port 443).</li>
|
||||||
|
<li>URL args (all are optional):
|
||||||
|
<ul>
|
||||||
|
<li>myip=127.0.0.1 or myip=::1 (if not given: autodetect from remote_addr)</li>
|
||||||
|
<li>hostname=hostname (if not given: autodetect from http basic auth)</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div class="tab-pane" id="avm">
|
<div class="tab-pane" id="avm">
|
||||||
<h4>Fritz!Box 7390 (and maybe others):</h4>
|
<h4>Fritz!Box 7390 (and maybe others):</h4>
|
||||||
@ -49,8 +62,8 @@
|
|||||||
<thead><th>Setting</th><th>Value</th></thead>
|
<thead><th>Setting</th><th>Value</th></thead>
|
||||||
<tr><td>Dynamic DNS provider</td><td>Custom</td></tr>
|
<tr><td>Dynamic DNS provider</td><td>Custom</td></tr>
|
||||||
<tr><td>Update-URL</td><td>http://nsupdate.info/nic/update</td></tr>
|
<tr><td>Update-URL</td><td>http://nsupdate.info/nic/update</td></tr>
|
||||||
<tr><td>Domain Name</td><td>{{ host.get_fqdn|default:"<your fqdn>" }}</td></tr>
|
<tr><td>Domain Name</td><td>{{ host.get_fqdn|default:"<your hostname>" }}</td></tr>
|
||||||
<tr><td>User name</td><td>{{ host.get_fqdn|default:"<your fqdn>" }}</td></tr>
|
<tr><td>User name</td><td>{{ host.get_fqdn|default:"<your hostname>" }}</td></tr>
|
||||||
<tr><td>Password</td><td>{{ update_secret|default:"<your secret>" }}</td></tr>
|
<tr><td>Password</td><td>{{ update_secret|default:"<your secret>" }}</td></tr>
|
||||||
</table>
|
</table>
|
||||||
<h5>If you also have IPv6 (Dual Stack)</h5>
|
<h5>If you also have IPv6 (Dual Stack)</h5>
|
||||||
@ -59,4 +72,36 @@
|
|||||||
http://ipv4.nsupdate.info/nic/update http://ipv6.nsupdate.info/nic/update
|
http://ipv4.nsupdate.info/nic/update http://ipv6.nsupdate.info/nic/update
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="tab-pane" id="browser">
|
||||||
|
<h4>Easy update URLs</h4>
|
||||||
|
Explanation of parameters:
|
||||||
|
<ul>
|
||||||
|
{% if not host %}
|
||||||
|
<li><your hostname>: your fully qualified hostname, something like example.nsupdate.info</li>
|
||||||
|
{% endif %}
|
||||||
|
{% if not update_secret %}
|
||||||
|
<li><your secret>: the secret you have configured for this hostname</li>
|
||||||
|
{% endif %}
|
||||||
|
<li>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.
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
For browser / interactive use (will ask for username (give your hostname) and password (give yoursecret)):
|
||||||
|
<ul>
|
||||||
|
<li>http://nsupdate.info/nic/update (updates hostname to point to remote ipv4 or ipv6 address)</li>
|
||||||
|
<li>http://ipv4.nsupdate.info/nic/update (updates hostname to point to remote ipv4 address)</li>
|
||||||
|
<li>http://ipv6.nsupdate.info/nic/update (updates hostname to point to remote ipv6 address)</li>
|
||||||
|
</ul>
|
||||||
|
For browser / interactive use (give http basic auth username and password in URL):
|
||||||
|
<ul>
|
||||||
|
<li>http://{{ host.get_fqdn|default:"<your hostname>" }}:{{ update_secret|default:"<your secret>" }}@nsupdate.info/nic/update (updates hostname to point to remote ipv4 or ipv6 address)</li>
|
||||||
|
<li>http://{{ host.get_fqdn|default:"<your hostname>" }}:{{ update_secret|default:"<your secret>" }}@ipv4.nsupdate.info/nic/update (updates hostname to point to remote ipv4 address)</li>
|
||||||
|
<li>http://{{ host.get_fqdn|default:"<your hostname>" }}:{{ update_secret|default:"<your secret>" }}@ipv6.nsupdate.info/nic/update (updates hostname to point to remote ipv6 address)</li>
|
||||||
|
</ul>
|
||||||
|
For browser / interactive use as above, but manually specifying the IP address:
|
||||||
|
<ul>
|
||||||
|
<li>http://{{ host.get_fqdn|default:"<your hostname>" }}:{{ update_secret|default:"<your secret>" }}@nsupdate.info/nic/update?myip=127.0.0.1 (updates hostname to point to ipv4 127.0.0.1)</li>
|
||||||
|
<li>http://{{ host.get_fqdn|default:"<your hostname>" }}:{{ update_secret|default:"<your secret>" }}@nsupdate.info/nic/update?myip=::1 (updates hostname to point to ipv6 ::1)</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user