Project

General

Profile

Actions

Bug #11146

closed

Domeneshop DDNS not updating cache IP

Added by Idar Lund over 3 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Viktor Gurov
Category:
Dynamic DNS
Target version:
Start date:
12/09/2020
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.5.0
Affected Architecture:

Description

Background information: https://redmine.pfsense.org/issues/10826 and https://github.com/pfsense/pfsense/pull/4420

Version: 2.5.0-DEVELOPMENT from today (9th December 2020).

The domeneshop DDNS is updating the IP at Domeneshop, but the service is not updating cache IP so that it becomes green in the pfsense webUI. Not sure what does the "updating cache file", but maybe it's not triggered because Domeneshop answers with an empty 204?
Here's log from both domeneshop and freedns:

Domeneshop:
Dec 9 15:34:20 php-fpm 2908 /services_dyndns_edit.php: Dynamic DNS: updatedns() starting
Dec 9 15:34:20 php-fpm 2908 /services_dyndns_edit.php: Dynamic DNS domeneshop (x.x.no): 8x.x.x.x8 extracted from Check IP Service
Dec 9 15:34:20 php-fpm 2908 /services_dyndns_edit.php: Dynamic DNS (x.x.no): running get_failover_interface for wan. found vtnet0
Dec 9 15:34:20 php-fpm 2908 /services_dyndns_edit.php: Dynamic DNS domeneshop (x.x.no): _update() starting.
Dec 9 15:34:21 php-fpm 2908 /services_dyndns_edit.php: Response Header: HTTP/2 204
Dec 9 15:34:21 php-fpm 2908 /services_dyndns_edit.php: Response Header: server: nginx
Dec 9 15:34:21 php-fpm 2908 /services_dyndns_edit.php: Response Header: date: Wed, 09 Dec 2020 14:34:21 GMT
Dec 9 15:34:21 php-fpm 2908 /services_dyndns_edit.php: Response Header:
Dec 9 15:34:21 php-fpm 2908 /services_dyndns_edit.php: Response Header:
Dec 9 15:34:21 php-fpm 2908 /services_dyndns_edit.php: Response Data:
Dec 9 15:34:21 php-fpm 2908 /services_dyndns_edit.php: Dynamic DNS domeneshop (x.x.no): _checkStatus() starting.
Dec 9 15:34:21 php-fpm 2908 /services_dyndns_edit.php:

FreeDNS:
Dec 9 15:38:47 php-fpm 2908 /services_dyndns_edit.php: Dynamic DNS: updatedns() starting
Dec 9 15:38:47 php-fpm 2908 /services_dyndns_edit.php: Dynamic DNS freedns (y.y.no): 8x.x.x.x8 extracted from Check IP Service
Dec 9 15:38:47 php-fpm 2908 /services_dyndns_edit.php: Dynamic DNS (y.y.no): running get_failover_interface for wan. found vtnet0
Dec 9 15:38:48 php-fpm 2908 /services_dyndns_edit.php: Dynamic DNS freedns (y.y.no): 8x.x.x.x8 extracted from Check IP Service
Dec 9 15:38:48 php-fpm 2908 /services_dyndns_edit.php: Dynamic Dns (y.y.no): Current WAN IP: 8x.x.x.x8 No Cached IP found.
Dec 9 15:38:48 php-fpm 2908 /services_dyndns_edit.php: DynDns (y.y.no): Dynamic Dns: cacheIP != wan_ip. Updating. Cached IP: 0.0.0.0 WAN IP: 8x.x.x.x8 Initial update.
Dec 9 15:38:48 php-fpm 2908 /services_dyndns_edit.php: Dynamic DNS freedns (y.y.no): _update() starting.
Dec 9 15:38:50 php-fpm 2908 /services_dyndns_edit.php: Response Header: HTTP/1.1 200 OK
Dec 9 15:38:50 php-fpm 2908 /services_dyndns_edit.php: Response Header: Server: nginx
Dec 9 15:38:50 php-fpm 2908 /services_dyndns_edit.php: Response Header: Date: Wed, 09 Dec 2020 14:38:49 GMT
Dec 9 15:38:50 php-fpm 2908 /services_dyndns_edit.php: Response Header: Content-Type: text/plain;charset=UTF-8
Dec 9 15:38:50 php-fpm 2908 /services_dyndns_edit.php: Response Header: Transfer-Encoding: chunked
Dec 9 15:38:50 php-fpm 2908 /services_dyndns_edit.php: Response Header: Connection: keep-alive
Dec 9 15:38:50 php-fpm 2908 /services_dyndns_edit.php: Response Header: Vary: Accept-Encoding
Dec 9 15:38:50 php-fpm 2908 /services_dyndns_edit.php: Response Header: Cache-Control: no-store, no-cache, must-revalidate
Dec 9 15:38:50 php-fpm 2908 /services_dyndns_edit.php: Response Header: Cache-Control: post-check=0, pre-check=0
Dec 9 15:38:50 php-fpm 2908 /services_dyndns_edit.php: Response Header: Pragma: no-cache
Dec 9 15:38:50 php-fpm 2908 /services_dyndns_edit.php: Response Header: Expires: Mon, 26 Jul 1997 05:00:00 GMT
Dec 9 15:38:50 php-fpm 2908 /services_dyndns_edit.php: Response Header: X-Cache: MISS
Dec 9 15:38:50 php-fpm 2908 /services_dyndns_edit.php: Response Header:
Dec 9 15:38:50 php-fpm 2908 /services_dyndns_edit.php: Response Header:
Dec 9 15:38:50 php-fpm 2908 /services_dyndns_edit.php: Response Data: Updated y.y.no to 8x.x.x.x8 in 0.029 seconds
Dec 9 15:38:50 php-fpm 2908 /services_dyndns_edit.php: Dynamic DNS freedns (y.y.no): _checkStatus() starting.
Dec 9 15:38:50 php-fpm 2908 /services_dyndns_edit.php: Dynamic DNS freedns (y.y.no): 8x.x.x.x8 extracted from Check IP Service
Dec 9 15:38:50 php-fpm 2908 /services_dyndns_edit.php: phpDynDNS: updating cache file /conf/dyndns_wanfreedns'y.y.no'1.cache: 8x.x.x.x8
Dec 9 15:38:50 php-fpm 2908 /services_dyndns_edit.php: phpDynDNS (y.y.no): (Success) IP Address Changed Successfully!


Files

Screenshot from 2020-12-09 15-45-30.png (35.2 KB) Screenshot from 2020-12-09 15-45-30.png Idar Lund, 12/09/2020 09:01 AM
domeneshop dyndns working.png (31.2 KB) domeneshop dyndns working.png cacheip working Idar Lund, 12/15/2020 02:08 AM
Actions

Also available in: Atom PDF