DynDNS and PPP interfaces



  • Ive got a 4g WAN failover line connected through a PPP interface, upon boot trying to update record via DynDNS I see these errors in my logs.

    
    Time	Process	PID	Message
    Jul 3 13:40:43	php-fpm	97750	/rc.dyndns.update: Dynamic DNS (****.***.org) There was an error trying to determine the public IP for interface - opt16 (ppp0 ).
    Jul 3 13:40:43	php-fpm	97750	/rc.dyndns.update: Dynamic DNS cloud flare (****.***.org): IP address could not be extracted from checkip.dyndns.org
    
    

    Im updating a similar record at Cloudflare for my cable WAN which works fine so not sure what could be different.

    Heres the interface status

    
    WAN2 Interface (opt16, ppp0)
    Status up
    PPP up 
    Uptime 00:30:57
    MAC Address 00:00:00:00:00:00
    IPv4 Address 10.124.156.xxx
    Subnet mask IPv4 255.255.255.255
    Gateway IPv4 10.64.64.0
    IPv6 Link Local fe80::207:43ff:xxxx:xxxx%ppp0
    MTU 1492
    In/out packets 1929/2024 (74 KiB/62 KiB)
    In/out packets (pass) 1929/2024 (74 KiB/62 KiB)
    In/out packets (block) 0/1 (0 B/72 B)
    In/out errors 0/0
    Collisions 0
    
    

    Editing the DynDNS entry and forcing 'Save and Update' seems to be more productive, at least the text turns green indicating its been updated.

    
    Jul 3 14:10:17	php-fpm	33360	/services_dyndns_edit.php: phpDynDNS (****): (Success) **** updated to 166.170.5.xxx
    Jul 3 14:10:17	php-fpm	33360	/services_dyndns_edit.php: phpDynDNS: updating cache file /conf/dyndns_opt16cloudflare'****.***.org'4.cache: 166.170.5.xxx
    Jul 3 14:10:17	php-fpm	33360	/services_dyndns_edit.php: Dynamic DNS cloud flare (****.***.org): 166.170.5.118 extracted from checkip.dyndns.org
    Jul 3 14:10:16	php-fpm	33360	/services_dyndns_edit.php: Dynamic DNS cloud flare (****.***.org): _checkStatus() starting.
    Jul 3 14:10:15	php-fpm	33360	/services_dyndns_edit.php: Dynamic DNS cloud flare (****.***.org): _update() starting.
    Jul 3 14:10:15	php-fpm	33360	/services_dyndns_edit.php: Dynamic DNS (vpn2.p1r.org): running get_failover_interface for opt16\. found ppp0
    Jul 3 14:10:15	php-fpm	33360	/services_dyndns_edit.php: Dynamic DNS cloud flare (****.***.org): 166.170.5.xxx extracted from checkip.dyndns.org
    Jul 3 14:10:07	php-fpm	33360	/services_dyndns_edit.php: Dynamic DNS: updatedns() starting