Bug #7290
closedDynamic DNS Widget, RFC2136 entries show red even when the cached IP address is correct
0%
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
Updated by NOYB NOYB almost 8 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));
Updated by Renato Botelho over 7 years ago
- Status changed from Confirmed to Resolved
- Assignee set to Renato Botelho