configuration help: add some generic intro text, improve / clarify wording, reorder
This commit is contained in:
parent
94d6aad803
commit
b9a73eab6c
@ -13,7 +13,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-lg-8">
|
<div class="col-lg-8">
|
||||||
<div class="well">
|
<div class="well">
|
||||||
<h3>How to configure your router?</h3>
|
<h3>How to configure automated dynamic DNS updates?</h3>
|
||||||
{% include "main/includes/tabbed_router_configuration.html" with host=object %}
|
{% include "main/includes/tabbed_router_configuration.html" with host=object %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-lg-7">
|
<div class="col-lg-7">
|
||||||
<div class="well">
|
<div class="well">
|
||||||
<h3>How to configure your router?</h3>
|
<h3>How to configure automated dynamic DNS updates?</h3>
|
||||||
{% include "main/includes/tabbed_router_configuration.html" with host=object %}
|
{% include "main/includes/tabbed_router_configuration.html" with host=object %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -8,8 +8,20 @@
|
|||||||
<div class="tab-content">
|
<div class="tab-content">
|
||||||
<div class="tab-pane active" id="generic">
|
<div class="tab-pane active" id="generic">
|
||||||
<h4>General configuration hints</h4>
|
<h4>General configuration hints</h4>
|
||||||
|
<p>
|
||||||
|
Usually, you should configure one system on your network to update the DNS.
|
||||||
|
This can be either your router or a host on your network and it will run some software
|
||||||
|
called the update client.
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
We have some specific configuration hints for some devices and update clients,
|
||||||
|
please see the tabs above. If you don't find yours there, use the generic hints below.
|
||||||
|
</p>
|
||||||
<hr>
|
<hr>
|
||||||
Your router/script needs to call the following URL for IPv4 updates:
|
<p>
|
||||||
|
Your update client needs to access the following URLs to update the DNS:
|
||||||
|
</p>
|
||||||
|
For IPv4 updates:
|
||||||
<div class="well well-sm">
|
<div class="well well-sm">
|
||||||
<a href="http://{{ host.get_fqdn|default:"<your fqdn>" }}:{{ update_secret|default:"<your secret>" }}@ipv4.nsupdate.info/nic/update">http://{{ host.get_fqdn|default:"<your fqdn>" }}:{{ update_secret|default:"<your secret>" }}@ipv4.nsupdate.info/nic/update</a>
|
<a href="http://{{ host.get_fqdn|default:"<your fqdn>" }}:{{ update_secret|default:"<your secret>" }}@ipv4.nsupdate.info/nic/update">http://{{ host.get_fqdn|default:"<your fqdn>" }}:{{ update_secret|default:"<your secret>" }}@ipv4.nsupdate.info/nic/update</a>
|
||||||
</div>
|
</div>
|
||||||
@ -17,35 +29,39 @@
|
|||||||
<div class="well well-sm">
|
<div class="well well-sm">
|
||||||
<a href="http://{{ host.get_fqdn|default:'<your fqdn>' }}:{{ update_secret|default:'<your secret>' }}@ipv6.nsupdate.info/nic/update">http://{{ host.get_fqdn|default:'<your fqdn>' }}:{{ update_secret|default:'<your secret>' }}@ipv6.nsupdate.info/nic/update</a>
|
<a href="http://{{ host.get_fqdn|default:'<your fqdn>' }}:{{ update_secret|default:'<your secret>' }}@ipv6.nsupdate.info/nic/update">http://{{ host.get_fqdn|default:'<your fqdn>' }}:{{ update_secret|default:'<your secret>' }}@ipv6.nsupdate.info/nic/update</a>
|
||||||
</div>
|
</div>
|
||||||
The IPs will be determined automatically.
|
The IPs will be determined automatically using the remote address our service is seeing
|
||||||
|
(see below for more details).
|
||||||
<hr>
|
<hr>
|
||||||
Briefly your router/script has to do the following steps:
|
<p>
|
||||||
|
Your update client has to do the following steps:
|
||||||
|
</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>visit http://ipv4.nsupdate.info/nic/update (to update A (IPv4) record)</li>
|
|
||||||
<li>visit http://ipv6.nsupdate.info/nic/update (to update AAAA (IPv6) record)</li>
|
|
||||||
<li>Do HTTP Basic Auth with:
|
<li>Do HTTP Basic Auth with:
|
||||||
<ul>
|
<ul>
|
||||||
<li>Username: {{ host.get_fqdn|default:"<your fqdn>" }}</li>
|
<li>Username: {{ host.get_fqdn|default:"<your fqdn>" }}</li>
|
||||||
<li>Password: {{ update_secret|default:"<your secret>" }}</li>
|
<li>Password: {{ update_secret|default:"<your secret>" }}</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li>The response will look like this:
|
<li>Send a http GET request to:
|
||||||
<ul>
|
<ul>
|
||||||
<li>"good <your ip>" <i class="icon-long-arrow-right"></i> new IP accepted</li>
|
<li>http://ipv4.nsupdate.info/nic/update (to update IPv4 A record in DNS)</li>
|
||||||
<li>"nochg <your ip>" <i class="icon-long-arrow-right"></i> IP accepted, but did not change since last update</li>
|
<li>http://ipv6.nsupdate.info/nic/update (to update IPv6 AAAA record in DNS)</li>
|
||||||
<li>Code 401: Authorization Required <i class="icon-long-arrow-right"></i> Incorrect or no authentication data</li>
|
<li>We support http on port 80 (and soon also https on port 443).</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
|
<li>Optionally, we support some URL arguments:
|
||||||
|
<ul>
|
||||||
|
<li>myip=127.0.0.1 or myip=::1 (by default, we autodetect the IP. If the autodetected IP is not
|
||||||
|
the one you want to put into DNS, you need to give the wanted one explicitly using myip=...)
|
||||||
|
</li>
|
||||||
|
<li>hostname={{ host.get_fqdn|default:"<your fqdn>" }} (if not given: autodetect from http basic auth)</li>
|
||||||
</ul>
|
</ul>
|
||||||
For routers or other dyndns2 compatible clients:
|
</li>
|
||||||
|
<li>The response status and content will be:
|
||||||
<ul>
|
<ul>
|
||||||
<li>They must send a http basic auth header with hostname / yoursecret.</li>
|
<li>Status 200 and "good <your ip>" <i class="icon-long-arrow-right"></i> new IP accepted</li>
|
||||||
<li>They must send a GET request to our server: nsupdate.info, path: /nic/update</li>
|
<li>Status 200 and "nochg <your ip>" <i class="icon-long-arrow-right"></i> IP accepted, but did not change since last update</li>
|
||||||
<li>We support http on port 80 (and soon also https on port 443).</li>
|
<li>Status 401: Authorization Required <i class="icon-long-arrow-right"></i> Incorrect authentication or no http basic auth header received</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>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user