rando, thanks for the suggestions!
Search Criteria
Package Details: duckdns-ipv6 1.1-2
Git Clone URL: | https://aur.archlinux.org/duckdns-ipv6.git (read-only, click to copy) |
---|---|
Package Base: | duckdns-ipv6 |
Description: | Automatically update DuckDNS domains, with IPv6 support |
Upstream URL: | https://duckdns.org |
Keywords: | ddns dns duckdns dynamic ipv4 ipv6 |
Licenses: | |
Conflicts: | |
Provides: | |
Submitter: | Nitroretro |
Maintainer: | NixUnderflow |
Last Packager: | NixUnderflow |
Votes: | 3 |
Popularity: | 0.021280 |
First Submitted: | 2020-01-03 23:45 |
Last Updated: | 2020-07-17 06:50 |
Dependencies (4)
Required by (0)
Sources (4)
Latest Comments
NixUnderflow commented on 2020-07-15 10:14
rando commented on 2020-07-11 10:36
@Nitroretro, would it make sense to add curl as a dependency? It's not part of the "base" ArchLinux package group, so it wouldn't hurt to list it explicitly ;)
Another small improvement: api6.ipify.org returns an IPv6 address only if the "api6.ipify.org" domain is resolved as IPv6. To force curl to do that, you can use the '-6' parameter like this: curl -6 -s "$IPV6_URL". For the IPv4 address retrieval, you can use the '-4' parameter like: curl -4 -s "$IPV4_URL"
Thanks for mantaining, your script has been really useful!
inetbowser commented on 2020-03-01 11:14
@Nitroretro now it works perfectly fine. Thanks again!
Nitroretro commented on 2020-03-01 01:29
@inetbowser I have edited the units. Please tell me if you encounter any issues with them. Thank you for reporting the bug!
inetbowser commented on 2020-02-29 23:01
The original timer service didn't work properly on my machines. To be specific, after every reboot the timer service didn't activate (even after enabling it through systemctl enable duckdns.timer
) and I had to restart it manually after every reboot.
This timer service fixed my problem:
[Unit]
Description=Update DuckDNS domain addresses every 10 minutes
[Timer]
OnCalendar=*:0/10
Unit=duckdns.service
[Install]
WantedBy=timers.target
PS: This may doesn't seem like a problem (because the timer will run every 10 minutes) but in duckdns.service
it would be smart to add After=network-online.target
, so that the script won't run before the network isn't online and I would add the service to multi-user.target
.
So the duckdns.service
would look something like this:
[Unit]
Description=Update DuckDNS domain addresses
After=network-online.target
[Service]
Type=oneshot
ExecStart=/usr/bin/duckdns
[Install]
WantedBy=multi-user.target
Nitroretro commented on 2020-01-04 00:24
Read and edit /etc/duckdns.d/default
for more info on how to use the script!
Pinned Comments
Nitroretro commented on 2020-01-04 00:24
Read and edit
/etc/duckdns.d/default
for more info on how to use the script!