ddclient を 30 日ごとに更新するように設定するにはどうすればよいですか?

ddclient を 30 日ごとに更新するように設定するにはどうすればよいですか?

/etc/ddclient.confIP アドレスが変更されたときだけでなく、定期的に動的 DNS 更新を送信するように ddclient を設定できますか?

なぜでしょうか? フリーミアム プロバイダーの dyndns では、30 日ごとに更新する必要があります。そうしないと、無料アカウントが期限切れになります。私は、この問題がまったくなかった AT&T から、より信頼性の高いサービス プロバイダーである Sonic.net に切り替えました。今では、私の動的 IP アドレスは一度に数か月間安定しています。

答え1

ddclient README を参照してください:

USING DDCLIENT WITH cron

If you have not configured ddclient to use daemon-mode, you'll need to
configure cron to force an update once a month so that the dns entry will
not become stale.

  ## configure cron to force an update twice a month
  cp sample-etc_cron.d_ddclient /etc/cron.d/ddclient
  vi /etc/cron.d/ddclient

関連情報