mirror of
https://github.com/opnsense/plugins.git
synced 2026-05-25 02:48:58 -04:00
Add ddclient TTL configuration in Gandi and GoDaddy (#4387)
This commit is contained in:
parent
6d79d32ea8
commit
be46a42f8e
2 changed files with 3 additions and 5 deletions
|
|
@ -77,7 +77,7 @@
|
|||
<id>account.ttl</id>
|
||||
<label>TTL</label>
|
||||
<type>text</type>
|
||||
<style>optional_setting service_aws service_netcup</style>
|
||||
<style>optional_setting service_aws service_netcup service_gandi service_godaddy</style>
|
||||
<help>Time to Live for the DNS entry</help>
|
||||
</field>
|
||||
<field>
|
||||
|
|
|
|||
|
|
@ -44,9 +44,10 @@ protocol={{account.service}}, \
|
|||
dynurl=https://ipv4.cloudns.net/api/dynamicURL/?q={{account.password}}, \
|
||||
{% elif account.service == 'hosting1984' %}
|
||||
protocol=1984, \
|
||||
{% elif account.service == 'godaddy' %}
|
||||
{% elif account.service in ['godaddy', 'gandi'] %}
|
||||
protocol={{account.service}}, \
|
||||
zone={{account.zone}}, \
|
||||
ttl={{account.ttl}}, \
|
||||
{% elif account.service == 'hetzner' %}
|
||||
protocol={{account.service}}, \
|
||||
zone={{account.zone}}, \
|
||||
|
|
@ -56,9 +57,6 @@ server=updates.dnsomatic.com, \
|
|||
{% elif account.service == 'dynu' %}
|
||||
protocol=dyndns2, \
|
||||
server=api.dynu.com, \
|
||||
{% elif account.service == 'gandi' %}
|
||||
protocol={{account.service}}, \
|
||||
zone={{account.zone}}, \
|
||||
{% elif account.service == 'he-net' %}
|
||||
protocol=dyndns2, \
|
||||
server=dyn.dns.he.net, \
|
||||
|
|
|
|||
Loading…
Reference in a new issue