Dyndns Error



  • Hi, i have this error with dyndns

    Oct 28 13:48:06 php-fpm[69826]: /services_dyndns_edit.php: phpDynDNS (domain.dyndns.biz): (Unknown Response)
    Oct 28 13:48:06 php-fpm[69826]: /services_dyndns_edit.php: phpDynDNS (domain.dyndns.biz): PAYLOAD: dnserr
    Oct 28 13:48:06 php-fpm[69826]: /services_dyndns_edit.php: DynDNS (domain.dyndns.biz): Current Service: dyndns
    Oct 28 13:48:06 php-fpm[69826]: /services_dyndns_edit.php: DynDNS (domain.dyndns.biz): DynDns _checkStatus() starting.

    Any idea ?



  • Adding to cmenghi's issue, I have also recently run into issues with dyndns updating.

    My internet connection has been excruciatingly unstable lately (separate issue, I hope). When my connection drops, I am invariably getting a new IP each time. Sometimes the dyndns update process is able to handle this without incident, other times, it fails with the same errors cmenghi has referenced. Verbose Sanitized logs follow:

    Failed change example:

    Jan 6 08:35:40 php-fpm[3557]: /rc.newwanip: phpDynDNS (<dynamichostname>): (Unknown Response)
    Jan 6 08:35:40 php-fpm[3557]: /rc.newwanip: phpDynDNS (<dynamichostname>): PAYLOAD: dnserr
    Jan 6 08:35:40 php-fpm[3557]: /rc.newwanip: DynDNS (<dynamichostname>): Current Service: dyndns
    Jan 6 08:35:40 php-fpm[3557]: /rc.newwanip: DynDNS (<dynamichostname>): DynDns _checkStatus() starting.
    Jan 6 08:35:34 php-fpm[3557]: /rc.newwanip: DynDNS: (<dynamichostname>) DNS update() starting.
    Jan 6 08:35:34 php-fpm[3557]: /rc.newwanip: DynDNS (<dynamichostname>): DynDns _update() starting.
    Jan 6 08:35:34 php-fpm[3557]: /rc.newwanip: DynDns (<dynamichostname>): DynDns: cacheIP != wan_ip. Updating. Cached IP: <staleip>WAN IP: <newip>Jan 6 08:35:34 php-fpm[3557]: /rc.newwanip: DynDns (<dynamichostname>): Current WAN IP: <newip>Cached IP: <staleip>Jan 6 08:35:34 php-fpm[3557]: /rc.newwanip: DynDns (<dynamichostname>): <newip>extracted from local system.
    Jan 6 08:35:34 php-fpm[3557]: /rc.newwanip: DynDNS (<dynamichostname>): running get_failover_interface for wan. found em0
    Jan 6 08:35:34 php-fpm[3557]: /rc.newwanip: DynDns (<dynamichostname>): <newip>extracted from local system.
    Jan 6 08:35:34 php-fpm[3557]: /rc.newwanip: DynDns: updatedns() starting
    Jan 6 08:35:31 php-fpm[3557]: /rc.newwanip: ROUTING: setting default route to <gateway>Jan 6 08:35:31 php-fpm[3557]: /rc.newwanip: IP has changed, killing states on former IP <previousip>.
    Jan 6 08:35:31 php-fpm[3557]: /rc.newwanip: rc.newwanip: on (IP address: <newip>) (interface: WAN[wan]) (real interface: em0).
    Jan 6 08:35:31 php-fpm[3557]: /rc.newwanip: rc.newwanip: Info: starting on em0.
    Jan 6 08:35:30 check_reload_status: rc.newwanip starting em0

    Successful change example:

    Jan 6 10:29:21 php-fpm[79669]: /rc.newwanip: phpDynDNS (<dynamichostname>): (Success) IP Address Changed Successfully! (<newip>)
    Jan 6 10:29:21 php-fpm[79669]: /rc.newwanip: phpDynDNS: updating cache file /conf/dyndns_wandyndns'<dynamichostname>'0.cache: <newip>Jan 6 10:29:21 php-fpm[79669]: /rc.newwanip: Message sent to <contactemail>OK
    Jan 6 10:29:20 php-fpm[79669]: /rc.newwanip: DynDns (<dynamichostname>): <newip>extracted from local system.
    Jan 6 10:29:20 php-fpm[79669]: /rc.newwanip: DynDNS (<dynamichostname>): Current Service: dyndns
    Jan 6 10:29:20 php-fpm[79669]: /rc.newwanip: DynDNS (<dynamichostname>): DynDns _checkStatus() starting.
    Jan 6 10:29:14 php-fpm[79669]: /rc.newwanip: DynDNS: (<dynamichostname>) DNS update() starting.
    Jan 6 10:29:14 php-fpm[79669]: /rc.newwanip: DynDNS (<dynamichostname>): DynDns _update() starting.
    Jan 6 10:29:14 php-fpm[79669]: /rc.newwanip: DynDns (<dynamichostname>): DynDns: cacheIP != wan_ip. Updating. Cached IP: <staleip>WAN IP: <newip>Jan 6 10:29:14 php-fpm[79669]: /rc.newwanip: DynDns (<dynamichostname>): Current WAN IP: <newip>Cached IP: <staleip>Jan 6 10:29:14 php-fpm[79669]: /rc.newwanip: DynDns (<dynamichostname>): <newip>extracted from local system.
    Jan 6 10:29:14 php-fpm[79669]: /rc.newwanip: DynDNS (<dynamichostname>): running get_failover_interface for wan. found em0
    Jan 6 10:29:14 php-fpm[79669]: /rc.newwanip: DynDns (<dynamichostname>): <newip>extracted from local system.
    Jan 6 10:29:14 php-fpm[79669]: /rc.newwanip: DynDns: updatedns() starting
    Jan 6 10:29:08 php-fpm[79669]: /rc.newwanip: ROUTING: setting default route to <gateway>Jan 6 10:29:08 php-fpm[79669]: /rc.newwanip: IP has changed, killing states on former IP <previousip>.
    Jan 6 10:29:08 php-fpm[79669]: /rc.newwanip: rc.newwanip: on (IP address: <newip>) (interface: WAN[wan]) (real interface: em0).
    Jan 6 10:29:08 php-fpm[79669]: /rc.newwanip: rc.newwanip: Info: starting on em0.
    Jan 6 10:29:07 check_reload_status: rc.newwanip starting em0</newip></previousip></gateway></newip></dynamichostname></dynamichostname></newip></dynamichostname></staleip></newip></dynamichostname></newip></staleip></dynamichostname></dynamichostname></dynamichostname></dynamichostname></dynamichostname></newip></dynamichostname></contactemail></newip></dynamichostname></newip></dynamichostname></newip></previousip></gateway></newip></dynamichostname></dynamichostname></newip></dynamichostname></staleip></newip></dynamichostname></newip></staleip></dynamichostname></dynamichostname></dynamichostname></dynamichostname></dynamichostname></dynamichostname></dynamichostname>



  • The response payload "dnserr" is a reply from curl that it failed to resolve the hostname to send the update. What DNS servers are you using? They're apparently unreachable when it tries to do the update.



  • Thanks for the explanation cmb.

    FWIW, I am using Google Public DNS:

    8.8.8.8
    8.8.4.4

    Is there a retry interval option for failed updates other than the cron entry? Perhaps a flag that gets raised when the update fails and a process that checks for a failed update at a greater frequency than the default cron?


Log in to reply