Project

General

Profile

Actions

Bug #7290

closed

Dynamic DNS Widget, RFC2136 entries show red even when the cached IP address is correct

Added by Jim Pingle over 7 years ago. Updated over 7 years ago.

Status:
Resolved
Priority:
Normal
Category:
Dynamic DNS
Target version:
Start date:
02/21/2017
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.3.3
Affected Architecture:
All

Description

The Dynamic DNS Widget reports that RFC2136 entries are not updated (entry is red) even when the cached IP address is correct. The status is correctly displayed as green on services_rfc2136.php.

Affects 2.3.3 and 2.4

Actions #1

Updated by NOYB NOYB over 7 years ago

On 2.3.3
Vertical bar is being used in the cache files as the delimiter. Dnydns and widget are exploding on colon.

services_rfc2136.php: 166 (works)
$cached_ip_s = explode("|", file_get_contents($filename));

services_dyndns.php: 184 (don't know if this works, not using this service. But doubt that it works.)
$cached_ip_s = explode(":", file_get_contents($filename));

dyn_dns_status_widget.php: 120 (does not work with rfc2136 service, probably not with dyndns services either.)
$cached_ip_s = explode(":", file_get_contents($filename));

Change explode delimiter to vert bar and it works with rfc2136 service, probably will with dyndns services too.)
$cached_ip_s = explode("|", file_get_contents($filename));

Actions #2

Updated by Renato Botelho over 7 years ago

  • Status changed from Confirmed to Resolved
  • Assignee set to Renato Botelho
Actions

Also available in: Atom PDF