Disable DynDNS "No Change" entries in system log
-
I have 15 dynamic names that pfSense dutifully syncs with Namecheap.
I've run into a problem though.
Nearly all of my System Log file is filled withphp: rc.dyndns.update: phpDynDNS (3ld.domanin.net): No change in my IP address and/or 25 days has not passed. Not updating dynamic DNS entry.Showing 1000 log entries only takes me back 12 hours.
I do like that Dynamic DNS updates every 15 min but not the swarm of Nothing to Report reports that go with it.
Can anyone advise how I can reduce or disable the Dynamic DNS No change logging?
Thanks.
-
I tried modifying /var/etc/syslog.conf from
local7.* %/var/log/dhcpd.log *.notice;kern.debug;lpr.info;mail.crit;daemon.none; %/var/log/system.log news.err;local0.none;local3.none;local4.none; %/var/log/system.logto
local7.* %/var/log/dhcpd.log !-dyndns %/var/log/system.log *.notice;kern.debug;lpr.info;mail.crit;daemon.none; %/var/log/system.log news.err;local0.none;local3.none;local4.none; %/var/log/system.logand restarting the syslogd process but it didn't change anything.
I guess dyndns isn't a valid selector (or whatever entries like openvpn and apinger are called).Does anyone know if what I want can be done by editing /var/etc/syslog.conf ?
Thanks.
also
I know I can grep the offending entries out of the /var/log/system.log into another file.
I can even cron that to be done automatically but I don't know how to configure pfSense, to display the result in the GUI. -
Better to fix the cause than the symptom if possible. Is your WAN DHCP with a 30 minute lease time? That'd renew every 15 minutes, triggering that log. You should also see DHCP renewals from dhclient if that's the case though.
The other alternative is if you updated the cron job that runs once a day by default to run every 15 minutes. That's unnecessary, just put it back to once a day if that's the case.
-
The WAN lease from my ISP is 2 hours.
pfSense sets Dynamic DNS updates at every 15 min by default.
I host services and depend on my Dynamic names being up to date.
However, it can be months between public IP changes so for now I bumped the DynDNS cron job to every other hour.I'd really prefer the service to be less - verbose. Maybe I'll see if there's something in the PHP I can tweak to shush it up.
I do appreciate your response.
-
pfSense sets Dynamic DNS updates at every 15 min by default.
No it doesn't and never has. It's upon a dynamic WAN reconnection, plus once a day from cron at 01:01 to check if it's been >25 days since last update to prevent the account from being disabled from inactivity. If your cron job is running every 15 minutes, you changed it from the once a day default.
-
@cmb:
If your cron job is running every 15 minutes, you changed it from the once a day default.
I've no recollection of ever setting that cronjob to 15 min.
In fact, I didn't know there even was a dyndns cronjob until your post on Jun 4 prompted me to go look.I suppose I could have bumped it a really long time ago and eventually forgot.
But that would have had to been back when pfSense was still steam powered.