Dyndns not updating
-
This shows up in the logs:
Mar 1 14:45:28 php: /services_dyndns_edit.php: DynDns: updatedns() starting
Mar 1 14:45:28 php: /services_dyndns_edit.php: DynDns debug information: <myip>extracted from local system.
Mar 1 14:45:28 php: /services_dyndns_edit.php: DynDns: Current WAN IP: <myip>Cached IP: 0.0.0.0
Mar 1 14:45:28 php: /services_dyndns_edit.php: DynDns debug information: DynDns: cacheIP != wan_ip. Updating. Cached IP: 0.0.0.0 WAN IP: <myip>Mar 1 14:45:28 php: /services_dyndns_edit.php: DynDns: DynDns _update() starting.
Mar 1 14:45:28 php: /services_dyndns_edit.php: DynDns: DynDns _checkStatus() starting.
Mar 1 14:45:28 php: /services_dyndns_edit.php: DynDns: Current Service: dyndns-custom
Mar 1 14:45:28 php: /services_dyndns_edit.php: phpDynDNS: PAYLOAD: nohost
Mar 1 14:45:28 php: /services_dyndns_edit.php: phpDynDNS: (Unknown Response)Any clues???</myip></myip></myip>
-
You've checked that the hostname is still in your account?
-
They deleted it WTF! I've had that hostname for years.
-
They remove free hostnames if you don't update them at least every 30 days - you'll have received a warning email from them (though it may have gone to your spam folder) 5 days in advance. If you updated it in the last 30 days - and have the log entries to show this - follow it up on their forums.
-
My IP hasnt changed in some time, even though its supposed to be a dynamic ip. Only time it changes is during long power outages. If pfsense does not detect an IP change on the renewal of the DHCP lease does it update the host?
-
bump
-
If pfsense does not detect an IP change on the renewal of the DHCP lease does it update the host?
I'm not sure if this answers your question: If I recall correctly pfSense will update a dynamic DNS registration on 25 days since last registration.
-
I'm not sure if this answers your question: If I recall correctly pfSense will update a dynamic DNS registration on 25 days since last registration.
I confirm.
/etc/inc/dyndns.class - lines 811-875 - function _detectChange() will return 'true' if- A new IP WAN is found
- 25 days passed without IP WAN change
- The IP WAN update is being called for the first time …
What I didn't discover is where and how often dyndns.class is being called to do the checking.
But: I have proof that the checking is done at least ones a day: I found it in my (and your) system log file:.. Mar 8 01:01:00 php: : phpDynDNS: No change in my IP address and/or 25 days has not passed. Not updating dynamic DNS entry. .. Mar 7 12:00:00 php: : phpDynDNS: No change in my IP address and/or 25 days has not passed. Not updating dynamic DNS entry. ..
The update from 12 AM was triggered after a WAN IP change - the one at 01:01 was triggered by (some kind of daily check).
Conclusion: the forced update after 25 days when your IP doesn't change should work.
edit:
Stupid me.
/etc/crontab.. 1 1 * * * root /usr/bin/nice -n20 /etc/rc.dyndns.update ..
So, every 01:01 the WAN IP is checked …