filiparag / hetzner_ddns Goto Github PK
View Code? Open in Web Editor NEWHetzner Dynamic DNS (DDNS, DynDNS) daemon
License: BSD 2-Clause "Simplified" License
Hetzner Dynamic DNS (DDNS, DynDNS) daemon
License: BSD 2-Clause "Simplified" License
Hi!
I'm trying to get your application working inside a libvirt's VM, the OS I'm using is Alpine 3.18.2.
I have installed the package via apk but I can´t figure out what I'm doing wrong...
I'm getting this errors:
localhost:/# hetzner_ddns
jq: error (at <stdin>:0): Cannot iterate over null (null)
localhost:/# service hetzner enable
* service: service `hetzner_ddns' does not exist
localhost:/etc#
localhost:/# hetzner_ddns start
unable to read configuration file
Any clue?
Thank you very much for sharing this @filiparag !!
Hi,
maybe it"s a goog idea to retrieve IP from Hetzner instead of Akamai. This would remove dependency to a third party:
curl -4 https://ip.hetzner.com
and curl -6 https://ip.hetzner.com
See also https://ip.hetzner.com/
Thank you for the application! Please add that the IPv6 AAAA records are only updated when docker is running in network_mode host :)
Hi,
I think it's a good idea to run supervised and not as root in Alpine Linux.
I just checked copr and it's still showing 0.2.2-1.fc34 from 1y 5m ago. Seems other repos are also outdated.
Couldn't quite figure out where it happens but the wildcard subdomain seems to be receiving a shell expanseion somewhere.
Placed "@ *" into records variable. Debian 11.2
[2022-11-16 15:30:29] Missing both records for bin.example.org
[2022-11-16 15:30:29] Missing both records for boot.example.org
[2022-11-16 15:30:30] Missing both records for dev.example.org
...
It seems that the asterisk is being expanded to the files in the root directory somewhere, but I couldn't figure it out- the obvious contenders are taken care of (no missing double quotes i could find...)
Hi,
when started with daemon argument, the config file cannot be found because it wants to open /usr/local/etc/hetzner_ddns.--daemon.conf
.
Hello,
thanks for the code, that's exactly what I'm looking for! Sorry, I'm kind of a n00b here. I sucessfully installed it on one Raspberry Pi, but on the other one I get the following error:
Job for hetzner_ddns.service failed because the control process exited with error code.
See "systemctl status hetzner_ddns.service" and "journalctl -xe" for details.
where status yields:
● hetzner_ddns.service - Hetzner Dynamic DNS
Loaded: loaded (/etc/systemd/system/hetzner_ddns.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Sat 2024-02-10 11:55:00 CET; 5s ago
Docs: man:hetzner_ddns(1)
Process: 17068 ExecStartPre=/usr/bin/touch /var/log/hetzner_ddns.log (code=exited, status=0/SUCCESS)
Process: 17069 ExecStartPre=/usr/bin/chown daemon:root /var/log/hetzner_ddns.log (code=exited, status=203/EXEC)`
and journalctl:
`Feb 10 11:56:32 openpihole systemd[17123]: hetzner_ddns.service: Failed at step EXEC spawning /usr/bin/chown: No such file or>
░░ Subject: Process /usr/bin/chown could not be executed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ The process /usr/bin/chown could not be executed and failed.
░░
░░ The error number returned by this process is ERRNO.
Feb 10 11:56:32 openpihole systemd[1]: hetzner_ddns.service: Control process exited, code=exited, status=203/EXEC
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ An ExecStartPre= process belonging to unit hetzner_ddns.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 203.
Feb 10 11:56:32 openpihole systemd[1]: hetzner_ddns.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ The unit hetzner_ddns.service has entered the 'failed' state with result 'exit-code'.
Feb 10 11:56:32 openpihole systemd[1]: Failed to start Hetzner Dynamic DNS.
░░ Subject: A start job for unit hetzner_ddns.service has failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ A start job for unit hetzner_ddns.service has finished with a failure.
░░
░░ The job identifier is 1018797 and the job result is failed.
Do you have any idea on how to solve this? Thanks!
Hi, when trying to update I get the following error:
Copr repo for hetzner_ddns owned by filiparag 321 B/s | 341 B 00:01
Errors during downloading metadata for repository 'copr:copr.fedorainfracloud.org:filiparag:hetzner_ddns':
- Status code: 404 for https://download.copr.fedorainfracloud.org/results/filiparag/hetzner_ddns/fedora-39-x86_64/repodata/repomd.xml (IP: 13.225.78.78)
Error: Failed to download metadata for repo 'copr:copr.fedorainfracloud.org:filiparag:hetzner_ddns': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
There is indeed no repodata
folder at that address: https://download.copr.fedorainfracloud.org/results/filiparag/hetzner_ddns/fedora-39-x86_64/
Can you have a look please?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.