Project

General

Profile

Bug #7290

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

Added by Jim Pingle about 4 years ago. Updated about 4 years ago.

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

0%

Estimated time:
Affected Version:
2.3.3
Affected Architecture:
All
Release Notes:
Default

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

History

#1 Updated by NOYB NOYB about 4 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));

#2 Updated by Renato Botelho about 4 years ago

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

Also available in: Atom PDF