Cronjob for automatic DNS

My YunoHost server

Hardware: Dedicated Server-Hardware
YunoHost version: 4.3.6.3 (stable)
I have access to my server : Through SSH | through the webadmin
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no

In this topic we have already clarified that the automatic DNS must be manually triggered to publish the IP address change to the registrar. Currently, I always trigger this change manually. In the other topic it was suggested to solve this with a cron-job.

Unfortunately, I have no experience with cron-job and have found nothing in the documentation. Therefore, I wanted to ask if someone here can / would like to help me further.

Maybe this is also interesting for others :slight_smile:

Have a nice day

Do you know the command that you want to trigger?

This is a great guide to understanding cronjobs How To Use Cron to Automate Tasks on Ubuntu 18.04 | DigitalOcean

Should be applicable to Debian as well

1 Like

Hi @navanchauhan
thank you very much for the quick answer and for the great tutorial you linked.

Do you know the command that you want to trigger?

Sadly no. Also I fear a little bit of breaking something as there are other apps wich ad tasks to cron (I guess)

what’s your registrar ? how do you update the dns ? a tool ? a link ?

1 Like

Sorry I forgot that information. My registrar is OVH and I changed some time ago from ddclient to the yunohost automatic DNS tool Registrar | Yunohost Documentation

Sorry I thought that automatic DNS was the name for that tool.

So if the ip-adress changes I manually populate the new DNS entries via the admin-web UI

In the other topic I was told that I could solve that with cron - but don’t no where to start :slight_smile:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.