From fa6d6b77aadeacd7194a5501cec85589d9da531b Mon Sep 17 00:00:00 2001 From: aptalca Date: Thu, 20 Oct 2022 16:59:34 -0400 Subject: [PATCH] updates for 3.10.0, update ddclient.conf --- Dockerfile | 2 +- Dockerfile.aarch64 | 2 +- Dockerfile.armhf | 2 +- README.md | 1 + readme-vars.yml | 1 + root/defaults/ddclient.conf | 168 ++++++++++++++++++++++++++---------- 6 files changed, 126 insertions(+), 50 deletions(-) diff --git a/Dockerfile b/Dockerfile index 640d221..f6998eb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -44,7 +44,7 @@ RUN \ tar xf \ /tmp/ddclient.tar.gz -C \ /tmp/ddclient --strip-components=1 && \ - install -Dm755 /tmp/ddclient/ddclient /usr/bin/ && \ + install -Dm755 /tmp/ddclient/ddclient.in /usr/bin/ && \ mkdir -p /etc/ddclient/ && \ cp /tmp/ddclient/sample-get-ip-from-fritzbox /etc/ddclient/get-ip-from-fritzbox && \ echo "**** cleanup ****" && \ diff --git a/Dockerfile.aarch64 b/Dockerfile.aarch64 index bf1e693..8e5a2f2 100644 --- a/Dockerfile.aarch64 +++ b/Dockerfile.aarch64 @@ -44,7 +44,7 @@ RUN \ tar xf \ /tmp/ddclient.tar.gz -C \ /tmp/ddclient --strip-components=1 && \ - install -Dm755 /tmp/ddclient/ddclient /usr/bin/ && \ + install -Dm755 /tmp/ddclient/ddclient.in /usr/bin/ && \ mkdir -p /etc/ddclient/ && \ cp /tmp/ddclient/sample-get-ip-from-fritzbox /etc/ddclient/get-ip-from-fritzbox && \ echo "**** cleanup ****" && \ diff --git a/Dockerfile.armhf b/Dockerfile.armhf index 806c053..c8a4566 100644 --- a/Dockerfile.armhf +++ b/Dockerfile.armhf @@ -44,7 +44,7 @@ RUN \ tar xf \ /tmp/ddclient.tar.gz -C \ /tmp/ddclient --strip-components=1 && \ - install -Dm755 /tmp/ddclient/ddclient /usr/bin/ && \ + install -Dm755 /tmp/ddclient/ddclient.in /usr/bin/ && \ mkdir -p /etc/ddclient/ && \ cp /tmp/ddclient/sample-get-ip-from-fritzbox /etc/ddclient/get-ip-from-fritzbox && \ echo "**** cleanup ****" && \ diff --git a/README.md b/README.md index a55710f..2999be4 100644 --- a/README.md +++ b/README.md @@ -223,6 +223,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64 ## Versions +* **20.10.22:** - Update build instructions for 3.10.0. Update default `ddclient.conf`. * **15.01.22:** - Rebase to Alpine 3.15 * **15.05.21:** - Distribute script 'sample-get-ip-from-fritzbox' from ddclient repo * **08.03.21:** - Added bind-tools to provide nsupdate diff --git a/readme-vars.yml b/readme-vars.yml index 9a1ca3a..2b23c08 100644 --- a/readme-vars.yml +++ b/readme-vars.yml @@ -52,6 +52,7 @@ app_setup_block: | # changelog changelogs: + - { date: "20.10.22:", desc: "Update build instructions for 3.10.0. Update default `ddclient.conf`." } - { date: "15.01.22:", desc: "Rebase to Alpine 3.15" } - { date: "15.05.21:", desc: "Distribute script 'sample-get-ip-from-fritzbox' from ddclient repo" } - { date: "08.03.21:", desc: "Added bind-tools to provide nsupdate" } diff --git a/root/defaults/ddclient.conf b/root/defaults/ddclient.conf index 93f8166..a9e572f 100644 --- a/root/defaults/ddclient.conf +++ b/root/defaults/ddclient.conf @@ -1,5 +1,5 @@ ###################################################################### -## +## ## Define default global variables with lines like: ## var=value [, var=value]* ## These values will be used for each following host unless overridden @@ -18,14 +18,13 @@ ###################################################################### daemon=300 # check every 300 seconds syslog=yes # log update msgs to syslog -#verbose=yes # Enable verbose logging #mail=root # mail all msgs to root -#mail-failure=root # mail failed update msgs to root +#mail-failure=root # mail failed update msgs to root pid=/var/run/ddclient/ddclient.pid # record PID in file. ssl=yes # use ssl-support. Works with -# ssl-library -# postscript=script # run script after updating. The -# new IP is added as argument. + # ssl-library +# postscript=script # run script after updating. The + # new IP is added as argument. # #use=watchguard-soho, fw=192.168.111.1:80 # via Watchguard's SOHO FW #use=netopia-r910, fw=192.168.111.1:80 # via Netopia R910 FW @@ -89,7 +88,6 @@ ssl=yes # use ssl-support. Works with # protocol=dyndns2 \ # your-static-host.dyndns.org -## ## ## dyndns.org custom addresses ## @@ -118,15 +116,6 @@ ssl=yes # use ssl-support. Works with # password=your-easydns-password \ # your.any.domain,your-2nd.any.domain -## -## Hammernode (hn.org) dynamic addresses -## -# server=dup.hn.org, \ -# protocol=hammernode1, \ -# login=your-hn-login, \ -# password=your-hn-password \ -# your-hn-host.hn.org,your-2nd-hn-host.hn.org - ## ## dslreports.com dynamic-host monitoring ## @@ -140,36 +129,34 @@ ssl=yes # use ssl-support. Works with ## OrgDNS.org account-configuration ## # use=web, web=members.orgdns.org/nic/ip +# protocol=dyndns2 # server=www.orgdns.org \ -# protocol=dyndns2 \ # login=yourLoginName \ # password=yourPassword \ # yourSubdomain.orgdns.org -## -## dnspark.com -## (supports variables: mx, mxpri) -## -# use=web, web=ipdetect.dnspark.com, web-skip='Current Address:' -# protocol=dnspark, \ -# server=www.dnspark.com, \ -# your-host.dnspark.com - ## ## NameCheap (namecheap.com) ## -# protocol=namecheap, \ +# protocol=namecheap, \ # server=dynamicdns.park-your-domain.com, \ -# login=my-namecheap.com-login, \ -# password=my-namecheap.com-password \ -# myhost.namecheap.com +# login=example.com, \ +# password=example.com-password \ +# subdomain.example.com ## +## NearlyFreeSpeech.NET (nearlyfreespeech.net) +## +# protocol = nfsn, \ +# login=member-login, \ +# password=api-key, \ +# zone=example.com \ +# example.com,subdomain.example.com + ## ## Loopia (loopia.se) ## -# use=web -# web=loopia +# use=web, web=loopia # protocol=dyndns2 # server=dns.loopia.se # script=/XDynDNSServer/XDynDNS.php @@ -178,6 +165,15 @@ ssl=yes # use ssl-support. Works with # my.domain.tld,other.domain.tld ## +## NoIP (noip.com) +## +# protocol=noip, \ +# ssl=yes, \ +# server=dynupdate.no-ip.com, \ +# login=your-noip-login, \ +# password=your-noip-password, \ +# your-host.domain.com, your-2nd-host.domain.com + ## ## ChangeIP (changeip.com) ## @@ -187,25 +183,26 @@ ssl=yes # use ssl-support. Works with # password=my-changeip.com-password \ # myhost.changeip.org -## -## DtDNS (www.dtdns.com) -## -# protocol=dtdns, -# server=www.dtdns.com, -# client=ddclient, -# password=my-dtdns.com-password -# myhost.dtdns.net, otherhost.dtdns.net - ## ## CloudFlare (www.cloudflare.com) ## #protocol=cloudflare, \ #zone=domain.tld, \ #ttl=1, \ -#login=your-login-email, \ -#password=APIKey \ +#login=your-login-email, \ # Only needed if you are using your global API key. If you are using an API token, set it to "token" (wihtout double quotes). +#password=APIKey \ # This is either your global API key, or an API token. If you are using an API token, it must have the permissions "Zone - DNS - Edit" and "Zone - Zone - Read". The Zone resources must be "Include - All zones". #domain.tld,my.domain.tld +## +## Gandi (gandi.net) +## +## Single host update +# protocol=gandi, \ +# zone=example.com, \ +# password=my-gandi-api-key, \ +# ttl=3h \ +# myhost.example.com + ## ## Google Domains (www.google.com/domains) ## @@ -218,8 +215,9 @@ ssl=yes # use ssl-support. Works with ## Duckdns (http://www.duckdns.org/) ## # -# password=my-auto-generated-password -# protocol=duckdns hostwithoutduckdnsorg +# protocol=duckdns, \ +# password=my-auto-generated-password \ +# hostwithoutduckdnsorg ## ## Freemyip (http://freemyip.com/) @@ -232,12 +230,88 @@ ssl=yes # use ssl-support. Works with ## ## MyOnlinePortal (http://myonlineportal.net) ## -# protocol=dyndns2 -# ssl=yes # # ipv6=yes # optional # use=web, web=myonlineportal.net/checkip # # use=if, if=eth0 # alternative to use=web # # if-skip=Scope:Link # alternative to use=web +# protocol=dyndns2 +# ssl=yes # login=your-myonlineportal-username # password=your-myonlineportal-password # domain.myonlineportal.net + +## +## nsupdate.info IPV4(https://www.nsupdate.info) +## +#use=web, web=http://ipv4.nsupdate.info/myip +#protocol=dyndns2 +#server=ipv4.nsupdate.info +#login=domain.nsupdate.info +#password='123' +#domain.nsupdate.info + +## +## nsupdate.info IPV6 (https://www.nsupdate.info) +## ddclient releases <= 3.8.1 do not support IPv6 +## +#usev6=if, if=eth0 +#protocol=dyndns2 +#server=ipv6.nsupdate.info +#login=domain.nsupdate.info +#password='123' +#domain.nsupdate.info + +## +## Yandex.Mail for Domain (domain.yandex.com) +## +# protocol=yandex, \ +# login=domain.tld, \ +# password=yandex-pdd-token \ +# my.domain.tld,other.domain.tld \ + +## +## DNS Made Easy (https://dnsmadeeasy.com) +## +# protocol=dnsmadeeasy, +# login=your-account-email-address +# password=your-generated-password +# your-numeric-record-id-1,your-numeric-record-id-2,... + +## +## OVH DynHost (https://ovh.com) +## +# protocol=ovh, +# login=example.com-dynhostuser, +# password=your_password +# test.example.com + +## +## ClouDNS (https://www.cloudns.net) +## +# protocol=cloudns, \ +# dynurl=https://ipv4.cloudns.net/api/dynamicURL/?q=Njc1OTE2OjY3Njk0NDM6YTk2, \ +# myhost.example.com + +## +## dinahosting (https://dinahosting.com) +## +# protocol=dinahosting, \ +# login=myusername, \ +# password=mypassword \ +# myhost.mydomain.com + +## +## dnsexit (www.dnsexit.com) +## +#protocol=dnsexit, \ +#login=myusername, \ +#password=mypassword, \ +#subdomain-1.domain.com,subdomain-2.domain.com + +## +## Njal.la (http://njal.la/) +## +# protocol=njalla, +# password=mypassword +# quietreply=no|yes +# my-domain.com