Project

General

Profile

Bug #6778

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

Added by James Thresher about 1 year ago. Updated 10 months ago.

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

100%

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.

Associated revisions

Revision 2446fffa
Added by Jim Pingle about 1 year ago

Convert CloudFlare and GratisDNS dynamic DNS over to split hostname and domain name fields, like Namecheap. Otherwise they could both break with subdomains or international TLDs with many parts. Fixes #6778

History

#1 Updated by Jim Thompson about 1 year ago

  • Assignee set to Jim Pingle

#2 Updated by Jim Pingle about 1 year ago

  • Status changed from New to Confirmed
  • Target version set to 2.4.0
  • Affected Version changed from 2.3.2 to All

Both CloudFlare and GratisDNS used the same logic that Namecheap used to use, which has several potential problems. I converted them over to match Namecheap with separate Hostname and Domain name fields, to avoid this and future problems.

#3 Updated by Jim Pingle about 1 year ago

  • Status changed from Confirmed to Feedback
  • % Done changed from 0 to 100

#4 Updated by Jim Pingle 10 months ago

  • Status changed from Feedback to Resolved

No confirmation, but no complaints. Other posts on the forum indicate CloudFlare is working in general on 2.4 now.

Also available in: Atom PDF