LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   ddclient not honoring daemon time interval (https://www.linuxquestions.org/questions/linux-server-73/ddclient-not-honoring-daemon-time-interval-4175616937/)

mtlhd 11-03-2017 10:09 PM

ddclient not honoring daemon time interval
 
Hello Linux world...I need your help

I have a raspi 3 running a home webserver and using ddclient to check in with google domains.

I have tried to set ddclient to only check in once per hour.

No matter what I do, it defaults to 300 seconds when I check the status.

both protocols I have listed below have been passing the debugger.

specs: ddclient 3.8.3 running on latest raspbian install

Here is the config:
Code:

# Configuration file for ddclient generated by debconf
#
# /etc/ddclient.conf

daemon=3600
syslog=yes
mail=root
mail-failure=root
pid=/var/run/ddclient.pid
ssl=yes

####################
#SITE 1#
####################
protocol=googledomains
#protocol=dyndns2
#server=domains.google.com
use=web, if=ip.changeip.com
login=username1
password='password1'
domain1.com

######################
#SITE 2#
######################
protocol=googledomains
#protocol=dyndns2
#server=domains.google.com
use=web, if=ip.changeip.com
login=username2
password='password2'
domain2.com

Am I missing something???

norobro 11-04-2017 09:45 PM

Try changing /etc/default/ddclient
Code:

# Set the time interval between the updates of the dynamic DNS name in seconds.
# This option only takes effect if the ddclient runs in daemon mode.
daemon_interval="300"


mtlhd 11-05-2017 07:31 AM

Quote:

Originally Posted by norobro (Post 5777046)
Try changing /etc/default/ddclient
Code:

# Set the time interval between the updates of the dynamic DNS name in seconds.
# This option only takes effect if the ddclient runs in daemon mode.
daemon_interval="300"


Thank you so much! That did the trick. I was unaware of it's default file.


All times are GMT -5. The time now is 11:55 AM.