
Можно ли настроить ddclient /etc/ddclient.conf
для периодической отправки динамических обновлений DNS, в дополнение к изменению IP-адреса?
Почему? Провайдер Fremium dyndns требует обновления каждые 30 дней, иначе бесплатная учетная запись истекает. Я перешел с AT&T, где это никогда не было проблемой, на Sonic.net, более надежного поставщика услуг. Теперь мой динамический IP-адрес стабилен месяцами.
решение1
См. файл README ddclient:
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