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

Update dnsHome.de DynDNS Provider #435

Merged
merged 1 commit into from
Jul 24, 2023
Merged
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
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ providers, ordered by the plugin that support them:
* <https://connect.yandex.ru>
* <https://www.cloudflare.com>
* <https://www.goip.de>
* <https://www.dnshome.de>

DDNS providers not supported natively can be enabled using the custom,
or generic, DDNS plugin. E.g. <https://www.namecheap.com>. See below
Expand Down
7 changes: 7 additions & 0 deletions examples/dnshomede.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Inadyn v2.0 configuration file format
period = 300

provider [email protected] {
username = SUB.DOMAIN.TLD
password = PASSWORD
}
12 changes: 6 additions & 6 deletions plugins/dnshome.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

#define DNSHOME_UPDATE_IP_REQUEST \
"GET %s?" \
"hostname=%s&" \
"u=%s&" \
"ip=%s " \
"HTTP/1.0\r\n" \
"Host: %s\r\n" \
Expand All @@ -32,7 +32,7 @@

#define DNSHOME_UPDATE_IP6_REQUEST \
"GET %s?" \
"hostname=%s&" \
"u=%s&" \
"ip6=%s " \
"HTTP/1.0\r\n" \
"Host: %s\r\n" \
Expand All @@ -49,8 +49,8 @@ static ddns_system_t plugin = {
.request = (req_fn_t)request,
.response = (rsp_fn_t)response,

.checkip_name = DYNDNS_MY_IP_SERVER,
.checkip_url = DYNDNS_MY_CHECKIP_URL,
.checkip_name = "ip4.dnshome.de",
.checkip_url = "/",
.checkip_ssl = DYNDNS_MY_IP_SSL,

.server_name = "www.dnshome.de",
Expand All @@ -63,8 +63,8 @@ static ddns_system_t plugin_v6 = {
.request = (req_fn_t)request,
.response = (rsp_fn_t)response,

.checkip_name = "dns64.cloudflare-dns.com",
.checkip_url = "/cdn-cgi/trace",
.checkip_name = "ip6.dnshome.de",
.checkip_url = "/",
.checkip_ssl = DDNS_CHECKIP_SSL_SUPPORTED,

.server_name = "www.dnshome.de",
Expand Down