Project

General

Profile

Actions

Bug #6778

closed

CloudFlare Dynamic DNS fails when domain name uses a Second Level TLD

Added by James Thresher over 7 years ago. Updated over 7 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Dynamic DNS
Target version:
Start date:
09/08/2016
Due date:
% Done:

100%

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

Description

When using Dynamic DNS with CloudFlare if the domain name used has a second level TLD such as .co.uk the update will fail.

The cause is the following line within /etc/inc/dyndns.class (About line number 733)

$bottom_host_name = $host_names[count($host_names)-2] . "." . $host_names[count($host_names)-1];

This assumes that the zone name for CloudFlare will always be the highest two components of the host name.

Actions

Also available in: Atom PDF