Dietpi-ddns feedback

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
Post Reply
DietCH
Posts: 25
Joined: Tue May 12, 2020 10:15 am

Dietpi-ddns feedback

Post by DietCH »

I just discovered the dietpi-ddns function and used it for my dyndns provider (not one on the list of supported, but it worked).

When you enter dietpi-ddns -h as stated in the docs on the page https://dietpi.com/docs/dietpi_tools/#dietpi-ddns under CLI, you get an error message on the first line in red [FAILED] :

Code: Select all

[FAILED] DietPi-DDNS | Invalid input (-h). Aborting...
Usage: dietpi-ddns [[<options>...] <command> [<provider>]]
...
I understand that this is not supposed to be a CLI function, but it would still be helpful to be able to list the currently configured provider.
Last edited by DietCH on Wed Sep 08, 2021 3:58 pm, edited 1 time in total.
DietCH
Posts: 25
Joined: Tue May 12, 2020 10:15 am

Re: Dietpi-ddns feedback

Post by DietCH »

Oh, and personally, I would much prefer that Dietpi checks the public IP address first and doesn't send an update if it hasn't changed.

Sending an update every 10 minutes can be considered as too frequent for certain DynDNS providers; and yes, I know I can change the frequency, but then when the IP does really change, you want it to be updated as fast as possible.
User avatar
Joulinar
Posts: 5619
Joined: Sat Nov 16, 2019 12:49 am

Re: Dietpi-ddns feedback

Post by Joulinar »

Hi,

crontab for DDNS is executed es specific user dietpi-ddns. It can be checked as follow

Code: Select all

crontab -u dietpi-ddns -l
the -h option did not exist on dietpi-ddns. Not sure if it was put to the docs just to force an error and display available commands :?

Indeed, running the update every 10 minutes is not that optimal. I need to have a check with our developer.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Post Reply