Hello community, here is the log from the commit of package dns24-update for openSUSE:Factory checked in at 2020-06-04 17:53:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/dns24-update (Old) and /work/SRC/openSUSE:Factory/.dns24-update.new.3606 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "dns24-update" Thu Jun 4 17:53:06 2020 rev:2 rq:811223 version:1.1 Changes: -------- --- /work/SRC/openSUSE:Factory/dns24-update/dns24-update.changes 2018-08-29 12:27:02.967639539 +0200 +++ /work/SRC/openSUSE:Factory/.dns24-update.new.3606/dns24-update.changes 2020-06-04 17:53:16.688418874 +0200 @@ -1,0 +2,6 @@ +Sun May 31 09:24:24 UTC 2020 - Olav Reinert <[email protected]> + +- Use HTTPS for update requests +- Various documentation improvements + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ dns24-update.spec ++++++ --- /var/tmp/diff_new_pack.QdOFZ7/_old 2020-06-04 17:53:18.476424371 +0200 +++ /var/tmp/diff_new_pack.QdOFZ7/_new 2020-06-04 17:53:18.480424383 +0200 @@ -1,6 +1,7 @@ # # spec file for package dns24-update # +# Copyright (c) 2020 SUSE LLC # Copyright (c) specCURRENT_YEAR SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties @@ -12,28 +13,30 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: dns24-update -Version: 1.0 +Version: 1.1 Release: 0 -Summary: Simple update client for the dns24.ch DynDNS service +Summary: Update dynamic DNS records hosted by dns24.ch License: GPL-3.0-or-later Group: Productivity/Networking/DNS/Utilities -Url: https://www.dns24.ch/ +URL: https://www.dns24.ch/ Source0: [email protected] Source1: [email protected] Source20: README.md Source10: template.curl BuildArch: noarch +Requires: curl BuildRequires: systemd-rpm-macros BuildRoot: %{_tmppath}/%{name}-%{version}-build %description -A simple utility for regularly updating one or more dynamic DNS records on the -dns24.ch service. +DNS24 (dns24.ch) is a DNS hosting service offering support for dynamic DNS. +With this utility you can easily configure regular updates of your dynamic DNS +records hosted by DNS24. %prep ++++++ README.md ++++++ --- /var/tmp/diff_new_pack.QdOFZ7/_old 2020-06-04 17:53:18.516424494 +0200 +++ /var/tmp/diff_new_pack.QdOFZ7/_new 2020-06-04 17:53:18.520424506 +0200 @@ -10,13 +10,17 @@ ## How it works -The curl command is used to perform the actual updates using the HTTP interface -provided by DNS24. The curl parameters required for updating a domain are -defined in configuration files in `/etc/dns24`. - -An instantiable systemd unit runs curl using a configuration file in -`/etc/dns24` identified by the instance name. An associated systemd timer unit -causes the update to run at regular intervals. +DNS24 offers an HTTP API for updating dynamic DNS records. This update client +uses the curl command to send update requests. + +The curl parameters required for updating one or more domains are defined in +configuration files stored in `/etc/dns24/`. The configuration files must have +the ".curl" suffix. + +The systemd unit "[email protected]" can be instantiated with the name of a .curl +parameter file in /etc/dns24/ to execute an update using those parameters. An +associated timer unit can be enabled to make the update run at regular +intervals. The following sections show how to set up the client using a simple example. @@ -37,14 +41,17 @@ # curl --config /etc/dns24/mydomain.curl 0000 Transaction successful, # affected row(s) = 1 -If you see output similar to the above, the configuration is correct. +(Alternatively, run "systemctl start dns24@mydomain", then check the status of +the service.) + +If you see output similar to what's shown above, the configuration is correct. ## Enable automatic updates Once you have a working update configuration for a domain, as described above, you can enable automatic updates for it by running: - systemctl enable [email protected] + systemctl enable --now [email protected] ## Verify updates ++++++ template.curl ++++++ --- /var/tmp/diff_new_pack.QdOFZ7/_old 2020-06-04 17:53:18.560424629 +0200 +++ /var/tmp/diff_new_pack.QdOFZ7/_new 2020-06-04 17:53:18.564424642 +0200 @@ -2,7 +2,9 @@ # See README.md for instructions on use. get -digest + +# Use "basic" authentication for https updates, and "digest" for http +basic # Replace with the login credentials of your DNS24 account user = "USERNAME:PASSWORD" @@ -11,9 +13,8 @@ ipv4 # Replace YOUR.DOMAIN.NAME with the domain name to be updated -url = "http://dyn.dns24.ch/update?type=A&data=client&hostname=YOUR.DOMAIN.NAME" +url = "https://dyn.dns24.ch/update?type=A&data=client&hostname=YOUR.DOMAIN.NAME" # You can update multiple domains at once by adding more "url=..." lines #ipv6 -#url = "http://dyn.dns24.ch/update?type=AAAA&data=client&hostname=YOUR.DOMAIN.NAME" - +#url = "https://dyn.dns24.ch/update?type=AAAA&data=client&hostname=YOUR.DOMAIN.NAME"
