PhpDynDNS not updating the ip to DynDns
-
Hello,
I have set the dynamic dns service to update my ip that changes at every router startup, usually in the morning.
However, the ip is not updated.The log is rather confusing, because it says the the dns client has updated the ip, but in reality, it didn't:
Sep 14 07:42:04 php: : phpDynDNS: No Change In My IP Address and/or 25 Days Has Not Past. Not Updating Dynamic DNS Entry.
Sep 14 07:42:04 php: : DynDns: Cached IP: 188.26.x.y
Sep 14 07:42:04 php: : DynDns: Current WAN IP: 188.26.x.y
Sep 14 07:42:04 php: : DynDns: _detectChange() starting.
Sep 14 07:42:04 php: : DynDns: updatedns() starting
Sep 14 07:42:04 php: : DynDns: Running updatedns()
Sep 14 07:42:03 check_reload_status: updating dyndns
Sep 14 07:42:02 check_reload_status: reloading filterSep 14 07:41:50 php: : phpDynDNS: (Success) IP Address Changed Successfully! (192.0.2.112)
Sep 14 07:41:50 php: : phpDynDNS: updating cache file /cf/conf/dyndns.cache: 188.26.x.y
Sep 14 07:41:50 php: : DynDns: Current Service: dyndns
Sep 14 07:41:50 php: : DynDns: DynDns _checkStatus() starting.
Sep 14 07:41:49 mpd: 188.26.x.y -> 10.0.0.1
Sep 14 07:41:49 mpd: IPADDR 10.0.0.1
Sep 14 07:41:49 mpd: 10.0.0.1 is OK
Sep 14 07:41:49 mpd: IPADDR 10.0.0.1
Sep 14 07:41:48 mpd: SECDNS 82.76.253.125
Sep 14 07:41:48 mpd: IPADDR 188.26.x.y
Sep 14 07:41:48 mpd: SECDNS 82.76.253.125
Sep 14 07:41:48 mpd: IPADDR 188.26.x.y
Sep 14 07:41:48 mpd: SECDNS 82.76.253.125
Sep 14 07:41:48 mpd: 188.26.x.y is OK
Sep 14 07:41:48 mpd: IPADDR 188.26.x.y
Sep 14 07:41:48 mpd: SECDNS 0.0.0.0
Sep 14 07:41:48 mpd: IPADDR 0.0.0.0
Sep 14 07:41:48 mpd: COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
Sep 14 07:41:48 mpd: SECDNS 0.0.0.0
Sep 14 07:41:48 mpd: COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
Sep 14 07:41:48 mpd: IPADDR 0.0.0.0
Sep 14 07:41:46 mpd: SECDNS 0.0.0.0
Sep 14 07:41:46 mpd: COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
Sep 14 07:41:46 mpd: IPADDR 0.0.0.0
Sep 14 07:41:46 mpd: MAGICNUM 2dccbea0
Sep 14 07:41:46 mpd: MRU 1492
Sep 14 07:41:46 mpd: MAGICNUM 2dccbea0
Sep 14 07:41:46 mpd: MRU 1492
Sep 14 07:41:45 php: : DynDns: DynDns _update() starting. Dynamic
Sep 14 07:41:45 php: : DynDns: DynDns _update() starting.
Sep 14 07:41:45 php: : DynDns: cacheIP != wan_ip. Updating.
Sep 14 07:41:45 php: : DynDns: Cached IP: 188.26.x.y
Sep 14 07:41:45 php: : DynDns: Current WAN IP: 192.0.2.112
Sep 14 07:41:45 php: : DynDns: _detectChange() starting.
Sep 14 07:41:45 php: : DynDns: updatedns() starting
Sep 14 07:41:45 php: : DynDns: Running updatedns()If I go to the Services/Dynamic DNS and click on Save, the ip is updated:
Sep 14 08:54:10 php: /services_dyndns.php: phpDynDNS: (Success) IP Address Changed Successfully! (188.26.x.y)
Sep 14 08:54:10 php: /services_dyndns.php: phpDynDNS: updating cache file /cf/conf/dyndns.cache: 188.26.x.y
Sep 14 08:54:10 php: /services_dyndns.php: DynDns: Current Service: dyndns
Sep 14 08:54:10 php: /services_dyndns.php: DynDns: DynDns _checkStatus() starting.
Sep 14 08:54:09 php: /services_dyndns.php: DynDns: DynDns _update() starting. Dynamic
Sep 14 08:54:09 php: /services_dyndns.php: DynDns: DynDns _update() starting.
Sep 14 08:54:09 php: /services_dyndns.php: DynDns: Initial run. Updating.
Sep 14 08:54:09 php: /services_dyndns.php: DynDns: cacheIP != wan_ip. Updating.
Sep 14 08:54:09 php: /services_dyndns.php: DynDns: No Cached IP found.
Sep 14 08:54:09 php: /services_dyndns.php: DynDns: Current WAN IP: 188.26.x.y
Sep 14 08:54:09 php: /services_dyndns.php: DynDns: _detectChange() starting.
Sep 14 08:54:09 php: /services_dyndns.php: DynDns: updatedns() starting
Sep 14 08:54:09 php: /services_dyndns.php: DynDns: Running updatedns()Now, is this a bug?
Or, is there a setting, besides the one in the web gui, that I must change, in order for the dyn dns to work properly?
Maybe change the caching to 24 hours?Thanks,
Daniel -
Looks like it's getting a private IP on that WAN somehow and then it thinks it has already pushed the update.
Is this on 1.2.3 or 2.0?
You may need to see if your setup works properly on 2.0, since the DynDNS code has changed a bit underneath.
-
it's 1.2.3