mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-04-29 10:10:19 +00:00
dynamicdns: Improve label for IP Check URL
This commit is contained in:
parent
30d58d0649
commit
777dbbe2a7
@ -41,7 +41,8 @@ EMPTYSTRING="none"
|
|||||||
NOIP="0.0.0.0"
|
NOIP="0.0.0.0"
|
||||||
# how often do we poll for IP changes if we are behind a NAT?
|
# how often do we poll for IP changes if we are behind a NAT?
|
||||||
UPDATEMINUTES=5
|
UPDATEMINUTES=5
|
||||||
# if we do not have a IP check URL, how often should we do a "blind" update
|
# if we do not have a URL to lookup public IP, how often should we do
|
||||||
|
# a "blind" update
|
||||||
UPDATEMINUTESUNKNOWN=3600
|
UPDATEMINUTESUNKNOWN=3600
|
||||||
TOOLNAME=ez-ipupdate
|
TOOLNAME=ez-ipupdate
|
||||||
UPDATE_TOOL=$(which ${TOOLNAME})
|
UPDATE_TOOL=$(which ${TOOLNAME})
|
||||||
@ -439,7 +440,7 @@ case ${cmd} in
|
|||||||
echo "-u <user> Account username"
|
echo "-u <user> Account username"
|
||||||
echo "-P <password> Account password"
|
echo "-P <password> Account password"
|
||||||
echo "-p Read Account Password from stdin"
|
echo "-p Read Account Password from stdin"
|
||||||
echo "-I <IP check URL> A URL which returns the IP of the client who is requesting"
|
echo "-I <URL to lookup public IP> A URL which returns the IP of the client who is requesting"
|
||||||
echo "-U <update URL> The update URL (a HTTP GET on this URL will be done)"
|
echo "-U <update URL> The update URL (a HTTP GET on this URL will be done)"
|
||||||
echo "-c <1|0> disable SSL check on Update URL"
|
echo "-c <1|0> disable SSL check on Update URL"
|
||||||
echo "-b <1|0> use HTTP basic auth on Update URL"
|
echo "-b <1|0> use HTTP basic auth on Update URL"
|
||||||
|
|||||||
@ -150,7 +150,7 @@ class ConfigureForm(forms.Form):
|
|||||||
required=False)
|
required=False)
|
||||||
|
|
||||||
dynamicdns_ipurl = TrimmedCharField(
|
dynamicdns_ipurl = TrimmedCharField(
|
||||||
label=ugettext_lazy('IP Check URL'),
|
label=ugettext_lazy('URL to lookup public IP'),
|
||||||
required=False,
|
required=False,
|
||||||
help_text=help_ip_url,
|
help_text=help_ip_url,
|
||||||
validators=[
|
validators=[
|
||||||
|
|||||||
@ -36,10 +36,11 @@
|
|||||||
{% else %}
|
{% else %}
|
||||||
{% blocktrans trimmed %}
|
{% blocktrans trimmed %}
|
||||||
Behind NAT. This means that Dynamic DNS service will poll
|
Behind NAT. This means that Dynamic DNS service will poll
|
||||||
the "IP Check URL" for changes (the "IP Check URL" entry is
|
the "URL to lookup public IP" for changes (the "URL to
|
||||||
needed for this, otherwise IP changes will not be
|
lookup public IP" entry is needed for this, otherwise IP
|
||||||
detected). In case the WAN IP changes, it may take up to
|
changes will not be detected). In case the WAN IP changes,
|
||||||
{{ timer }} minutes until your DNS entry is updated.
|
it may take up to {{ timer }} minutes until your DNS entry
|
||||||
|
is updated.
|
||||||
{% endblocktrans %}
|
{% endblocktrans %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user