Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dns/ddclient: Add zone to DNSExit provider #4007

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions dns/ddclient/pkg-descr
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ WWW: https://github.com/ddclient/ddclient
Plugin Changelog
================

* Add zone support to DNSExit provider

1.21

* Add Netcup support (contributed by Ingo Lafrenz)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
<id>account.zone</id>
<label>Zone</label>
<type>text</type>
<style>optional_setting service_aws service_zoneedit1 service_cloudflare service_nsupdate service_gandi service_godaddy service_nfsn service_hetzner service_digitalocean</style>
<style>optional_setting service_aws service_zoneedit1 service_cloudflare service_nsupdate service_gandi service_godaddy service_nfsn service_hetzner service_digitalocean service_dnsexit2</style>
<help>Zone containing the host entry.</help>
</field>
<field>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,29 +36,20 @@ use=cmd, cmd="/usr/local/opnsense/scripts/ddclient/checkip -t {{account.force_ss
{% if account.service == 'custom' %}
protocol={{account.protocol}}, \
server={{account.server}}, \
{% elif account.service in ['cloudflare', 'digitalocean'] %}
{% elif account.service in ['cloudflare', 'digitalocean', 'dnsexit2', 'gandi', 'godaddy', 'hetzner'] %}
protocol={{account.service}}, \
zone={{account.zone}}, \
{% elif account.service == 'cloudns' %}
protocol={{account.service}}, \
dynurl=https://ipv4.cloudns.net/api/dynamicURL/?q={{account.password}}, \
{% elif account.service == 'hosting1984' %}
protocol=1984, \
{% elif account.service == 'godaddy' %}
protocol={{account.service}}, \
zone={{account.zone}}, \
{% elif account.service == 'hetzner' %}
protocol={{account.service}}, \
zone={{account.zone}}, \
{% elif account.service == 'dns-o-matic' %}
protocol=dyndns2, \
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, \
Expand Down